SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I have a home server running slackware 11.0 , with kernel 2.6 , that shows the following
modules ,
Most of the sound modules are not useful and I do not plan to use on the server.
Do You recomend to remove o mantaint?
Are there any posibility to remove this modules in kernel 2.6 , not to compiling a new one?
Thanks for your help
Manuel
Module Size Used by
ipt_MASQUERADE 2688 1
ipt_LOG 6272 1
xt_state 1920 1
iptable_nat 6020 1
ip_nat 14636 2 ipt_MASQUERADE,iptable_nat
ip_conntrack 40468 4 ipt_MASQUERADE,xt_state,iptable_nat,ip_nat
nfnetlink 5144 2 ip_nat,ip_conntrack
iptable_filter 2304 1
ip_tables 11352 2 iptable_nat,iptable_filter
x_tables 10500 5 ipt_MASQUERADE,ipt_LOG,xt_state,iptable_nat,ip_tables
snd_seq_dummy 2820 0
snd_seq_oss 28928 0
snd_seq_midi_event 5888 1 snd_seq_oss
snd_seq 43984 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6284 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 38048 0
snd_mixer_oss 15616 1 snd_pcm_oss
ipv6 223584 24
sg 26524 0
pcmcia 30116 0
firmware_class 7424 1 pcmcia
yenta_socket 23436 0
rsrc_nonstatic 10752 1 yenta_socket
pcmcia_core 34192 3 pcmcia,yenta_socket,rsrc_nonstatic
capability 3336 0
commoncap 5376 1 capability
lp 9800 0
parport_pc 24132 1
parport 30024 2 lp,parport_pc
pcspkr 2432 0
psmouse 34952 0
shpchp 33816 0
evdev 8064 0
serio_raw 5252 0
eepro100 26384 0
uhci_hcd 19724 0
snd_intel8x0 28316 0
8139too 21376 0
i2c_i810 4612 0
snd_ac97_codec 86304 1 snd_intel8x0
snd_ac97_bus 2048 1 snd_ac97_codec
intel_agp 19612 1
snd_pcm 73736 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
agpgart 28080 1 intel_agp
ehci_hcd 29064 0
mii 4864 2 eepro100,8139too
snd_timer 19332 2 snd_seq,snd_pcm
i2c_algo_bit 8200 1 i2c_i810
snd 43364 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd _timer
soundcore 7136 1 snd
i2c_core 16528 1 i2c_algo_bit
snd_page_alloc 7560 2 snd_intel8x0,snd_pcm
reiserfs 239088 1
You only need to recompile the kernel if it is not compiled as a module.
Otherwhise you can just unload them.
With modprobe -r <modulename>
you can remove modules.
REMARK: this is temporarily.
Google for the place where you specify which modules should be loaded. (in Gentoo /etc/modules.autoload.d/kernel-2.6)
There is no need to compile a custom kernel unless you just want to do that.
If you're using the old hotplug system (if /etc/rc.d/rc.udev is NOT executable), then add the modules that you *do not* want loaded to /etc/hotplug/blacklist (that might be /etc/hotplug.d/blacklist - not sure which).
If you are using udev (if /etc/rc.d/rc.udev *is* executable), then add the modules that you do not want to load to /etc/modprobe.d/blacklist
Thanks , slackware users
Basically I added in the black list all the sound modules that I really dont need and now I reduce quite a lot the number of modules that are not necesary.
best regards
Manuel
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.