Re: Upon boot, many strange and useless modules are loaded
From: Mark Ferlatte (ferlatte_at_cryptio.net)
Date: 07/30/03
- Previous message: TR: "Problem with ifconfig"
- In reply to: mody_at_quick.cz: "Re: Upon boot, many strange and useless modules are loaded"
- Next in thread: mody_at_quick.cz: "Re: Upon boot, many strange and useless modules are loaded"
- Reply: mody_at_quick.cz: "Re: Upon boot, many strange and useless modules are loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jul 2003 10:46:23 -0700 To: DebianUser list <debian-user@lists.debian.org>
mody@quick.cz said on Wed, Jul 30, 2003 at 12:15:19PM +0200:
> On Tue, Jul 29, 2003 at 08:09:34PM -0400, Greg Folkert wrote:
> > In /etc/modutil/aliases put in:
>
> <...>
>
> > If you don't need any of them... uncomment all of them.
> >
> > Then run "update-modules"
>
> Hmm, didn't help. :-( uncommented all but piix, run update-modules,
> rebooted, but there are still many unused modules still loaded.
If you're using the default Debian kernel, it loads all of the modules from the
initrd, before it even mounts root.
If you want to see what's going on, run:
mount -oloop /initrd.img /mnt
and look in /mnt. It's a cramfs, which is read-only. The loadmodules script
shows you all of the modules that are loaded on boot.
If you want to change this stuff, you need to do this:
mkdir /tmp/initrd
cp -a /mnt/* /tmp/initrd
edit scripts in /tmp/initrd as needed.
mkcramfs /tmp/initrd /boot/initrd.img-2.4.21-3-686-mine
Change the /initrd.img symlink to point to /boot/initrd.img-2.4.21-3-686-mine
Run lilo.
Reboot.
I do this to force the loading of hardware RAID modules on boot, but you can
remove the IDE modules this way also.
M
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: stored
- Previous message: TR: "Problem with ifconfig"
- In reply to: mody_at_quick.cz: "Re: Upon boot, many strange and useless modules are loaded"
- Next in thread: mody_at_quick.cz: "Re: Upon boot, many strange and useless modules are loaded"
- Reply: mody_at_quick.cz: "Re: Upon boot, many strange and useless modules are loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|