issues with ide-tape under 2.4.x and with 2.2.x+ide patches

From: Mike Dresser (mdresser@windsormachine.com)
Date: Thu Nov 02 2000 - 09:50:07 EST


(originally posted to linux-tape@vger, but i figure more people read
this list <grin>)

Hi

Hoping someone can help. I'm running Debian 2.2, tar (GNU tar)
1.13.17. Hardware is a celeron 300, Abit BH6, but repeats itself on all
hardware i've tested(old dataexpert 8551/8661's, abit be6, some via686a
box at home, gigabyte mb's, you name it)

I'm currently running 2.4.0test10, running backups onto an IDE HP 7/14
gb drive. Using tar -cpvf /dev/ht0 myfiles backs up fine, no errors.

But..

promise:~# tar -tf /dev/ht0
tar: /dev/ht0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

and from dmesg:
ide-tape: ht0: I/O error, pc = 1e, key = 5, asc = 20, ascq = 0
ide-tape: ht0: I/O error, pc = 8, key = 5, asc = 2c, ascq = 0
ide-tape: ht0: I/O error, pc = 1e, key = 5, asc = 20, ascq = 0

(normal, i get those cause of the lock drive/unlock drive, which the
drive doesn't support)

If i bounce back to 2.2.17(18-18 as well), and do the exact same
command, I can read my tapes again. But I lose support for the Promise
Ultra/66 in the machine. So. I go back to 2.2.17, put in the ide
patches. I can't read my tapes again. Take out the patches. Tapes
restore fine. So I'm wondering what changed with Andre's patches, and
also with 2.4.x?

I also ran into the same issues, back when i was playing with 2.2.17,
using taper 6.9b, leading me to suspect it's not tar's fault. Just
tried dump, aside from it not agreeing with my /dev/md0 device, it backs
up fine, can't restore.

I get the same results with a Seagate IDE 10/20 drive.

ide-tape is compiled as a module, but IIRC it does the same behaviour as
built in.

Yes, the proper solution is buy a DDS-3 drive and a handful of tapes.
But my cheap employer doesn't want to spend the money to do it right.

Hoping for a solution,
Mike Dresser

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



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:11 EST