Re: [PARPORT] Multiple archives on ATAPI tape?


massato@panix.com
Sat, 7 Nov 1998 17:16:29 -0500


grant@torque.net wrote:

> You can record multiple files on a pt tape already - use the /dev/npt?
> devices. What is missing is the set of mtops that allow you to skip
> around the tape. A volunteer did come forward to implement those
> functions, but his work isn't ready yet.

Thanks for the info. This sounds very promising.

massato@panix.com wrote:

> Also, I couldn't get my tape drive to work with an old 486 but it
> works with a newer computer. I'm wondering if the parallel port on the
> 486 is the culprit. Do I have to use a newer parallel port (ECP/EPP)
> for paride?

It turned out that the kernel on the 486 was compiled with the lp driver
built in. I've recompiled it as a module so now I should be set.

In the mean time, I'm running into problems with the setup that I
thought was working okay.

Reads and writes of 10-20 MB of data look like they go okay. However,
when I try to write a larger batch (300 MB or so), I get a "write DSC
timeout".

I have tried various delay settings up to 255 but I always get the same
error. The BIOS setting for my parallel port is "EPP v1.9", so the
"EPP-32" mode autodetected by pt seems okay.

Here's a summary of what happens.

# insmod paride
paride: version 1.02 installed

# insmod epat
paride: epat registered as protocol 0

# insmod pt verbose=1
pt: pt version 1.02s, major 96
pt0: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
pt0: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
pt0: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
pt0: epat: port 0x378, mode 0, ccr 0, test=(0,0,0)
pt0: epat: port 0x378, mode 1, ccr 40, test=(224,224,448)
pt0: epat: port 0x378, mode 2, ccr 0, test=(0,0,0)
pt0: epat: port 0x378, mode 3, ccr 0, test=(0,0,0)
pt0: epat: port 0x378, mode 4, ccr 0, test=(0,0,0)
pt0: epat: port 0x378, mode 5, ccr 0, test=(0,0,0)
pt0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 1
pt0: Reset (7) signature = 1 1 1 14 eb
pt0: HP COLORADO 8GBe, master, blocksize 512, 3954 MB

# tar -cz /mnt/win95j>/dev/npt0
pt0: HP COLORADO 8GBe, master, blocksize 512, 3954 MB
tar: Removing leading `/' from absolute path names in the archive
pt0: write DSC timeout
pt0: Sense key: 0, ASC: 0, ASQ: 0
tar (grandchild): Cannot write to -: I/O error
tar (grandchild): Error is not recoverable: exiting now
pt0: write filemark DSC timeout
pt0: Sense key: 0, ASC: 0, ASQ: 0
Broken pipe

[same thing happens when pt is installed with "insmod pt drive0=0x378,,,5,,255"]

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:45 EST