From owner-freebsd-scsi Tue Jun 12 5:22:43 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from alligator.wananchi.com (alligator.wananchi.com [62.8.64.108]) by hub.freebsd.org (Postfix) with ESMTP id 5D58D37B401 for ; Tue, 12 Jun 2001 05:22:28 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from root by alligator.wananchi.com with local (Exim 3.22 #1) id 159nAD-0001Dp-00; Tue, 12 Jun 2001 15:20:53 +0300 Received: from [209.198.248.2] (helo=siafu.iconnect.co.ke) by poeza.iconnect.co.ke with esmtp (Exim 3.20 #1) id 14PBTz-0000Ct-00 for wash@poeza.iconnect.co.ke; Sun, 04 Feb 2001 01:48:39 +0300 Received: from [192.67.166.1] (helo=feral.com) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 14PBRe-000Kcu-00 for wash@iconnect.co.ke; Sun, 4 Feb 2001 01:46:15 +0300 Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id OAA30603; Sat, 3 Feb 2001 14:47:39 -0800 Date: Sat, 3 Feb 2001 14:47:37 -0800 (PST) From: Matthew Jacob Old-Reply-To: mjacob@feral.com To: thomas@hentschel.net Cc: wash@iconnect.co.ke, freebsd-scsi@FreeBSD.ORG In-Reply-To: <200102032239.f13Mdvr00742@falcon.home.hentschel.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: CANNOT ACCESS T20 TAPE Status: RO Lines: 55 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > I take it you meant camcontrol debug -Ic ? Anyhow, here it is : > > falcon# camcontrol debug -Ic 0:3 > Debugging enabled for 0:3:-1 > > falcon# mt -f /dev/nsa0 status > mt: /dev/nsa0: Input/output error > > spits the following to the console : > > (sa0:ahc0:0:3:0): saopen(0): dev=0x0 softc=0x0 > (sa0:ahc0:0:3:0): sastart(sa0:ahc0:0:3:0): RESERVE(06). CDB: 16 0 0 0 0 0 > (sa0:ahc0:0:3:0): Key 0x4 ASC/ASCQ 0x40 0xa0 flags 0x0 resid 0 dxfer_len 0 > (sa0:ahc0:0:3:0): RESERVE(06). CDB: 16 0 0 0 0 0 > (sa0:ahc0:0:3:0): Key 0x4 ASC/ASCQ 0x40 0xa0 flags 0x0 resid 0 dxfer_len 0 > (sa0:ahc0:0:3:0): RESERVE(06). CDB: 16 0 0 0 0 0 > (sa0:ahc0:0:3:0): Key 0x4 ASC/ASCQ 0x40 0xa0 flags 0x0 resid 0 dxfer_len 0 > > falcon# mt -f /dev/nsa0 rewind > mt: /dev/nsa0: Input/output error > > (sa0:ahc0:0:3:0): saopen(0): dev=0x0 softc=0x0 > (sa0:ahc0:0:3:0): sastart(sa0:ahc0:0:3:0): RESERVE(06). CDB: 16 0 0 0 0 0 > (sa0:ahc0:0:3:0): Key 0x4 ASC/ASCQ 0x40 0xa0 flags 0x0 resid 0 dxfer_len 0 > (sa0:ahc0:0:3:0): RESERVE(06). CDB: 16 0 0 0 0 0 > (sa0:ahc0:0:3:0): Key 0x4 ASC/ASCQ 0x40 0xa0 flags 0x0 resid 0 dxfer_len 0 > (sa0:ahc0:0:3:0): RESERVE(06). CDB: 16 0 0 0 0 0 > (sa0:ahc0:0:3:0): Key 0x4 ASC/ASCQ 0x40 0xa0 flags 0x0 resid 0 dxfer_len 0 > > > Looks like the thing doesn't get ready, just would like to know why.... > If there's anything else which would help here, please let me know. Go back to HP and tell them write Firmware that actually works? RESERVE (as in RESERVE/RELEASE) is an optional command. Instead of returning "Illegal Command" they're returning "HARDWARE ERROR" with 'ASC/ASCQ(0x40/0xA0)=' Go into scsi_sa.c:samount and comment out the call to sareservereleaseunit and ditto fo the call from saclose. Frankly, I inherited this section of code and I'm not all that excited about requiring a reservation. But at the same time, some *minimum* sanity for a SCSI device should be required for it to be supported. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message