From owner-freebsd-scsi Tue Jul 6 10:58:13 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 6C15614DDD for ; Tue, 6 Jul 1999 10:58:12 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id KAA00856; Tue, 6 Jul 1999 10:53:53 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907061753.KAA00856@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Nick Hibma Cc: "Justin T. Gibbs" , scsi@FreeBSD.org Subject: Re: CAM: delaying new commands during reset In-reply-to: Your message of "Tue, 06 Jul 1999 19:48:32 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Jul 1999 10:53:53 -0700 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > It also appears that this driver has a very limited error code > > vocabulary. Is that because the transport or device gives little > > information about errors? > > Yes. I'm not even sure whether Sense can be reliably retrieved. See > www.usb.org -> Developers home page -> class documents -> Bulk-Only mass > storage. They return: > > - Command in Command Block Wrapper (SCSI/ATA/etc.) succeeded > - Command failed > - Phase Error > - D'uh! > > And nothing else. Braindead, but that's the spec for you. You ought to be able to send a Request Sense command if you get a "command failed" status. Actually, I think that someone above you will try to do that anyway. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message