View previous topic :: View next topic |
Author |
Message |
exodist Tux's lil' helper
Joined: 27 Jul 2004 Posts: 100
|
Posted: Tue Dec 19, 2006 8:29 pm Post subject: why is gentoo forcing the modules issue? |
|
|
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 |
|
|
exodist Tux's lil' helper
Joined: 27 Jul 2004 Posts: 100
|
Posted: Tue Dec 19, 2006 8:46 pm Post subject: |
|
|
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 |
|
|
Doogman Apprentice
Joined: 24 Sep 2004 Posts: 244
|
Posted: Tue Dec 19, 2006 9:04 pm Post subject: |
|
|
The wonderful, new udev is now autoloading all the kernel modules. |
|
Back to top |
|
|
exodist Tux's lil' helper
Joined: 27 Jul 2004 Posts: 100
|
Posted: Tue Dec 19, 2006 9:15 pm Post subject: |
|
|
how can I stop it? |
|
Back to top |
|
|
bubbl07 Apprentice
Joined: 06 Feb 2005 Posts: 237 Location: New York City
|
Posted: Tue Dec 19, 2006 9:20 pm Post subject: |
|
|
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 |
|
|
exodist Tux's lil' helper
Joined: 27 Jul 2004 Posts: 100
|
Posted: Tue Dec 19, 2006 9:39 pm Post subject: |
|
|
already tried that |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Dec 19, 2006 10:01 pm Post subject: |
|
|
Set in /etc/conf.d/rc:
Code: | RC_HOTPLUG="no"
RC_COLDPLUG="no" |
|
|
Back to top |
|
|
exodist Tux's lil' helper
Joined: 27 Jul 2004 Posts: 100
|
Posted: Tue Dec 19, 2006 10:59 pm Post subject: |
|
|
thank you. |
|
Back to top |
|
|
|