Date: Tue, 6 Jun 2000 04:36:36 -0400 From: "ben @ instantemail.net" <ben@instantemail.net> To: freeBSD-Questions@FreeBSD.org Subject: IDE tape drive, take two Message-ID: <0192.000606@instantemail.net>
index | next in thread | raw e-mail
I have a 3.4R system running on an AMD K6/450 w/ 64MB RAM and a
wdc1: unit 1 (atapi): <Seagate STT8000A/5.51>, removable, accel, dma, iordis
wst0: Travan 4 (4 Gbyte) media, reverse, qfa, ecc, 512b
wst0: Max speed=600Kb/s, Transfer limit=52 blocks, Buffer size=728 blocks
IDE Tape drive. Flags for the wdc1 controller are 0xb0ffb0ff. ( Just
crossing my mind right now ... since this is a tape should I remove
the wd3 device? ) Anyway, on to my question. Last Saturday after
having had some success with a test such as:
# tar cf /dev/rwst0 /some/path
(wait for the drive to settle down)
# mt fsf 1
# tar cf /dev/rwst0 /some/other/path
I decided to try using dump and here's a log of what happened:
~: mt status
Mode Density Blocksize bpi Compression
Current: 0x01:X3.22-1983 512 bytes 800 none
---------available modes---------
0: default variable 0 none
1: default variable 0 none
2: default variable 0 none
3: default variable 0 none
---------------------------------
File Number: 0 Record Number: 0
~: dump -0 /
DUMP: Date of this level 0 dump: Sat Jun 3 06:32:38 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rwd0s1a (/) to /dev/rwst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 23045 tape blocks on 0.59 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 23059 tape blocks on 1 volume
DUMP: finished in 53 seconds, throughput 435 KBytes/sec
DUMP: Closing /dev/rwst0
and it's been hung there for almost 3 days now. At the end of dmesg
are the lines (indented for legibility):
wst0: 23603200d total bytes transferred
atapi1.1: controller not ready, status=c0<busy,ready>, error=c0
atapi1.1: controller not ready for cmd
atapi1.1: controller not ready for cmd
atapi1.1: controller not ready for cmd
wst0: Sense media type failed
which suggests to me that dump isn't aware that the tape rewinds when
it finishes with the command. I've glanced through the source files
briefly but I don't know enough C to make head or tail of what's what.
Can anyone help me at least understand what's really going on here and
hopefully guide me in fixing it?
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0192.000606>
