Re: 2.6.13-mm1: hangs during boot ...

From: James Bottomley
Date: Sat Sep 03 2005 - 12:08:37 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/