Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764681AbYFFGW1 (ORCPT ); Fri, 6 Jun 2008 02:22:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754257AbYFFGV5 (ORCPT ); Fri, 6 Jun 2008 02:21:57 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55281 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751613AbYFFGV4 (ORCPT ); Fri, 6 Jun 2008 02:21:56 -0400 Date: Thu, 5 Jun 2008 23:21:45 -0700 From: Andrew Morton To: chris2553@googlemail.com Cc: LKML , linux-scsi@vger.kernel.org, Hannes Reinecke , "Rafael J. Wysocki" Subject: Re: 2,6.26-rc4-git2 - long pause during boot Message-Id: <20080605232145.cdae753f.akpm@linux-foundation.org> 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> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2777 Lines: 67 On Fri, 6 Jun 2008 06:07:29 +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 :-) Well you did - you reported a bug. > 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. OK that makes sense. ata and usb use the scsi layer. IDE does not. -- 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/