Date: Fri, 25 Aug 2006 12:28:05 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: "William Dallas" <wdallas@adelphia.net> Cc: "'Kenneth D. Merry'" <ken@freebsd.org>, scsi@freebsd.org Subject: Re: iSCSI/luns/check-condition Message-ID: <E1GGXyv-0007JJ-RG@cs1.cs.huji.ac.il> In-Reply-To: <000201c6c7df$cb0e8a40$0200a8c0@mrbill5> References: <000201c6c7df$cb0e8a40$0200a8c0@mrbill5>
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 > hi Bill, that's 'wishfull thinking' :-), I can only fix the initiator, the target I have to live with :-( danny > -----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?E1GGXyv-0007JJ-RG>