Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753367AbZD2Jpi (ORCPT ); Wed, 29 Apr 2009 05:45:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751929AbZD2Jp2 (ORCPT ); Wed, 29 Apr 2009 05:45:28 -0400 Received: from web32603.mail.mud.yahoo.com ([68.142.207.230]:43793 "HELO web32603.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751633AbZD2Jp2 (ORCPT ); Wed, 29 Apr 2009 05:45:28 -0400 Message-ID: <878835.60592.qm@web32603.mail.mud.yahoo.com> X-YMail-OSG: Zfmb8.EVM1kcGwhDAYh1vvtYAU_wMOeOgM9JEj58uM8QCZH3llEXgACSmwynggIUdYBsFqyk8Hf7yp6Wgt6f_rix1VX3I5wySR1_2fW7NG55Ge6yvS0MS54KeGB_dcE7fSLdjxYW6N4o4KSr.773IZKIaHWfPkuHzf9vO898sc7pmEoueXOuEUU2MfvaeWiGwirjz7IpyReEX1JQiNFguFmHPUThqHqHYJ.08_0oL_jOEBnpSQ5gHsA8M.97Mq0BgxLI.84nRhzT_.Fnvm_wVhuzKMvunlNh3rIPC4ypBU2Mc6D1DF.26RiFobXuWgb8aOS7qpiFECboD3j0PKFq0D.1 X-RocketYMMF: knobi.rm X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.1 References: <409142.83316.qm@web32605.mail.mud.yahoo.com> <20090428182837.62c51f26.akpm@linux-foundation.org> <1240977096.5478.3.camel@marge.simson.net> <20090429011755.c141c599.akpm@linux-foundation.org> Date: Wed, 29 Apr 2009 02:45:27 -0700 (PDT) From: Martin Knoblauch Subject: Re: Analyzed/Solved: Booting 2.6.30-rc2-git7 very slow To: Andrew Morton , Mike Galbraith Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, tigran aivazian , Al Viro In-Reply-To: <20090429011755.c141c599.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3144 Lines: 91 ----- Original Message ---- > From: Andrew Morton > To: Mike Galbraith > Cc: Martin Knoblauch ; Rafael J. Wysocki ; linux-kernel@vger.kernel.org; tigran aivazian ; Al Viro > Sent: Wednesday, April 29, 2009 10:17:55 AM > Subject: Re: Analyzed/Solved: Booting 2.6.30-rc2-git7 very slow > > On Wed, 29 Apr 2009 05:51:36 +0200 Mike Galbraith wrote: > > > On Tue, 2009-04-28 at 18:28 -0700, Andrew Morton wrote: > > > On Fri, 24 Apr 2009 05:45:19 -0700 (PDT) Martin Knoblauch > wrote: > > > > > > > > > > > > > > > OK, I just found the reason for both intel-ucode and tg3 failures. > Apparently between 2.6.28 and 2.6.29 the mount of sysfs has subtely changed > from: > > > > > > > > /sys /sys sysfs rw 0 0 > > > > > > > > to: > > > > > > > > none /sys sysfs rw,relatime 0 0 > > > > > > I assume that you're referring to the contents of /proc/mounts? > > > > > > > The "none" breaks the RHEL-4 provided hotplug script "firmware.agent" > when it tries to parse the mount point for "/sys". As a result, the firmware > loading is never properly finished and the driver(s) just timeout on the value > in /sys/class/firmware/timeout. Bingo. Simple fix in user-pace possible - cool > down Martin :-) > > > > > > > > Questions remains: was this intentional? It breaks existing userspace and > should therefore be considered a regression - right? On the other hand, it will > never be a problem for RHEL-4/5 kernels, unless the change in 2.6.29 gets > backported. Any ideas? > > > > > > afaik that was unintentional and was probably a mistake. > > > > > > I wonder how we did that. > > > > > > > [hotplug]# grep sysfs /proc/mounts > > > none /sys sysfs rw,relatime 0 0 > > > /sys /sys sysfs rw,relatime 0 0 > > > > ___(I wonder how the heck that is accomplished) > > > > Beats me. I'm not seeing likely changes in fs/proc/base.c or around > show_mountinfo(). Maybe sysfs broke in an ingenious way. (hopefully > cc's viro). > > Displaying relatime seems a bit pointless too. Hmm. I actually believe the "none" line comes out of /etc/fstab, but was never before displayed in /proc/mount. This is from 2.6.19: [root@lpsdm60 ~]# grep sysfs /etc/fstab none /sys sysfs defaults 0 0 [root@lpsdm60 ~]# mount | grep sysfs none on /sys type sysfs (rw) [root@lpsdm60 ~]# grep sysfs /proc/mounts /sys /sys sysfs rw 0 0 And this is from 2.6.30: [root@lpsdm52 linux-2.6.30-rc3-git2]# grep sysfs /etc/fstab none /sys sysfs defaults 0 0 [root@lpsdm52 linux-2.6.30-rc3-git2]# mount | grep sysfs none on /sys type sysfs (rw) [root@lpsdm52 linux-2.6.30-rc3-git2]# grep sysfs /proc/mounts none /sys sysfs rw,relatime 0 0 /sys /sys sysfs rw,relatime 0 0 Any changes to mount-handling in 2.6.29? Cheers Martin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/