Subject: Re: umass woe: sd0(umass0:0:0): readonly device & drive offline
To: None <tech-kern@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: tech-kern
Date: 11/14/2005 09:30:25
feyrer@cs.stevens.edu (Hubert Feyrer) writes:

>Available at http://www.feyrer.de/Misc/usb-debug-xdg328.txt
>(113kB; also as http://www.feyrer.de/Misc/usb-debug-xdg328.txt.gz in 8kB)

This shows that the initial TEST UNIT READY command fails
with "Unit Attention: Not-ready to Ready transition, possible
media change".

In 2.* the scsipi layer ignores the Unit Attention, so that
the sd attach code actually sees the error and fails.

In 3.* the scsipi layer will restart the command.

-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."