Package: module-init-tools
Version: 3.2-pre9-3
Severity: normal

I have in a file in /etc/modprobe.d/

    install snd modprobe --ignore-install snd $CMDLINE_OPTS
    install snd-intel8x0 modprobe --ignore-install snd-intel8x0 $CMDLINE_OPTS

If I run

     modprobe snd-intel8x0

then snd-intel8x0 gets loaded.  If I run

     modprobe snd-intel8x0 id=foo

then I get these messages:

     FATAL: Error inserting snd 
(/lib/modules/2.6.12-9-686/updates/alsa/acore/snd.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
     WARNING: Error running install command for snd

and this in dmesg:

     [17571.011192] snd: Unknown parameter `id'

It seems that modprobe is adding the command line options to 
"modprobe snd" whereas I only want it to add the command line options
to the modprobe command for the module actually specified on the 
command line.

Could it be that modprobe is not clearing CMDLINE_OPTS from the
environment when it calls itself to load subordinate modules?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to