From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 25 09:28:07 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D268716A4DF; Fri, 25 Aug 2006 09:28:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A7A943D4C; Fri, 25 Aug 2006 09:28:07 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1GGXyv-0007JJ-RG; Fri, 25 Aug 2006 12:28:05 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "William Dallas" In-reply-to: <000201c6c7df$cb0e8a40$0200a8c0@mrbill5> References: <000201c6c7df$cb0e8a40$0200a8c0@mrbill5> Comments: In-reply-to "William Dallas" message dated "Thu, 24 Aug 2006 20:45:42 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Aug 2006 12:28:05 +0300 From: Danny Braniss Message-ID: Cc: "'Kenneth D. Merry'" , scsi@freebsd.org Subject: Re: iSCSI/luns/check-condition X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 09:28:07 -0000 > 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" > >