Subject: Re: umass woe: sd0(umass0:0:0): readonly device & drive offline
To: Michael van Elst <mlelstv@serpens.de>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 11/18/2005 00:05:22
On Thu, Nov 17, 2005 at 11:17:41PM +0100, Michael van Elst wrote:
> We have devices that react erroneously when given a specific command.

Where erroneously is not necessarily unrecoverable.

> The correct solution is to not send the command

Maybe, but maybe the easiest way to detect the situation is to send it
and gracefully fail.

> The method of choice to handle such device anomalies is a quirk flag.

Only if we are realy sure the device anomaly is not a bug in our software
and not easily detectable at runtime.

Martin