From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: 2.6.13-mm1: hangs during boot ... Date: Sat, 03 Sep 2005 12:14:16 -0400 Message-ID: <1125764058.4615.4.camel@mulgrave> References: <4319A402.7030705@reub.net> <4319AA71.7090700@bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4319AA71.7090700@bigpond.net.au> Sender: linux-kernel-owner@vger.kernel.org To: Peter Williams Cc: Reuben Farrelly , "Brown, Len" , Andrew Morton , Linux Kernel , SCSI Mailing List List-Id: linux-scsi@vger.kernel.org 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