Aboo Valappil wrote:
> What would i do if the SCSI target does not return any sense code? I
> make some thing up or just return no-sense?

I guess it depends on whether the in-kernel part of your software stack
actually knows enough details to generate correct sense codes.

> In the new version, I made up  SK="Illegal request", ASC="Invalid
> Opcode" if I do not receive any sense from target. But I think I
> should return  no sense, ie SK=0, ASC=0, ASCQ=0.

I think ASC/ASCQ = 0/0 = "no additional sense information" would indeed
be correct on such occasions.
-- 
Stefan Richter
-=====-=-=== ---= ==--=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to