On Tue, Jul 1, 2008 at 1:52 PM, Christian Gardner <[EMAIL PROTECTED]> wrote: > >> Just the controller is what we need. For libata, this corresponds to >> CONFIG_ATA_PIIX. Even on 2.6.22, I think you'll want the libata SATA >> support. I've been using ata_piix on two Intel systems with >> linux-2.6.22 for a while and haven't seen any issues. >> >> I think that setting with the ones above for libata should take care >> of it. Bear in mind that those are just the minimal settings for >> compiled in root drivers. If you start using libata, you'll probably >> want the other SCSI device support types like CONFIG_BLK_DEV_SR for >> cdroms. Just like your hard disk, though, there's are equivalent >> drivers for libata and IDE that you can choose. I've personally been >> using libata for everything, but the PATA support in IDE is much more >> mature. >> >> -- >> Dan > > Yay, it worked!! Well, nearly... it got stuck a bit further down the line but > I figured out what was wrong. It managed now to detect the hard disk but > called it hda, where my menu.lst and fstab files referred to sda. So I > changed those and then it got all the way to the bash prompt. > > I presume that's because I enabled the IDE options? So if I just enable the > libata options but not the IDE ones, I guess it will refer to the drive as > sda. Would that be better? Does it impact performance?
I don't really know performance-wise, but you should probably disable the IDE SATA stuff regardless. I think the menu entries even say that it is not recommended. This is CONFIG_BLK_DEV_IDE_SATA. Then I'm pretty sure that you'd get libata handling your disk and have /dev/sd*. Moving forward, I think that the IDE layer is in legacy mode and everything will be going to libata. But the PATA drivers (especially going backwards towards 2.6.22) are much less mature than the IDE PATA drivers. So, you could start preparing yourself for the future and just disable IDE completely. Probably a more sane approach is just to disable the IDE SATA support, then IDE will handle PATA and libata will handle SATA (I think). -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page