From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 25 00:45:44 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 C37EE16A4DA; Fri, 25 Aug 2006 00:45:44 +0000 (UTC) (envelope-from wdallas@adelphia.net) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4625043D45; Fri, 25 Aug 2006 00:45:44 +0000 (GMT) (envelope-from wdallas@adelphia.net) Received: from mrbill5 ([68.64.251.12]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060825004543.UNZY312.mta9.adelphia.net@mrbill5>; Thu, 24 Aug 2006 20:45:43 -0400 From: "William Dallas" To: "'Kenneth D. Merry'" , "'Danny Braniss'" Date: Thu, 24 Aug 2006 20:45:42 -0400 Message-ID: <000201c6c7df$cb0e8a40$0200a8c0@mrbill5> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <20060824151528.GA52114@nargothrond.kdm.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: 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 00:45:44 -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 -----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"