Re: very common kernel modules slow down the boot process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 02, 2008 at 09:08:22AM +0200, Hans de Goede wrote:
 > Dave Jones wrote:
 > > On Tue, Apr 01, 2008 at 04:55:54PM -0700, Andrew Farris wrote:
 > >  > Harald Hoyer wrote:
 > >  > > Compiling these modules, which are loaded on nearly every PC, in the 
 > >  > > kernel cuts down my boot time from 42s to 32s on my computer:
 > >  > 
 > >  > > floppy
 > >  > 
 > >  > I was going to suggest you might want to leave that one out, since I wouldn't 
 > >  > think its that common anymore... then I checked, and this is loaded on my 
 > >  > machine which has no floppy.
 > > 
 > > The code to detect if we have a floppy controller lives... in the floppy module.
 > > It's not something that's trivially detectable like pci/usb devices.
 > > 
 > 
 > Isn't this (determing wether or not to load floppy.ko) done (on PC's) by 
 > checking if the BIOS has a floppy configured?

Hmm, possibly.   It looks like if the pnp code finds PNP0700 in the BIOS
that a uevent occurs.   I found /etc/modprobe.d/floppy-pnp which contains
alias pnp:dPNP0700 floppy

So yes it looks like disabling that in the BIOS (as long the BIOS stops reporting
the PNP object) will make it stop being loaded.

	Dave
 
-- 
http://www.codemonkey.org.uk

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux