*RESOLVED* Kernel options for ICH7 SATA controller?
I completed a build for LFS SVN04202007, everything seems to work except that I can't get a working kernel to boot on my system because despite my best efforts I can't seem to get my SATA hard drive detected.
I know the rest of the build process worked because I can simply cp the kernel image and initrd file from my host distro (Fedora Core 6) to the boot folder of my LFS partition and boot it... but my understanding is that everything you can do with a kernel+initrd should be able to be done by building necessary kernel components static instead of as modules?
I have set various SCSI options in the config to Y, set AHCI, ATA and the ata_piix driver as Y, not M... I know the drive is working correctly, as stated, because I can boot using the host distro kernel. Does the initrd do something that I'm not aware of or is there a kernel option that I need that I'm not enabling or... ?
I'd be happy to post snippets of my .config, but I'm not sure which ones are relevant and I would think posting the whole thing would be considered 'rude'. Let me know what you need to know to help me and I"ll provide it :) Thanks!
Please, post the whole ".config" file. :D
Got it figured out via trial and error. Apparently I had SCSI generic support enabled as a module, changing that from M to Y took care of it.
Via 'make menuconfig', the following needed to be enabled:
SCSI Device Support
SCSI Disk Support
SCSI Generic Support
Serial ATA Support
Intel PIIX Support
Yes, remember, ALWAYS compile the boot disk as built-in, otherwise it can never boot Linux. If you had, for example, an IDE as boot disk, then would be ok if the SCSI one was as module. Got it? :-)
Yup, knew that. Just didn't realize SCSI Generic was necessary for disk support, always heard of it in reference to using IDE CD-ROM drives with the SCSI interface.
|All times are GMT -5. The time now is 01:47 PM.|