[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Loading SCSI CDROM driver by demand
Hi,
I have a SCSI CD-RW unit (RICOH MP6200S) I'm trying to mount as a
CDROM. I'm using the default 2.0.31 kernel installed by RH 5.0 . I
also have an HP DAT on the same SCSI chain, driven by an Adaptech
AHA1522.
If I access the DAT (mt -f /dev/st0 status) before trying to mount the
cd (mount -t iso9660 /dev/scd0 /mnt/cd0) The CD is mounted fine.
(Because the adaptec module is loaded before by the tape).
If the SCSI module (aha152x.o) has not been loaded before, mouning the
CD will fail. Now, I want that mounting the CD will automatically load
the adaptec module, the same way it works for the SCSI DAT!
Notice that the default RedHat kernel is compiled with SCSI CDROM
built in (_not_ as a module), while the SCSI driver is compiled as a
module. The SCSI Tape support, however, _is_ conpiled as a module.
So, it seems that automatically loading the SCSI adapter module works
for my SCSI DAT but not for my SCSI CDROM, because SCSI CDROM support
is compiled into the kernel, while SCSI DAT is a module.
Is there a way to make this work, without recompiling a new kernel? I
am quite sure this will fix the problem, but I really want to
understand WHY this DOESN'T work at the moment!
I read the Kerneld-Mini-HOWTO and all the other related documents I
know, but couldn't get it to work. My /etc/conf.modules just contains
the necessary flags for the aha152x module, the necessary flags for my
soundblaster, and the line defining the adaptec as the default scsi
host adapter.
N.B. thanks for all of you who helped me with my previous modules
problem! (changing the unload timeout).
Udi