FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-02-2008, 04:02 PM
Matthew Saltzman
 
Default very common kernel modules slow down the boot process

On Wed, 2008-04-02 at 12:07 +0200, Ralf Ertzinger wrote:
> Hi.
>
> On Wed, 2 Apr 2008 00:20:49 -0400, Dave Jones wrote:
>
> > Someone already proposed we switch the usb hcd drivers to builtins
> > for F10.
>
> Please don't. Unloading the USB drivers is the only way to get my
> notebook into C3.

+1

https://bugzilla.redhat.com/show_bug.cgi?id=254214

>
>
--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 04:07 PM
Matthew Saltzman
 
Default very common kernel modules slow down the boot process

On Wed, 2008-04-02 at 16:52 +0530, Rahul Sundaram wrote:
> Ralf Ertzinger wrote:
> > Hi.
> >
> > On Wed, 2 Apr 2008 00:20:49 -0400, Dave Jones wrote:
> >
> >> Someone already proposed we switch the usb hcd drivers to builtins
> >> for F10.
> >
> > Please don't. Unloading the USB drivers is the only way to get my
> > notebook into C3.
>
> Wouldn't you want bugs to be fixed instead of having to workaround them?

Sure.

https://bugzilla.redhat.com/show_bug.cgi?id=254214

>
> Rahul
>
>
--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 06:07 PM
Ralf Ertzinger
 
Default very common kernel modules slow down the boot process

Hi.

On Wed, 02 Apr 2008 12:07:01 -0400, Matthew Saltzman wrote

> > Wouldn't you want bugs to be fixed instead of having to workaround
> > them?
>
> Sure.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=254214

Sorry, but that's a different bug. My X60 suspends just fine, it just does
not go into C3 (for a significant time) while USB is active.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 06:08 PM
Dave Jones
 
Default very common kernel modules slow down the boot process

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@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 06:13 PM
Adam Jackson
 
Default very common kernel modules slow down the boot process

On Wed, 2008-04-02 at 02:52 -0400, Dave Jones wrote:
> <dropped kernel-maint from cc. That's the default bug assignee,
> which is somewhat strange to cc>
>
> On Wed, Apr 02, 2008 at 02:41:58AM -0400, Chris Snook wrote:
>
> > It also makes it much more difficult to troubleshoot those subsystems or
> > work around their quirks. I wouldn't have a problem with ext3, jbd, or
> > dm_* being built-in, but anything that deals with hardware should really
> > be modular. Of course, that wipes out most of your list.
> >
> > I'd really rather focus on optimizing modprobe than sacrificing the many
> > benefits of modularity for a very small performance boost.
>
> There's another reason why usb hcd's were proposed to be built-ins.
> We may get to use usb-serial for logging boot messages if we do so.
> (and also build-in the relevant usb-serial modules).

It also means, if you build the HID driver in as well, that you get a
working C-A-D handler when you panic before init(8).

- ajax

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 07:10 PM
Bill Nottingham
 
Default very common kernel modules slow down the boot process

Dave Jones (davej@redhat.com) said:
> 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.

So.... why isn't that alias in the driver?

Bill

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 07:12 PM
Bill Nottingham
 
Default very common kernel modules slow down the boot process

Will Woods (wwoods@redhat.com) said:
> IIRC one of the proposed solutions was to have 'modprobed' - a modprobe
> daemon which would read modules.deps at system startup and handle all
> subsequent modprobe requests from udev etc.

Kay started poking at integrating modprobe directly into udev with the
idea of solving some of this... IIRC it didn't help.

Bill

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 07:14 PM
Bill Nottingham
 
Default very common kernel modules slow down the boot process

> correct… seems to be started by NM / dbus according to the bootchart…

This *should* be in the background and not actually be delaying the boot.

Bill

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-02-2008, 07:25 PM
Dave Jones
 
Default very common kernel modules slow down the boot process

On Wed, Apr 02, 2008 at 03:10:34PM -0400, Bill Nottingham wrote:
> Dave Jones (davej@redhat.com) said:
> > 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.
>
> So.... why isn't that alias in the driver?

That would involve someone having to look at floppy.c

Dave

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

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

Thread Tools




All times are GMT. The time now is 07:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org