[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Module installation query



I have "solved" this problem, and since it drew some interest I'll summarize 
what I finally did, at the same time pointing out a small "gotcha" which made 
things a bit unpleasant. What follows is for a SuSE 7.1 distro, and will 
probably be a bit different for others.

1. SuSE uses a script in /etc called boot for once-off stuff like module 
installation. At a certain point it does a depmod -a which effectively clobbers 
what was there from the last session. That is why my my previous modprobe 
settings "dissappeared". (Gotcha!) A depmod update (depmod -A) would have been 
nicer. Does anyone know why update is not used? What does Mandrake, RH do?

2. Somewhere before the depmod, i added insmod -q ide-scsi and insmod -q osst - 
and lo and behold, everything worked fine! (You can see an ide-scsi subdirectory 
under /proc/scsi, and the scsi file contains an entry for the osst device Of 
course, mt /dev/osst status worked as expected.)

3. I still have the append hdc=ide-scsi in lilo.conf. It presumably tells 
ide-scsi which ide device to map.

This all strikes me as nasty kludge; there has to be a way to do it through 
modules.conf.

Dan Feiglin


Daniel Feiglin wrote:

> I have an OnStream ADR DI30 IDE tape drive that requires SCSI emulation. 
> I managed to compile a 2.4.9 kernel with IDE tape support disabled and 
> IDE SCSI emulation enabled. The thing also needs an OnStream module, 
> osst. So far so good. At the end of the process, I modprobe'd ide-scsi 
> andand osst, and the thing worked.
> 
> How do you get these modules to load at boot time? (One answer I 
> received privately, was to add kernel command, hdc=scsi, but that is 
> nonesense. There is no such thing.) It seems to me  that some 
> modules.conf magic is required, but the relevant man page is - uh - 
> opaque, to put it politely.)
> 
> Further RTFM would do fine.
> 
> Dan Feiglin
> 
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
> 
> 



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il