SPC-3 ILLEGAL REQUEST description omits incorrect LUN

Ralph Weber ralphoweber at compuserve.com
Fri Dec 28 08:06:39 PST 2001


* From the T10 Reflector (t10 at t10.org), posted by:
* Ralph Weber <ralphoweber at compuserve.com>
*
The requested changed in SPC-3 attached below has been posted on this 
reflector for about a week and no comments have been made.

If no comments regarding this request are made before 9 January 2002,
I will place the new text in SPC-3 r3 as an editorial change.

Expect to see SPC-3 r3 posted prior to the 14 January T10 meeting
week.

Merry new year.

Ralph...

-------- Original Message --------
Subject: SPC-3 ILLEGAL REQUEST description omits incorrect LUN
Date: Fri, 21 Dec 2001 15:00:34 -0600
From: "Elliott, Robert" <Robert.Elliott at COMPAQ.com>
To: <t10 at t10.org>

 
* From the T10 Reflector (t10 at t10.org), posted by:
* "Elliott, Robert" <Robert.Elliott at compaq.com>
*
In SPC-3 rev 2 section 7.20.6 Sense key and sense code definitions, the
ILLEGAL REQUEST description is as follows:

"ILLEGAL REQUEST. Indicates that there was an illegal parameter in the
CDB or in the additional parameters supplied as data for some commands
(e.g., FORMAT UNIT or SEARCH DATA). If the device server detects an
invalid parameter in the CDB, then it shall terminate the command
without altering the medium. If the device server detects an invalid
parameter in the additional parameters supplied as data, then the device
server may have already altered the medium."

However, there's at least one case where ILLEGAL REQUEST is returned
that doesn't match that description.  ILLEGAL REQUEST/LOGICAL UNIT NOT
SUPPORTED is returned when a command other than INQUIRY is sent to an
invalid LUN (SAM-2 rev 21 section 5.8.3). The LUN field is not in the
CDB or additional parameters in SCSI-3.

Also, this text refers to a command called "SEARCH DATA" which doesn't
exist (obsoleted before SBC rev 8). The reference to that command and
FORMAT UNIT should be replaced with a command with parameters from SPC-3
like PERSISTENT RESERVE OUT or WRITE BUFFER.

Suggested rewording:
ILLEGAL REQUEST. Indicates that the command was sent to an incorrect
logical unit number (see SAM-2), or there was an illegal parameter in
the CDB or in the additional parameters supplied as data for some
commands (e.g., PERSISTENT RESERVE OUT). If the device server detects an
invalid parameter in the CDB, then it shall terminate the command
without altering the medium. If the device server detects an invalid
parameter in the additional parameters supplied as data, then the device
server may have already altered the medium.

---
Rob Elliott, Compaq Server Storage
Robert.Elliott at compaq.com
*
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at t10.org




More information about the T10 mailing list