Results 1 to 5 of 5
So, a couple days ago I ran lsmod on my Arch system and I noticed a couple modules that I do not need. These included the firewire and ipv6 modules. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-04-2011 #1
[SOLVED] Stop Loading Modules From RamDisk
So, a couple days ago I ran lsmod on my Arch system and I noticed a couple modules that I do not need. These included the firewire and ipv6 modules.
I'd like to disable these from being loaded by the ramdisk, so I edited my /etc/modprobe.d/modprobe.conf with the following:
# disable ipv6 options ipv6 disable=1 # disable firewire options firewire_ohci disable=1 options firewire_core disable=1
mkinitcpio -p kernel26
ipv6 243529 0
- 03-05-2011 #2
- 03-05-2011 #3
Hmm, well that's a great idea, Reed. But for some reason, after putting it in my modules array to blacklist, it still loads!
I wonder if there is a way to find out if anything else is calling it. I'm pretty sure it has 0 dependents, that is, if I'm reading the lsmod results correctly.
Out of curiosity, I ran the modinfo command to see if I can learn more about this module:
# modinfo ipv6 filename: /lib/modules/2.6.37-ARCH/kernel/net/ipv6/ipv6.ko.gz alias: net-pf-10 license: GPL description: IPv6 protocol stack for Linux author: Cast of dozens depends: vermagic: 2.6.37-ARCH SMP preempt mod_unload 686 parm: disable:Disable IPv6 module such that it is non-functional (int) parm: disable_ipv6:Disable IPv6 on all interfaces (int) parm: autoconf:Enable IPv6 address autoconfiguration on all interfaces (int)
I think I'll do that now, I'll be sure to update with any info I find. If you have any ideas, feel free to share
- 03-05-2011 #4
You can get more aggressive if you really don't want it to load. Put this in /etc/modprobe.d/modprobe.conf
install ipv6 /bin/true
- 03-05-2011 #5
Hey, that did the trick!
Thanks a million, I feel much better now
I'm still clueless as to how autoconf is configured to call IPv6, even after blacklisting the module. I took a gander at autoconf documentation and it's a bit daunting. I'll dig into it one of these days..
Until then, /bin/true will keep IPv6 off my system. That is, until a major adoption of IPv6 occurs..
Thanks again man.