From owner-freebsd-current@FreeBSD.ORG Sun May 11 22:46:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D81C237B401 for ; Sun, 11 May 2003 22:46:21 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id EAAC343FD7 for ; Sun, 11 May 2003 22:46:20 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 73111 invoked by uid 1000); 12 May 2003 05:46:23 -0000 Date: Sun, 11 May 2003 22:46:23 -0700 (PDT) From: Nate Lawson To: Chuck McCrobie In-Reply-To: <20030509194425.35530.qmail@web14811.mail.yahoo.com> Message-ID: <20030511224413.T73059@root.org> References: <20030509194425.35530.qmail@web14811.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Error handling of SERIAL NUMBER probe during device probing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 05:46:22 -0000 On Fri, 9 May 2003, Chuck McCrobie wrote: > I have a Powerfile Firewire device. It contains two > DVD-RAM drives, a TOSHIBA and a PANASONIC. One of the > drives does not support the probe for SERIAL NUMBER, > specifically the following command: > > sbp0:0:1 XPT_SCSI_IO: cmd: 12 21 80 00 ff 00 00 00 00 > 00, flags: 0x40, 6b cmd/255b data/18b sense > sbp0:0:1 SCSI status 2 sfmt 0 valid 0 key 5 code 24 > qlfr 0 len 3 > > I suppose I need a quirk entry in cam_xpt.c for > CAM_QUIRK_NOSERIAL, but shouldn't the serial number > probe simply give up on ILLEGAL_COMMAND (key=5, > code=24 => INVALID FIELD IN CDB). Something is retransmitting the command, possibly the firewire driver since CAM doesn't retransmit for that particular error. The drive appears to be responding correctly. -Nate