Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 13:04:59 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Another problem with the new CAM error handling
Message-ID:  <20010509130459.A17074@panzer.kdm.org>
In-Reply-To: <20010509204919.H12728@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Wed, May 09, 2001 at 08:49:19PM %2B0200
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> <20010509204919.H12728@uriah.heep.sax.de>

index | next in thread | previous in thread | raw e-mail

On Wed, May 09, 2001 at 20:49:19 +0200, J Wunsch wrote:
> 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:

Ahh.

> 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:

I'm not sure it would really be worth it.  We don't have the quirk
framework at the moment to synthesize ASC/ASCQs from sense keys anyway.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



home | help

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