Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751111AbVICRIU (ORCPT ); Sat, 3 Sep 2005 13:08:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751252AbVICRIU (ORCPT ); Sat, 3 Sep 2005 13:08:20 -0400 Received: from stat9.steeleye.com ([209.192.50.41]:13776 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S1751094AbVICRIS (ORCPT ); Sat, 3 Sep 2005 13:08:18 -0400 Subject: Re: 2.6.13-mm1: hangs during boot ... From: James Bottomley To: Peter Williams Cc: Reuben Farrelly , "Brown, Len" , Andrew Morton , Linux Kernel , SCSI Mailing List In-Reply-To: <4319AA71.7090700@bigpond.net.au> References: <4319A402.7030705@reub.net> <4319AA71.7090700@bigpond.net.au> Content-Type: text/plain Date: Sat, 03 Sep 2005 12:14:16 -0400 Message-Id: <1125764058.4615.4.camel@mulgrave> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 25 On Sat, 2005-09-03 at 23:51 +1000, Peter Williams wrote: > > Are you seeing this "Device not ready" message appear over and over, or > > just the once? > > Just the once. OK, I finally have a theory about this. It's the everything goes via bios code. Previously there were several levels at which commands could exit the SCSI stack; now we make everything go via bios, so they all come out at the top. get_capabilities() in sr.c is sending a TEST_UNIT_READY which will get NOT_READY back. Previously this was completing before it got to scsi_io_completion(); now it doesn't. There must be quite a few cases like this. The best fix is probably to use and respect REQ_QUIET for internally generated commands. 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/