Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 1999 10:53:53 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Nick Hibma <hibma@skylink.it>
Cc:        "Justin T. Gibbs" <gibbs@narnia.plutotech.com>, scsi@FreeBSD.org
Subject:   Re: CAM: delaying new commands during reset 
Message-ID:  <199907061753.KAA00856@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 06 Jul 1999 19:48:32 %2B0200." <Pine.BSF.3.96.990706193850.296C-100000@heidi.plazza.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907061753.KAA00856>