Linux kernel 2.6.19 ATA drive support boobytrap

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Sun Feb 18 06:25:15 UTC 2007


  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

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> In linux /sbin/init is Job #1
--
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