Re: problem with ide-scsi and IDE tape drive

Tim Moore (timothymoore@bigfoot.com)
Tue, 30 Oct 2001 18:49:10 -0800


> If I try and save a tar to the tape twice in succession, rewinding and
> reading forward to the same point each time first, the second attempt
> fails (details below).

I use 'dd if=<file> of=/dev/nst0 bs=512 conv=sync' all the time to move
dumps from disk to tape w no problems. Differences: 'mt tell' with 'mt seek'
for positioning and only dd for I/O, no tar. Weird.
...
kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
kernel: scsi : 1 host.
kernel: Vendor: HP Model: COLORADO 20GB Rev: 4.01
kernel: Type: Sequential-Access ANSI SCSI revision: 02
kernel: Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0
kernel: scsi : detected 1 SCSI generic 1 SCSI tape total.
...
kernel: st0: Error with sense data: Info fld=0xf000, Deferred st09:00: sns = f1 3
kernel: ASC=50 ASCQ= 1
kernel: Raw sense data:0xf1 0x00 0x03 0x00 0x00 0xf0 0x00 0x10 0x00 0x00 0x00 0x00
0x50 0x01 0x00 0x00
kernel: st0: Error with sense data: Info fld=0xf000, Current st09:00: sns = f0 3
kernel: ASC=50 ASCQ= 1
kernel: Raw sense data:0xf0 0x00 0x03 0x00 0x00 0xf0 0x00 0x10 0x00 0x00 0x00 0x00
0x50 0x01 0x00 0x00
kernel: st0: Error on write filemark.
...
[tim@dell]> tar --version | head -1
tar (GNU tar) 1.13.17
[tim@dell]> mt -v
mt-st v. 0.5b
[tim@dell]> dd --version | head -1
dd (GNU fileutils) 4.0p
[tim@dell]> cat /proc/version
Linux version 2.2.20pre6 (root@abit) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)) #4 Sun Oct 28 22:32:11 PST 2001

rgds,
tim.

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/