SCSI module loading for beige G3

Dean Takemori yellowdog-general@lists.terrasoftsolutions.com
Tue Jul 8 02:30:01 2003


>What is in your "/etc/modules.conf" file.  Mine (in a G4) has :
>        alias scsi_hostadapter aic7xxx
>        alias sound-slot-0 dmasound_pmac
>
>The path is not specified and is automatically generated from:
>         /lib/modules/<kernal version>.
>
>Also check in "/etc/fstab", the line for "/" should end in " 1 1",
>and the line for "/home" should end in " 1 2". This delays the fsck 
>on "/home".

I found out the problem.  Actually two problems.  One, the modules.dep
file was empty for some reason.  I got sound back after fixing that.

As for the SCSI drive, it's just a matter of adding a "modprobe aic7xxx"
line into the /etc/rc.sysinit file before the script tries to mount 
/home.

But, right now, I just blindly load the module without trying to detect
if it's needed or not.  Since it's going to be a net-boot server, this
isn't quite what I want.  What's the cannonical way to check if it's
needed?  It appears that the BOOT kernel has the aic7xxx driver in it
already.  How does YellowDog 3.0 know to load the SCSI driver when
it is installed on a purely SCSI setup?


-dean takemori