amusing stumble for the 6 to 10 byte checking code

Kenneth D. Merry ken at kdm.org
Thu Nov 16 06:11:59 UTC 2006


On Wed, Nov 15, 2006 at 21:15:01 -0800, mjacob at freebsd.org wrote:
> 
> This caught my eye this morning:
> 
> 
> (da0:isp1:0:0:0): WRITE(06). CDB: a 8 68 90 80 0
> (da0:isp1:0:0:0): CAM Status: SCSI Status Error
> (da0:isp1:0:0:0): SCSI Status: Check Condition
> (da0:isp1:0:0:0): UNIT ATTENTION asc:29,1
> (da0:isp1:0:0:0): Power on occurred
> (da0:isp1:0:0:0): Retrying Command (per Sense Data)
> (da0:isp1:0:0:0): READ(6)/WRITE(6) not supported, increasing
> minimum_cmd_size to
>  10.

That shouldn't have happened in response to a unit attention.  It should
only happen if the SIM comes back with CAM_REQ_INVALID, or if the target
comes back with an illegal request sense code.  So there may have been
another intervening error that caused the switchover.

> (da0:isp1:0:0:0): WRITE(10). CDB: 2a 0 0 8 68 90 0 0 80 0
> (da0:isp1:0:0:0): CAM Status: SCSI Status Error
> (da0:isp1:0:0:0): SCSI Status: Check Condition
> (da0:isp1:0:0:0): ILLEGAL REQUEST asc:24,0
> (da0:isp1:0:0:0): Invalid field in CDB
> (da0:isp1:0:0:0): Unretryable error

Hmm.  Illegal field, and not invalid command operation code?  That's odd.
What kind of drive is this?  The CDB looks valid at first glance...

> I'm still trying to figure out what happened here. Anyone else seen 
> this?

Never seen it.

Ken
-- 
Kenneth Merry
ken at kdm.org


More information about the freebsd-scsi mailing list