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

Re: Potato Module Maddness



On Fri, Feb 04, 2000 at 03:45:35PM +0200, Neilen Marais wrote:
> Good day, good ppl of the list
> 
> Potato seems to have changed the way modules are handled somewhat
> compared to slink.  I thaught I changed what ought be changed, but seem
> to have it messed up somewhat.  When I now press lsmod it seems like
> every module I have compiled has been loaded (most of them saying
> unused), while what I really want is a full kerneld/autoclean setup
> with no manually loaded modules.
> 
> Before I struggle further I'd just like to know exactly what files are
> now of import, and more or less what should be in them?

What's mostly changed is that kerneld doesn't work with kernels >
2.1.<something>.  If all of your modules are being loaded at boot then
they are probably specified in /etc/modules. If not, then you probably
used them at some point and they were loaded, but there's no unloading
mechanism in the newer kernels. If you're using one of these newer
kernels, you'll need to add an entry to /etc/crontab to rmmod:

*/5 * * * * root /sbin/rmmod -as 

You can read about the kernel module loader in
/path/to/kernel/source/Documentation/kmod.txt
-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+


Reply to: