D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] FW: Re: How to disable kernel autoclean? (daemon gone awry)



Following the recent thread on zip drives, I pointed out that whilst the
system may boot okay and the drive becomes available - because the imm
(whatever) module has been loaded - the problem is that if the drive is not
immediately (continuously) used then the module is automatically removed
(cleaned) by the system. This then requires reloading the module when the
drive is wanted. Not a problem but a hassle. The following message appeared
on the redhat list, and seems to solve this problem. I thought it may be
useful to people - me anyway :-)

John.

---------Forwarded Message---------

Date: Fri, 8 Jun 2001 13:00:32 -0500 (CDT)
From: "Mikkel L. Ellertson" <mikkel@xxxxxxxxxxxxxxxx>
Subject: Re: How to disable kernel autoclean? (daemon gone awry)

On Fri, 8 Jun 2001, J. Nestlerode wrote:
> (I posted this a couple weeks ago, and still have not been able to
> solve.)  How do I disable the `autoclean' feature on a particular
> loadable module?  Unless I keep a Zip disk mounted at all times, the
> aha152x SCSI module times out and is unloaded, and then refuses to be
> reloaded (insmod claims it already exists).  The only way I've been able
> to regain use of my Zip drive is to reboot.  Very tedious.
>
> Isn't there some entry I can put in /etc/modules.conf that will prevent
> this?  Or perhaps recompiling the kernel would give me an option to turn
> autoclean off?  (Also, why is *this* module loaded w/ autoclean, but the
> sound module, for example, is not?)
>
> Thanks very much for any advice,
>
> Joe
>
Try something like "options -k aha152x" in /etc/modules.conf.  If you
already have an options line for aha152x, then just add the -k to that
line.  This is taken from "man modules.conf".

Mikkel

--------------End of forwarded message-------------------------

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@xxxxxxxxxxxxxx
PGP key available from public key servers
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly