Messages in this thread | | | From | Ricky Beam <> | Subject | Re: SCSI Tape driver | Date | Tue, 16 Sep 1997 08:54:54 -0400 (EDT) |
| |
Letting the chips fall where they may, I quote Sameer Anja: >yes...I have seen a similar thing happening here too with my tape. >-Sameer ... >On Mon, 15 Sep 1997, Richard B. Johnson wrote: >> Date: Mon, 15 Sep 1997 10:33:34 -0400 (EDT) >> From: Richard B. Johnson <root@chaos.analogic.com> >> To: Linux kernel <linux-kernel@vger.rutgers.edu> >> Subject: SCSI Tape driver ... >> Sep 15 10:10:32 chaos kernel: st0: Error with sense data: >> Current error st09:00: sns = f0 3 >> Sep 15 10:10:32 chaos kernel: ASC=31 ASCQ= 0 >> Sep 15 10:10:32 chaos kernel: Raw sense data: >> 0xf0 0x00 0x03 0x00 0x00 0x02 0xec 0x0a 0x00 0x00 >> 0x00 0x00 0x31 0x00 0x00 0x00
Consulting the SCSI2 standard, the drive has signaled a medium error further specifying that the medium format is corrupted:
Sense key: 03h Table 69 - Sense key (0h-7h) descriptions +========-====================================================================+ | 3h | MEDIUM ERROR. Indicates that the command terminated with a non- | | | recovered error condition that was probably caused by a flaw in | | | the medium or an error in the recorded data. This sense key may | | | also be returned if the target is unable to distinguish between a | | | flaw in the medium and a specific hardware failure (sense key 4h).| +========-====================================================================+
ASC: 31h ASCQ: 00h Table D.1 - ASC and ASCQ assignments +=============================================================================+ | ASC ASCQ DTLPWRSOMC DESCRIPTION | | --- ---- ----------------------------------------------------- | | 31 00 DT W O MEDIUM FORMAT CORRUPTED | +=============================================================================+
It is perfectly valid for the driver to remember this until it is informed that the tape has changed (unit attention). I hope that helps...
--Ricky
| |