Help!

kernel compiling

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Digital Alpha RSS
Next:  Another awesome language for Linux  
Author Message
Jim Woodruff
External


Since: Feb 28, 2005
Posts: 28



PostPosted: Fri Apr 27, 2007 1:27 pm    Post subject: kernel compiling
Archived from groups: comp>os>linux>alpha (more info?)

I'm having problems with kernels 2.6.19.3 and later on my SX164. They
compile
okay but when booting the kernel fails to recognize the 2nd IDE drive.
The SRM
has no problem. I boot off the 2nd drive. I receive the following during
the boot
process (from kern.log):

Apr 26 10:20:54 freyr kernel: PDC20269: IDE controller at PCI slot
0000:00:06.0
Apr 26 10:20:54 freyr kernel: PDC20269: chipset revision 2
Apr 26 10:20:54 freyr kernel: PDC20269: ROM enabled at 0x0a844000
Apr 26 10:20:54 freyr kernel: PDC20269: PLL input clock is 16536 kHz
Apr 26 10:20:54 freyr kernel: PDC20269: 100%% native mode on irq 27
Apr 26 10:20:54 freyr kernel: ide2: BM-DMA at 0x8080-0x8087, BIOS
settings: hde:pio, hdf:pio
Apr 26 10:20:54 freyr kernel: ide3: BM-DMA at 0x8088-0x808f, BIOS
settings: hdg:pio, hdh:pio
Apr 26 10:20:54 freyr kernel: Probing IDE interface ide2...
Apr 26 10:20:54 freyr kernel: Probing IDE interface ide3...
Apr 26 10:20:54 freyr kernel: CY82C693: IDE controller at PCI slot
0000:00:08.1
Apr 26 10:20:54 freyr kernel: CY82C693: chipset revision 0
Apr 26 10:20:54 freyr kernel: CY82C693: not 100%% native mode: will
probe irqs later
Apr 26 10:20:54 freyr kernel: CY82C693U driver v0.34 99-13-12 Andreas S.
Krebs (akrebs@altavista.net)
Apr 26 10:20:54 freyr kernel: ide0: BM-DMA at 0x8090-0x8097, BIOS
settings: hda:pio, hdb:pio
Apr 26 10:20:54 freyr kernel: PCI: Enabling device: (0000:00:08.2), cmd 7
*Apr 26 10:20:54 freyr kernel: CY82C693: port 0x01f0 already claimed by
ide0*
Apr 26 10:20:54 freyr kernel: CY82C693: neither IDE port enabled (BIOS)

The kernel doesn't see my drive at ide1.

Any suggestions?

Jim Woodruff
Back to top
juhana paavola
External


Since: Feb 08, 2006
Posts: 3



PostPosted: Tue May 01, 2007 8:14 am    Post subject: Re: kernel compiling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-04-27, Jim Woodruff <james.woodruff RemoveThis @comcast.net> wrote:
>
> The kernel doesn't see my drive at ide1.
>
> Any suggestions?
>

Are drivers compiled as modules ?
If yes, try to include straight to kernel, I had slightly problems with PDC
and CMD drivers. Didn't worked so well when compiled as modules.

-juhana
Back to top
Jim Woodruff
External


Since: Feb 28, 2005
Posts: 28



PostPosted: Tue May 01, 2007 9:40 am    Post subject: Re: kernel compiling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

juhana paavola formed by artistic effort the following on 05/01/07 01:14:
> On 2007-04-27, Jim Woodruff <james.woodruff.DeleteThis@comcast.net> wrote:
>
>> The kernel doesn't see my drive at ide1.
>>
>> Any suggestions?
>>
>>
>
> Are drivers compiled as modules ?
> If yes, try to include straight to kernel, I had slightly problems with PDC
> and CMD drivers. Didn't worked so well when compiled as modules.
>
No, they are included straight into the kernel (see part of .config below)

CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_NET_PCI is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIAL_8250_PCI=y
# CONFIG_RADIO_GEMTEK_PCI is not set
# PCI devices
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_YMFPCI is not set

CONFIG_IDE=y
CONFIG_IDE_MAX_HWIFS=4
CONFIG_BLK_DEV_IDE=y
# Please see Documentation/ide.txt for help/info on IDE drives
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# IDE chipset support/bugfixes
# CONFIG_IDE_GENERIC is not set
CONFIG_BLK_DEV_IDEPNP=y
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set

This worked for kernel 2.6.19.2.

Jim
Back to top
Jim Woodruff
External


Since: Feb 28, 2005
Posts: 28



PostPosted: Tue May 01, 2007 9:44 am    Post subject: Re: kernel compiling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jim Woodruff formed by artistic effort the following on 05/01/07 09:40:
> juhana paavola formed by artistic effort the following on 05/01/07 01:14:
>> On 2007-04-27, Jim Woodruff <james.woodruff.DeleteThis@comcast.net> wrote:
>>
>>> The kernel doesn't see my drive at ide1.
>>>
>>> Any suggestions?
>>>
>>>
>>
>> Are drivers compiled as modules ?
>> If yes, try to include straight to kernel, I had slightly problems
>> with PDC
>> and CMD drivers. Didn't worked so well when compiled as modules.
>>
>
Also add:

CONFIG_BLK_DEV_CY82C693=y

Jim
Back to top
DEMAINE Benoit-Pierre
External


Since: Jan 16, 2005
Posts: 24



PostPosted: Mon May 07, 2007 1:41 am    Post subject: Re: kernel compiling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

CMD and PDC are known to have bugs. In menu config, you will find
specific information about those; expecially, there are "modules to fix
or block" those bugs: one does fix, other does desactivate chip.

I remember that a misconf on some x86 leaded me to the same problem
(using CMD integrated to mother board of a 486).

Check full log; sometimes, it may tell "desactivating THIS chip" or so.

--
>o_/ DEMAINE Benoit-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would not have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Digital Alpha All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum