how do I determine the order modules get loaded?
In relation to this thread. It looks very much like the sata drivers are claiming the ide controller (since sata and ide seem to live in the same place and root lives on the first sata hard-drive). This means the ide dvd drives do not show up at all.
I figure this will be resolved by either: recompile the kernel so the ide driver is not a module (so it will take precedence); or - make sure the ide module loads first. But I don't know how to do the latter. |
The latter you can resolve editing your initrd, forcing an insmod before any other discoveries are done..
You also could try (I don't know the exact syntax, though) to add hdc=ide-scsi or something to the kernel parameters.. My two cents, you could also try to search for such strings.. Hope this helps in any way |
initrd - boot loader initialized RAM disk
This what you mean? This is compressed and read-only and 2.6 kernels these days use initramfs. The insmod ide-driver would have to come at the start of phase 2 of the boot process. But how would I get it in there... it's not like inserting a custom DSDT. hdc=ide-scsi this parameter hasn't been needed since atapi support entered the kernel. It may be worth a try though - however I note that /dev/hdc dosn't exist at the mo. dmesg fails to report and device on hdc. I've been looking through kernel parameters hoping there was one to force ide first. The closest I got was noapic. It also occurred to me that the hardware could be rearrainged so that hda was a hard drive holding the root file system. The sata raid drives would hold the bulk of the file systems which we would like to protect (the only real reason for prefferring HDDs in HWRaid) and letting the dvd drives sit in the second ide controller ... so hda = small HDD, hdc = dvd, hdd = dvd, sda/sdb sata RAID. This would also force the ide driver ahead of the sata one - but would require reinstalling the OS. I think it's a configuration I'll have to remember if I ever run into one of these boards again. It is beginning to sound like compiling the kernel is the easy option... |
In my opinion initrd is still being used in most distros.. certainly in Redhat families..
They can be unpacked with cpio and recreated afterwards.. |
Use "pre-install" in modules.conf ? Something like ->
pre-install ide-driver /sbin/modprobe -k sata-driver The above should load ide driver before sata driver. Ofcourse, ide-driver and sata-driver are placeholders for the sake of example. Quote:
|
rhoekstra: In my opinion initrd is still being used in most distros.. certainly in Redhat families..
While fedora still uses initrd - in that it has the files - it makes quite a bit of use of initramfs feature of the 2.6 kernels. If you want a custom DSDT, or have a weird boot configuration... this is the thing to use. http://www.linuxdevices.com/articles/AT4017834659.html kevkim55: Use "pre-install" in modules.conf ? Something like -> pre-install ide-driver /sbin/modprobe -k sata-driver ... ahhh: that's the sort of thing. Thanks. |
@Simon_Bridge Thank you for the link :).
|
All times are GMT -5. The time now is 11:33 AM. |