iSCSI/luns/check-condition

William Dallas wdallas at adelphia.net
Fri Aug 25 00:45:44 UTC 2006


Danny,

LUN 1 should not be returning a chk condition in response to an INQUIRY
command with the page code and EVPD both 0 in the cdb.  The device
server should return the inquiry response data with the peripheral
device qualifier set to 001b or 011b (1 or 3) per the scsi specs.

Bill

-----Original Message-----
From: owner-freebsd-scsi at freebsd.org
[mailto:owner-freebsd-scsi at freebsd.org] On Behalf Of Kenneth D. Merry
Sent: Thursday, August 24, 2006 11:15 AM
To: Danny Braniss
Cc: scsi at freebsd.org
Subject: Re: iSCSI/luns/check-condition

On Thu, Aug 24, 2006 at 18:05:41 +0300, Danny Braniss wrote:
> hi,
> 	this target (Wasabi) is returning Check Condition for
> a INQ. LUN 1, (which probably is ok,  since it does not exist), I
return
> 	ccb_h->status = CAM_SCSI_STATUS_ERROR;
> but it seems that the CAM is ignoring it, since it will try again, and
> again, etc. [or i'm doing something wrong :-]

If this is a result of the inquiry on initial probe (most likely), you
shouldn't get any more than 4 retries.

What SCSI status byte, sense key, ASC and ASCQ are you returning?

Ken
--
Kenneth Merry
ken at FreeBSD.ORG
_______________________________________________
freebsd-scsi at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"




More information about the freebsd-scsi mailing list