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

Re: module options ignored at bootup?



On Mon, Oct 16, 2006 at 11:03:56 -0400, H.S. wrote:
> Hello,
> 
> In Debian Etch, kernel 2.6.17, are options given in /etc/modules to
> modules ignored at bootup?
> 
> To load the ath-pci module at boot, this line in /etc/modules:
> ath-pci autocreate=ap
> 
> seems to be ignoring the autocreate option. This problem is gotten
> around by using these lines in the ath0's (the device created by the
> module) stanza in /etc/network/interfaces:
> pre-up rmmod ath-pci
> pre-up modprobe ath-pci autocreate=ap
> 
> So looks like the module has to be removed and reloaded with the option
> *after* the machine has booted to get the options to work.
> 
> Anybody know why this happens? This is a problem, right?

Try to put a file named "my-ath-pci" (or whatever you like) into the
/etc/modprobe.d directory. This file should contain the following line:

options ath-pci autocreate=ap

Modprobe should honor that during boot.

-- 
Regards,
          Florian



Reply to: