Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 10:17:35 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        Odhiambo Washington <wash@iconnect.co.ke>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: CANNOT ACCESS T20 TAPE
Message-ID:  <Pine.BSF.4.21.0101201002550.5755-100000@beppo.feral.com>
In-Reply-To: <20010120131301.A2015@poeza.iconnect.co.ke>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101201002550.5755-100000>