Gentoo baselayout-2 problem with module parameters
        Posted  
        
            by Alakdae
        on Server Fault
        
        See other posts from Server Fault
        
            or by Alakdae
        
        
        
        Published on 2010-05-18T08:24:20Z
        Indexed on 
            2010/05/18
            8:31 UTC
        
        
        Read the original article
        Hit count: 406
        
I recently switched to baselayout-2 on my Gentoo machine but I have one problem.
I autoload a module bttv with paramater: card=77,77
The problem is that at boot the module is loaded without the parameter which makes the video feed useless.
I cannot find the cause because the funny thing is that when I put an echo in /etc/init.d/modules to see what is passed to modprobe, this is what I got:
szymanowicz ~ # /etc/init.d/modules restart
 * WARNING: you are stopping a boot service
 * Caching service dependencies ...                                       [ ok ]
 * Loading module bttv ...
 bttv card=77,77                                                          [ ok ]
 * Autoloaded 1 module(s)
It indicates that everything is OK, but dmesg shows that at boot time there are no parameters.
bttv0: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
...
bttv1: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
Whereas when I run it manually I get:
bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
...
bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
Please help me because reloading the modules every time there is a reboot is very anoying (not many reboots, but I need to remember about the module)
© Server Fault or respective owner