Date: Wed, 9 May 2001 20:49:19 +0200 From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-scsi@FreeBSD.ORG Subject: Re: Another problem with the new CAM error handling Message-ID: <20010509204919.H12728@uriah.heep.sax.de> In-Reply-To: <20010507171142.A3692@panzer.kdm.org>; from ken@kdm.org on Mon, May 07, 2001 at 05:11:42PM -0600 References: <20010426110542.A50185@uriah.heep.sax.de> <200104261435.f3QEZLs23573@aslan.scsiguy.com> <20010426190714.E50185@uriah.heep.sax.de> <20010428231227.A37369@panzer.kdm.org> <200105060912.f469CnU07813@uriah.heep.sax.de> <20010506115718.B94763@panzer.kdm.org> <200105070451.f474pfN11471@uriah.heep.sax.de> <20010507171142.A3692@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As Kenneth D. Merry wrote: > Well, I'm curious to see why you're only getting back unit attention > instead of the full sense information. That seems kinda odd. > > You might also try powering the device off and back on again and then see > what camcontrol reports via 'camcontrol tur pt0 -v'. (It should be the > same as the kernel, since the code is the same.) OK, i tried your patch. Here's the result: uriah # camcontrol tur pt0 -v Unit is not ready (pass6:sym1:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass6:sym1:0:5:0): CAM Status: SCSI Status Error (pass6:sym1:0:5:0): SCSI Status: Check Condition (pass6:sym1:0:5:0): UNIT ATTENTION asc:0,0 (pass6:sym1:0:5:0): No additional sense information You're right, this rather seems to be a bug in the scanner's SCSI implementation. For comparision, i just issued a BDR to a less used disk, here's the result: uriah # camcontrol tur da3 -v Unit is not ready (pass2:sym0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass2:sym0:0:4:0): CAM Status: SCSI Status Error (pass2:sym0:0:4:0): SCSI Status: Check Condition (pass2:sym0:0:4:0): UNIT ATTENTION asc:29,0 (pass2:sym0:0:4:0): Power on, reset, or bus device reset occurred Should/could we add a quirk for the scanner that synthesizes an ASC/ASCQ of 29,0 in that case? Here's the inquiry data: uriah # camcontrol inquiry pt0 pass6: <HP C2520A 3503> Fixed Processor SCSI-2 device pass6: 3.300MB/s transfers -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) 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?20010509204919.H12728>
