|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] SCSI module not loading
|
> On Thu, Dec 11, 2003 at 12:45:26PM -0500, eric@lucii.org said:
> > My problem is, every time I reboot, I have to manually tell it to use
> > that module. How do I tell it (via modules.conf?) to load it
> > automatically on boot?
> >
> > Here is the current modules.conf:
> >
> > alias eth0 tulip
> > alias usb-controller ehci-hcd
> > alias usb-controller1 usb-uhci
> > alias sound-slot-0 i810_audio
> > post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1
> > pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
> > alias scsi_hostadapter /lib/modules/2.4.20-20.9/kernel/drivers/scsi/aic7xxx/aic7xxx.o
> > alias usb-controller ehci-hcd
> >
> > Perhaps the "scsi_hostadapter" line causes me the problem?
* Stephen Gran <steve@lobefin.net> [2003-12-11 19:45:15 -0500]:
> Note that none of the other entries include the full path to the module.
> Try just:
>
> alias scsi_hostadapter aic7xxx
>
> and see how that goes.
>
> I prefer the /etc/modules.conf approach, as I think it's cleanest
> (modules aren't loaded until the hardware access is requested, and under
> 2.6, they will be unloaded when no longer needed), but it's sometimes
> difficult to set up just right. If the aboce still doesn't work for
> you, you can use /etc/modules instead - this just contains a list of
> modules to load at boot time. The advantage is that it's simple, the
> only disadvantage is that they're always loaded, whether or not you want
> to use that piece of hardware at the time. Just \
> echo aic7xxx >> /etc/modules
Agreed. I also have a RH system w/ aic7xxx. The line Steve recommends
works for me. I have a CDRW instead of a tape, but it shouldn't matter.
I have /dev/cdrom linked to /dev/scd0, with an appropriate entry in /etc/fstab.
Then whenever I touch the device (e.g. 'mount /mnt/cdrom') the whole module
stack gets loaded; it "just works".
Also btw don't use 'insmod' directly; use modprobe instead.
Regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|