Gentoo Archives: gentoo-user

From: daniel <danstemporaryaccount@×××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Superloader works but doesn't
Date: Thu, 22 Dec 2005 16:41:22
Message-Id: 200512221134.02752.danstemporaryaccount@yahoo.ca
1 I've having considerable trouble with writing to a simple tape drive and I'm
2 hoping that someone here has some experience with it:
3
4 I'm using a Quantum Superloader, so I've installed mtx to manipulate the
5 tapes. This part works without issue.
6
7 Load the tape from slot #3:
8
9 # mtx -f /dev/sg2 load 3
10
11 Now that it's in the drive, I try to tar something onto it:
12
13 # cd /
14 # tar cf /dev/st0 bin/
15 bin/
16 bin/bash
17 <a VERY long wait>
18 tar: /dev/st0: Cannot write: Input/output error
19 tar: Error is not recoverable: exiting now
20
21 After getting that error, I check /var/log/messages:
22
23 Dec 21 22:19:44 archiver kernel: st0: Block limits 2 - 16777214 bytes.
24 Dec 21 22:30:37 archiver kernel: st0: Error 400f0 (sugg. bt 0x0, driver bt
25 0x0, host bt 0x4).
26 Dec 21 22:30:48 archiver kernel: st0: Error with sense data: Current st0:
27 sense key Unit Attention
28 Dec 21 22:30:48 archiver kernel: Additional sense: Not ready to ready
29 change, medium may have changed
30
31 What the heck does this mean? I've checked the cables, everything seems
32 secure. Connectivity doesn't seem to be the problem because I can tell the
33 tape drive to do whatever I like without issue. The drive was just purchased
34 and the tapes are new so we don't have a cleaning tape (though I don't think
35 it'd be needed yet) so what's left?
36
37 Here's the output of /proc/scsi/scsi:
38
39 Attached devices:
40 Host: scsi1 Channel: 00 Id: 00 Lun: 00
41 Vendor: SEAGATE Model: ST39204LW Rev: 0006
42 Type: Direct-Access ANSI SCSI revision: 03
43 Host: scsi2 Channel: 05 Id: 05 Lun: 00
44 Vendor: BNCHMARK Model: DLT1 Rev: 5C3F
45 Type: Sequential-Access ANSI SCSI revision: 02
46 Host: scsi2 Channel: 05 Id: 05 Lun: 01
47 Vendor: QUANTUM Model: UHDL Rev: 0028
48 Type: Medium Changer ANSI SCSI revision: 02
49
50
51
52 --
53 real men don't make backups.
54 they upload it via ftp and let the world mirror it.
55 - Linus Torvalds
56 --
57 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Superloader works but doesn't Richard Fish <bigfish@××××××××××.org>