Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 20:45:42 -0400
From:      "William Dallas" <wdallas@adelphia.net>
To:        "'Kenneth D. Merry'" <ken@freebsd.org>, "'Danny Braniss'" <danny@cs.huji.ac.il>
Cc:        scsi@freebsd.org
Subject:   RE: iSCSI/luns/check-condition
Message-ID:  <000201c6c7df$cb0e8a40$0200a8c0@mrbill5>
In-Reply-To: <20060824151528.GA52114@nargothrond.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-scsi@freebsd.org] On Behalf Of Kenneth D. Merry
Sent: Thursday, August 24, 2006 11:15 AM
To: Danny Braniss
Cc: scsi@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@FreeBSD.ORG
_______________________________________________
freebsd-scsi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c6c7df$cb0e8a40$0200a8c0>