Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757746AbYFFOLm (ORCPT ); Fri, 6 Jun 2008 10:11:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754315AbYFFOLc (ORCPT ); Fri, 6 Jun 2008 10:11:32 -0400 Received: from accolon.hansenpartnership.com ([76.243.235.52]:55808 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753973AbYFFOLb (ORCPT ); Fri, 6 Jun 2008 10:11:31 -0400 Subject: Re: 2,6.26-rc4-git2 - long pause during boot From: James Bottomley To: chris2553@googlemail.com Cc: Andrew Morton , LKML , linux-scsi@vger.kernel.org, Hannes Reinecke , "Rafael J. Wysocki" In-Reply-To: <200806060607.29460.chris2553@googlemail.com> References: <200806010415.05290.chris2553@googlemail.com> <20080605221709.f248eb90.akpm@linux-foundation.org> <200806060607.29460.chris2553@googlemail.com> Content-Type: text/plain Date: Fri, 06 Jun 2008 09:11:25 -0500 Message-Id: <1212761485.3466.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3067 Lines: 76 On Fri, 2008-06-06 at 06:07 +0000, Chris Clayton wrote: > On Friday 06 June 2008, Andrew Morton wrote: > > On Sun, 1 Jun 2008 04:15:05 +0000 Chris Clayton > wrote: > > > Hi, > > > > > > I've just started testing 2.6.26 on my desktop machine and have found > > > that I get a long pause (20 seconds or so) as the system boots. By pause > > > I mean that the boot messages that normally scroll by stop doing so for, > > > as I say, about 20 seconds. > > > > > > I've done a bisect and arrived at: > > > > > > b0ed43360fdca227048d88a08290365cb681c1a8 is first bad commit > > > commit b0ed43360fdca227048d88a08290365cb681c1a8 > > > Author: Hannes Reinecke > > > Date: Tue Mar 18 14:32:28 2008 +0100 > > > > > > [SCSI] add scsi_host and scsi_target to scsi_bus > > > > > > This patch implements scsi_host and scsi_target device types > > > and adds both to the scsi_bus. > > > > > > Signed-off-by: Hannes Reinecke > > > Signed-off-by: Kay Sievers > > > Signed-off-by: James Bottomley > > > > > > > > > :040000 040000 4e3140909966b4c9aa987d34ee4078d283fe0351 > > > > > > 46e4fd28cc537ba700eb4f5652abf043fed4d76d M drivers > > > > > > The config file for that kernel is attached as are the kernel log for > > > booting that kernel and the bisect log. > > > > > > I've also noticed that it takes much longer for icons to appear on my > > > desktop when I plug a usb storage device in. (The icons are shown/hidden > > > by a simple sctript that is run via udev when the device is > > > attached/detached.) > > > > Do you believe that this is the same period? 20 seconds? > > > > Thanks for the reply, Andrew. I was beginning to think that I'd committed an > LKML sin :-) > > Yes, it is about the same. On 2.6.25.4 (and earlier), the icons appear within a > second or two, but with 2.6.26-rc2 or later, it takes about 20 seconds. I've > now built and installed -rc5 and am seeing the same behaviour. > > I've also built -rc5 on my laptop. On that my kernel uses the older IDE drivers > rather than libata. The boot proceeds with no pause, but I do see the same > delay in the desktop icons appearing when I attach a usb-storage device. > > > > Let me know of any way I can help solve this. > > > > > > Please cc me to any reply as I'm not subscribed. > > > > cc's added. > > > > Rafael, we might need to track this as a post-2.6.26 regression. It already is ... as I asked in the actual bug (but no-one seems to have noticed, so I assume the bug entry isn't set up correctly). Does this still persist with 2.6.26-rc5? The reason for asking is that it looks very much like a silent manifestation of our scsi_bus_uevent() problem that got fixed in 2.6.26-rc5. James -- 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/