On 29/06/06, David L. Anselmi <anselmi@anselmi.us> wrote:
Jim Popovitch: > I've installed Debian Sarge on a few *servers*, and I see that the > default kernel loads many more modules than I need (snd_*, floppy, > vesafb, etc.) Is there a way to prevent Sarge from loading a bunch of > crap automatically? IIRC, assuming 2.4 kernels you just turn off the modules you don't want by aliasing them to off in modules.conf. 2.4 wasn't so bad about loading modules at boot, it waited until you tried to use a device. 2.6 and udev in Etch was harder for me. I wanted to disable some modules from loading and it took me a while (and fruitless googling) to figure out that discover was loading them and how to tell it not to. I mention it here in hopes it's easier to find for the next guy. I hope that answers your question well enough. Dave -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
I am also having these exact same frustrations at the moment. Why does the stupid thing have to load so many modules and why is it not easier and more transparent to just have it load only the modules you want? It should be a case of commenting out the lines in /etc/modules.conf but I already have practically nothing in there and I still get 20+ modules loaded at boot with the stock 2.4 kernel.I find that Debian is great when you stick to what it gives you but as soon as you try to do any real customisation, it becomes much less transparent and much more time consuming. Take the kernel and the initramfs etc if you actually want to have something compiled in instead of in a module so it loads properly at boot time... I think I'm going to abandon debian's kernel altogether and go back to custom kernels etc. One thing I notice though is that you can get a lot of errors at boot about not being able to load various modules. I'm absolutely loath to go to ubuntu but debian is really showing it's age and is seriously lagging behind by today's standards. I just can't bear the thought going over to ubuntu since it's founder pretty much bought his way into the distro tables... I wish debian would pull it's socks up and join the modern world.... Perhaps I've just been spoilt by the leaner and cleaner gentoo... -h