[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Module unload timeout
Hello everyone,
I have a small problem using kernel modules. I have an Adaptec 1522
card driving a DAT and a CD-RW, with a driver compiled as a module. My
system is RedHat 4.2 with the original kernel (I'm at work now, but I
think it's 2.0.29). I have 5.0 but haven't installed it yet.
The problem I have with the aha152x module is that it automatically
loads fine when I access /dev/stX or /dev/nstX, but it gets unloaded
too fat. WAY TOO FAST. Sometimes it takes 5 seconds from the last
moment I have used the device until it gets unloaded. This is
annoying, to say the least (when the driver is reloaded, mt status
forgets the current file number on the DAT, and reports -1 instead).
How can I change this timeout value to something more reasonable, like
5 minutes? I have looked at the Modules-HOWTO, SCSI-HOWTO, and
BootPrompt-HOWTO files, but couldn't find any reference to any module
unload timeout parameter.
thanks,
Udi