Re: [PARPORT] hp 7200e: error writing at 2x...


Eloy A. Paris (eparis@ven.ra.rockwell.com)
Sun, 5 Jul 1998 09:37:07 -0400 (VET)


Hi

> (to Grant)
> many thanks for the pg driver!

I join you: thank you very much for the pg driver Grant.

> Driver 1.01 works great (for me at least) at 1x with the kernel
> 2.1.206 but it crashes as soon as I try to burn at 2x... :-(

I am using the latest paride and pg drivers (present in 2.1.108) with
no problems when I write at 1x speed to a SureStore 7100e. When I
write at 2x I get SCSI errors.

We came to the conclussion that this computer (which is very old) does
not have EPP o ECP parallel port capabilities so the only way of
writing to the 7100e is by using 1x speed and using the parallel port
in bidirectional mode.

H-P's web site says that in order to write at 2x ECP mode is needed,
and I confirmed this.

> I called cdrecord as explained in the readme of pg driver, without
> -dummy and increasing the speed (-speed 2)

I guess you lost that CD. Why don't you test the whole thing with
-dummy and -speed 2 and make sure it finishes without errors before
trying to burn?

> here are the messages I got on stderr:
>
> Track 01: data 224 MB
> Total size: 257 MB (25:29.89) = 114742 sectors
> Lout start: 257 MB (25:31/67) = 114742 sectors
> Blocks total: 336225 Blocks remaining: 336225
> Starting to write CD at speed 2 in write mode for single session.
> Last chance to quit, starting real write in 1 seconds.
> Waiting for reader process to fill input-buffer ... input-buffer ready.
> Starting new track at sector: 0
> cdrecord: Success. write_g1: scsi sendcmd: retryable error
> CDB: 2A 00 00 00 03 F0 00 00 10 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: F0 00 03 00 00 00 00 19 00 00 05 91 0C 09 00 00 00 00
> Sense Key: 0x3 Medium Error, Segment 0
> Sense Code: 0x0C Qual 0x09 (write error - loss of streaming) Fru 0x0
> Sense flags: Blk 0 (valid)
> cmd finished after 0.689s timeout 40s
>
> write track data: error after 2064384 bytes
> Sense Bytes: F0 00 00 00 00 00 00 19 00 00 05 B3 00 00 00 00 00 00
> Writing time: 23.556s
> Fixating...
> Fixating time: 131.414s
> cdrecord: fifo had 191 puts and 64 gets.
> cdrecord: fifo was 0 times empty and 2 times full, min fill was 68%.
> ##################################################
>
> dmesg output:
>
> paride: version 1.02 installed
> paride: epat registered as protocol 0
> pg: pg version 1.01, major 97
> pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 0 (4-bit), delay 1
> pg0: HP CD-Writer+ 7100, slave
>
> were am i wrong? is it a fault of the driver?

Are you sure your parallel port supports ECP or EPP?

>From what I see above, your parallel port is set for compatible mode
(mode 0, 4 bit). With this you won't even be able to write at 1x
speed. Go to your BIOS setup and change the mode to at least
bidirectional.

Finally, in order to write at 1x speed and in bidirectional mode (mode
2, 8-bit) Grant recommended me to load the pg driver with delay=0.
Without this I could not even write at 1x speed but as soon as I
loaded pg with delay=0 everything started to work flawlessly.

Good luck.

E.-

-- 

Eloy A. Paris Information Technology Department Rockwell Automation Venezuela Telephone: +58-2-9432311 Fax: +58-2-9431645

-- 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:17:55 EST