From owner-freebsd-scsi Sat Jan 20 10:18: 1 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 7ABCB37B401 for ; Sat, 20 Jan 2001 10:17:43 -0800 (PST) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id KAA08909; Sat, 20 Jan 2001 10:05:17 -0800 Date: Sat, 20 Jan 2001 10:17:35 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Odhiambo Washington Cc: freebsd-scsi@freebsd.org Subject: Re: CANNOT ACCESS T20 TAPE In-Reply-To: <20010120131301.A2015@poeza.iconnect.co.ke> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Sorry for my being daft. Here I attach the output from /var/log/messages after the test. Good. Exactly what I'm wanting to see.. So... The Sense Key 9 being returned is "VENDOR SPECIFIC". W/O T20 docs I can't tell you what the issue is. So, the first thing the tape driver does when it sees a tape driver for the first time is to make sure the tape is rewound. Clearly LOAD(to BOT) is failing. With 5/24 as the ASC/ASCQ, I'm sure somebody at HP *MEANT* to use Sense Key 5 (Illegal Command) but they just forgot their SCSI spec at home that day. Now, the REWIND command (used alternately) is failing with Sense Key 2 (Not Ready) and the ASC/ASCQ values are 'Medium Not Present'. So, you either don't have a tape inserted in the drive or the drive doesn't like the tape at all. Things don't work w/o a tape inserted. > > ## > Jan 20 13:10:16 poeza /kernel: (xpt0:ahc0:0:4:0): debugging flags now 9 > Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): saopen(0): dev=0x0 softc=0x0 > Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): sastart(sa0:ahc0:0:4:0): RESERVE(06). CDB: 16 0 0 0 0 0 > Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): sastart(sa0:ahc0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ > Jan 20 13:10:16 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 > Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ > Jan 20 13:10:16 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ > Jan 20 13:10:17 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ > Jan 20 13:10:17 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): REWIND. CDB: 1 0 0 0 0 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x2 ASC/ASCQ > Jan 20 13:10:17 poeza /kernel: 0x3a 0x0 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): REWIND. CDB: 1 0 0 0 0 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x2 ASC/ASCQ > Jan 20 13:10:17 poeza /kernel: 0x3a 0x0 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): REWIND. CDB: 1 0 0 0 0 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x2 ASC/ASCQ > Jan 20 13:10:17 poeza /kernel: 0x3a 0x0 flags 0x0 resid 0 dxfer_len 0 > Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): sastart(sa0:ahc0:0:4:0): RELEASE(06). CDB: 17 0 0 0 0 0 > ## To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message