LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 04-25-2007, 09:50 AM   #1
accp-james
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Rep: Reputation: 0
*RESOLVED* Kernel options for ICH7 SATA controller?


*** RESOLVED***

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!

Last edited by accp-james; 04-25-2007 at 10:49 PM.
 
Old 04-25-2007, 11:12 AM   #2
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Southern Brazil
Distribution: Debian, CentOS
Posts: 296

Rep: Reputation: 31
Please, post the whole ".config" file.
 
Old 04-25-2007, 10:48 PM   #3
accp-james
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
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:

Device Drivers->SCSI
SCSI Device Support
SCSI Disk Support
SCSI Generic Support

Device Drivers->ATA
Serial ATA Support
AHCI Support
Intel PIIX Support

Last edited by accp-james; 04-25-2007 at 10:50 PM.
 
Old 04-25-2007, 11:24 PM   #4
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Southern Brazil
Distribution: Debian, CentOS
Posts: 296

Rep: Reputation: 31
Quote:
Originally Posted by accp-james
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:

Device Drivers->SCSI
SCSI Device Support
SCSI Disk Support
SCSI Generic Support

Device Drivers->ATA
Serial ATA Support
AHCI 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? :-)

Last edited by sparc86; 06-11-2007 at 01:21 AM.
 
Old 04-27-2007, 08:57 AM   #5
accp-james
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dmraid and ICH7 / LSI embedded RAID controller on an Asus RS120-E3 (PA4) jpluis Linux - Hardware 19 05-19-2008 03:55 AM
RHEL 3, ICH7 SATA, insmod problem wahming Linux - Hardware 1 01-17-2007 10:32 AM
Help With Intel 82801GBM/GHM (ICH7) SATA Storage Controller Drivers wolvorine4424 Linux - Hardware 3 10-15-2006 01:18 PM
[RH AS 4.0] Sata & Ich7 cthu Red Hat 5 07-26-2006 08:50 AM
SiliconImage Sata controller works in 2.4 but not 2.6 kernel humbletech99 Linux - Hardware 0 05-04-2006 11:05 AM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration