Linux kernel 2.6.19 ATA drive support boobytrap

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Sun Feb 18 14:49:43 UTC 2007


On Sun, Feb 18, 2007 at 01:25:15AM -0500, 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...

This is hardly anything unusual.  Things are moved sometimes.  make
oldconfig has never been a "Take my working config, run make oldconfig,
hit enter on whatever it asks, and build".  It is a method for answering
config questions on the new kernel using answers from an older kernel,
but the user must answer the new questions that don't have existing
answers _correctly_.  If you simply hit enter on the CONFIG_ATA
question, and hence don't get asked the CONFIG_SATA* questions (which
the oldconfig would have covered), well that is simply a user error.
Configuring and building kernels does involve paying attension and
reading the questions being asked.

> #
> # 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

--
Len Sorensen
--
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