[1206] in linux-scsi channel archive
Problem with SCSI modules autoloading
daemon@ATHENA.MIT.EDU (. Tethys " SYSTEM ADMIN " X)
Thu Jan 2 09:00:23 1997
To: linux-scsi@vger.rutgers.edu
Date: Thu, 02 Jan 1997 13:54:49 +0000
From: ". Tethys " SYSTEM ADMIN " X" <tethys@lonnds.ml.com>
I've got an HP 4020i CD-writer on loan for a while, and am trying
to get it up and running with Linux. It comes with its own controller
card (an AdvanSys), and it appears to work fine.
My problem is that I have some SCSI support compiled as a module.
I'd like this to be autoloaded by kerneld as are all my other modules
(e.g. filesystems, ppp, etc.). If I try to mount the CD with:
mount -t iso9660 /dev/scd0 /mnt/cdrom
it complains, saying that /dev/scd0 isn't a block device (which I
assume it isn't at that point -- the module hasn't been loaded, so I'd
guess the kernel doesn't know about a device with those major/minor
numbers, even though the file actually exists in /dev and is a block
special file). If I then load the advansys module (and thus its
dependencies) by hand:
insmod /lib/modules/2.0.27/scsi/advansys.o
I can mount the CD and all is well. Does anyone know how I can get the
appropriate module automatically loaded when I try and mount the CD?
FWIW, it's kernel 2.0.27.
Thanks,
Tet
PS. Yes, my module dependencies are fine.
--
--==<< ``Reality is for those who can't handle science fiction'' >>==--
--------------------+--------------+----------------------------------------
tethys@ml.com | Micro$oft: | Linux, the choice of a GNU generation.
tet@astradyne.co.uk | Just say no! | See http://www.uk.linux.org for details