Chris Adams wrote:
Once upon a time, Gerrard Geldenhuis <[EMAIL PROTECTED]> said:
The installer adds these lines to modprobe.conf when installing:

An IBM 336:

alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptspi
alias scsi_hostadapter2 ata_piix

I believe those lines are used by mkinitrd to determine which modules
should be included in the initrd whenever a new kernel is installed.  If
you remove them, the next time you install a kernel update and reboot,
your system won't boot because it won't be able to find your hard
drive(s).


They started in the kernel:
[EMAIL PROTECTED] kernel-2.6.24]$ find * -type f | xargs grep -2 scsi_hostadapter linux-2.6.24.x86_64/drivers/scsi/scsi.c- * support added by Michael Neuffer <[EMAIL PROTECTED]>
linux-2.6.24.x86_64/drivers/scsi/scsi.c- *
linux-2.6.24.x86_64/drivers/scsi/scsi.c: * Added request_module("scsi_hostadapter") for kerneld: linux-2.6.24.x86_64/drivers/scsi/scsi.c: * (Put an "alias scsi_hostadapter your_hostadapter" in /etc/modprobe.conf)
linux-2.6.24.x86_64/drivers/scsi/scsi.c- *  Bjorn Ekwall  <[EMAIL PROTECTED]>
linux-2.6.24.x86_64/drivers/scsi/scsi.c- *  (changed to kmod)
vanilla-2.6.24/drivers/scsi/scsi.c- * support added by Michael Neuffer <[EMAIL PROTECTED]>
vanilla-2.6.24/drivers/scsi/scsi.c- *
vanilla-2.6.24/drivers/scsi/scsi.c: * Added request_module("scsi_hostadapter") for kerneld: vanilla-2.6.24/drivers/scsi/scsi.c: * (Put an "alias scsi_hostadapter your_hostadapter" in /etc/modprobe.conf)
vanilla-2.6.24/drivers/scsi/scsi.c- *  Bjorn Ekwall  <[EMAIL PROTECTED]>
vanilla-2.6.24/drivers/scsi/scsi.c- *  (changed to kmod)
[EMAIL PROTECTED] kernel-2.6.24]$

but as the only references now are in the comments, I guess the kernel doesn't use them any more.

However, mkinitrd does:
[EMAIL PROTECTED] kernel-2.6.24]$ grep scsi_hostadapter /sbin/mkinitrd
scsimodules=`grep "alias[[:space:]]\+scsi_hostadapter" $modulefile | grep -v '^[ ]*#' | LC_ALL=C sort -u | awk '{ print $3 }'`
[EMAIL PROTECTED] kernel-2.6.24]$

 as of F9.


Seems to me you can get the modules loaded any way you like:-)

--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to