Linux kernel 2.6.19 ATA drive support boobytrap

Christopher Friedt cfriedt-u6hQ6WWl8Q3d1t4wvoaeXtBPR1lH4CV8 at public.gmane.org
Sat Mar 10 10:45:01 UTC 2007


Hi Walter,

I was one of those that ran into the problem that my system wouldn't 
boot after switching to the 2.6.19-gentoo-r5 kernel.

Did your root device change to /dev/sd<something> instead of 
/dev/hd<something>

Currently, I'm not sure what I should make changes in to switch to the 
newer kernel, but I've selected CONFIG_ATA and CONFIG_ATA_PIIX (this one 
also supports SATA)

Do you use grub? if so, what does the root= instruction in your 
grub.conf look like?

Also, what is your kernel cmdline root=? and /etc/fstab ?

Currently, i'm using the ATA_PIIX driver, which also supports SATA <= 
2.6.18, but it normally registers the device at /dev/hdc even if it's an 
SATA drive, which has been a source of some confusion in the past.

regards,

~/Chris


Walter Dnes wrote:
>   This is of interest to those who build kernels.  There's a discussion
> about this on the Gentoo mailing list.  If you're moving from 2.6.18 to
> 2.6.19, and your system won't boot, and you get kernel panics about not
> being able to access the hard drive, this message is for you.
> 
>   ATA drive support in .config has been moved out of the SCSI section
> and into a section all its own.  "make oldconfig" does *NOT* handle this
> properly, as I found out "the hard way"<g>.  The relevant section in
> .config is...
> 
> #
> # Serial ATA (prod) and Parallel ATA (experimental) drivers
> #
> CONFIG_ATA=y
> # CONFIG_SATA_AHCI is not set
> # CONFIG_SATA_SVW is not set
> # CONFIG_ATA_PIIX is not set
> # CONFIG_SATA_MV is not set
> CONFIG_SATA_NV=y
> # CONFIG_PDC_ADMA is not set
> 
>   Set CONFIG_ATA=y, and enable your drive controller (I'm on an Nvidia
> motherboard, yours will probably be different).  With that change made,
> I am now able to boot up properly from...
> 
> [m3000][waltdnes][~] uname -r
> 2.6.19-gentoo-r5
> 
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list