Skip to contentSkip to conversation

Booting very slow

Bug #13178 Martin Knoblauch 2 participants 2 messages Apr 27, 2009 – Apr 28, 2009

lore
Share & tools
lore
#0 lore raw

----- Original Message ----

Quoted 44 lines

From: Martin Knoblauch <[email protected]>
To: Rafael J. Wysocki <[email protected]>; Linux Kernel Mailing List <[email protected]>
Cc: Kernel Testers List <[email protected]>
Sent: Monday, April 27, 2009 9:18:53 AM
Subject: Re: [Bug #13178] Booting very slow

----- Original Message ----

Quoted 15 lines

From: Rafael J. Wysocki
To: Linux Kernel Mailing List
Cc: Kernel Testers List ; Martin Knoblauch

Sent: Sunday, April 26, 2009 11:46:31 AM
Subject: [Bug #13178] Booting very slow

This message has been generated automatically as a part of a report of regressions introduced between 2.6.28 and 2.6.29.

The following bug entry is on the current list of known regressions introduced between 2.6.28 and 2.6.29. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13178
Subject : Booting very slow
Submitter : Martin Knoblauch
Date : 2009-04-24 12:45 (3 days old)
References : http://marc.info/?l=linux-kernel&m=124057716231773&w=4

Not really sure whether this is a real regression. Between 2.6.28 and 2.6.29 the content of /proc/mounts for sysfs changed from

/sys /sys sysfs rw 0 0

to

none /sys sysfs rw 0 0

This breaks RHEL-4.3 userland which parses /proc/mounts in the firmware hotplug agent to find the mount-point for sysfs. As a result firmware loading started to fail in 2.6.29. There is a simple fix in the /etc/hotplug/firmware.agent script (just assume /sys as it is done elsewhere).

Quoted 4 lines

Your call.

Cheers
Martin

Actually I have to correct myself. The reason for the failure to parse /proc/mounts for "sysfs" is that there are two lines:

[hotplug]# uname -a
Linux lpsdm52 2.6.30-rc3-git2-nfs_ra #3 SMP Mon Apr 27 10:21:31 CEST 2009 x86_64 x86_64 x86_64 GNU/Linux [hotplug]# grep sysfs /proc/mounts
none /sys sysfs rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0

This breaks the "firmware.agent" /sys-parsing code. There still exists the simple fix to userspace, but I now think that this is a real regression that should be fixed.

Cheers
Martin

#1 lore raw
Quoted 54 lines · Martin Knoblauch

----- Original Message ----

Quoted 44 lines

From: Martin Knoblauch <[email protected]>
To: Rafael J. Wysocki <[email protected]>; Linux Kernel Mailing List <[email protected]>
Cc: Kernel Testers List <[email protected]>
Sent: Monday, April 27, 2009 9:18:53 AM
Subject: Re: [Bug #13178] Booting very slow

----- Original Message ----

Quoted 15 lines

From: Rafael J. Wysocki
To: Linux Kernel Mailing List
Cc: Kernel Testers List ; Martin Knoblauch

Sent: Sunday, April 26, 2009 11:46:31 AM
Subject: [Bug #13178] Booting very slow

This message has been generated automatically as a part of a report of regressions introduced between 2.6.28 and 2.6.29.

The following bug entry is on the current list of known regressions introduced between 2.6.28 and 2.6.29. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13178
Subject : Booting very slow
Submitter : Martin Knoblauch
Date : 2009-04-24 12:45 (3 days old)
References : http://marc.info/?l=linux-kernel&m=124057716231773&w=4

Not really sure whether this is a real regression. Between 2.6.28 and 2.6.29 the content of /proc/mounts for sysfs changed from

/sys /sys sysfs rw 0 0

to

none /sys sysfs rw 0 0

This breaks RHEL-4.3 userland which parses /proc/mounts in the firmware hotplug agent to find the mount-point for sysfs. As a result firmware loading started to fail in 2.6.29. There is a simple fix in the /etc/hotplug/firmware.agent script (just assume /sys as it is done elsewhere).

Quoted 4 lines

Your call.

Cheers
Martin

Actually I have to correct myself. The reason for the failure to parse /proc/mounts for "sysfs" is that there are two lines:

Quoted 7 lines

[hotplug]# uname -a
Linux lpsdm52 2.6.30-rc3-git2-nfs_ra #3 SMP Mon Apr 27 10:21:31 CEST 2009 x86_64 x86_64 x86_64 GNU/Linux [hotplug]# grep sysfs /proc/mounts
none /sys sysfs rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0

This breaks the "firmware.agent" /sys-parsing code. There still exists the simple fix to userspace, but I now think that this is a real regression that should be fixed.

Thanks for the update.

Rafael