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

Re: Module unload timeout



RTFM kerneld. I have 2.0.27 and look what gives:

KERNELD(1)		 Linux Extensions	       KERNELD(1)

NAME
       kerneld - perform kernel action in user space (such as on-
       demand loading of modules)

SYNOPSIS
       kerneld  [  debug  ]	[  keep	 ]  [  delay=<seconds>	]  [
       type=<message number> ]

                                               ^^^^^^^^^^^^^^ here.

There is an equivalent compiled into the kernel. If kerneld is running
then its settings take precedence over the options compiled into the
kernel.

On Sun, 25 Jan 1998, Udi Finkelstein wrote:

> [sorry if you have seen this before. It seems my previous post went
> nowhere]
> 
> 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
> 
> 
> 
>