Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why is gentoo forcing the modules issue?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
exodist
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 100

PostPosted: Tue Dec 19, 2006 8:29 pm    Post subject: why is gentoo forcing the modules issue? Reply with quote

After gentoo starts up I have tons of my modules loaded. I do not want it to load modules on it's own, I want it to wait for me to tell themt o load. I checked /etc/modules.autoload.d/kernel-2.6 the only one in there is one I put there.

I tried rc-update del modules boot to remove that script, I reboot and it is is back in the boot runlevel!

I tried renaming it, then I had to go back and rename it again to boot properly

why is gentoo sudenly taking away my control over my modules, and how do I stop it? how do you disable this module functionality so only modules you ask for load?

..doing this automatically w/o asking kinda seems to be counter-gentoo to me.
Back to top
View user's profile Send private message
exodist
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 100

PostPosted: Tue Dec 19, 2006 8:46 pm    Post subject: Reply with quote

additional information:

this is an x86 system goign to be used for a myth-tv box, I have sound cards, tv drivers, and a few other things that need to load in a specific order.

here is my rc-update -s -v
Code:

Alexandria linux # rc-update -s -v
            bootmisc | boot                         
             checkfs | boot                         
           checkroot | boot                         
               clock | boot                         
         consolefont | boot                         
         crypto-loop |                               
               cupsd |                               
              esound |                               
              hdparm |      default                 
            hostname | boot                         
             keymaps | boot                         
               local |      default nonetwork       
          localmount | boot                         
               mdadm |                               
             modules | boot                         
               mysql |      default                 
        mysqlmanager |                               
            net.eth0 |      default                 
              net.lo | boot                         
            netmount |      default                 
                 nfs |                               
            nfsmount |      default                 
                nscd |                               
          ntp-client |      default                 
                ntpd |                               
             numlock |      default                 
             portmap |                               
           rmnologin | boot                         
              rsyncd |                               
               samba |                               
               slapd |                               
              slurpd |                               
                sshd |      default                 
           syslog-ng |      default                 
             urandom | boot                         
          vixie-cron |      default                 
                 xdm |                               


I have done almost nothing to the system, I do not know why the modules are ALL auto-loading.
Back to top
View user's profile Send private message
Doogman
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 244

PostPosted: Tue Dec 19, 2006 9:04 pm    Post subject: Reply with quote

The wonderful, new udev is now autoloading all the kernel modules.
Back to top
View user's profile Send private message
exodist
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 100

PostPosted: Tue Dec 19, 2006 9:15 pm    Post subject: Reply with quote

how can I stop it?
Back to top
View user's profile Send private message
bubbl07
Apprentice
Apprentice


Joined: 06 Feb 2005
Posts: 237
Location: New York City

PostPosted: Tue Dec 19, 2006 9:20 pm    Post subject: Reply with quote

There is an option in the kernel configuration that assumes you want all your modules loaded at boot. It's a good place to start:
Code:
Loadable module support  --->
     [*] Enable loadable module support
     [*]  Automatic kernel module loading

Try disabling that option and recompiling. Then, only the modules listed in /etc/modules.autoload.d/kernel-2.6 will be loaded at boot.

(Taken from linux-2.6.19-ck2 -- YMMV)
Back to top
View user's profile Send private message
exodist
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 100

PostPosted: Tue Dec 19, 2006 9:39 pm    Post subject: Reply with quote

already tried that
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Dec 19, 2006 10:01 pm    Post subject: Reply with quote

Set in /etc/conf.d/rc:
Code:
RC_HOTPLUG="no"
RC_COLDPLUG="no"
Back to top
View user's profile Send private message
exodist
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 100

PostPosted: Tue Dec 19, 2006 10:59 pm    Post subject: Reply with quote

thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum