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

Re: Where to put module config with module-init-tools?



Hello

Mike Fedyk (<mfedyk@matchmail.com>) wrote:

> What file should I edit to set options for a module at boot time?
> 
> I looked at /etc/modules.conf, and it is generated by update-modules,
> but that is a "deperciated" command, so what is the new way of doing
> things?

It is deprecated for kernel 2.6. It used to generate /etc/modprobe.conf
from /etc/modprobe.d. However for 2.4, it still
generated /etc/modules.conf from /etc/modutils.

> I created /etc/modutils/options[1], and ran update-modules but the
> options I set don't seem to be used by the module.
>
> [1]  echo 'aic7xxx aic7xxx=verbose,pci_parity:1,global_tag_depth:1' >
> /etc/modutils/options

Add

options aic7xxx aic7xxx=verbose,pci_parity:1,global_tag_depth:1

to some file in /etc/modprobe.d (2.6) or /etc/modutils (2.4). If you use
2.4, run update-modules or update-modules.moditils. Also make sure
that /etc/modprobe.conf does not exist if you use a current version of
module-init-tools.

best regards
        Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: