On Sat, 3 Jun 2000 rnd@onego.ru wrote:
Well. I have solved the problem myself.
The recipe is below.
> Hello!
>
> I read all the article about HP ( Hewlett Packard ) 7500e Plus
> CD writer but still can't make use of the device under Linux!
>
> I have installed 2.2.14 Linux kernel (tryed 2.2.5, 2.2.11)
> Tryed cdrecord-1.8a24, cdrecord 1.8, 1.8.1 - to no result!
>
> (Yes, insmod paride, epat, pg , pcd works fine)
>
> the problem is the old one:
>
> # cdrecord -dummy -v -dev=0,0,0 -nofix -data /c/cdr7.iso
>
> ...
> Starting new track at sector: -1
> Track 02:   0 of 615 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
> CDB:  2A 00 FF FF FF FF 00 00 10 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 24 00 00 00 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
> Sense flags: Blk 0 (not valid)
> ...
>
> -- same error in all my tries.
>
> ( driver=cdr_simul works fine)
>
> The parallel port is in EPP mode (tried in EPP/ECP).
>
> What else?
> I did every other verbose's but found nothing special:
> cdrecord: fifo had 128 puts and 1 gets.
> ( 0 bytes transferred )
OK. I wrote my first CD under Linux at last.
Working combination:
Linux 2.2.14 with sg, scsi_mod, epat,  bpck,  pg,  pcd  modules
available (bpck and pcd are not actually used, but they will be
needed to read CDs in a parport drive)
cdrecord 1.8.1 used like this:
cdrecord dev=0,0,0 -v speed=2 -data /c/cdr8.iso
Of course, try cdrecord -scanbus before dev=0,0,0 to be sure:
Cdrecord 1.8.1 (i586-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Using libscg version 'schily-0.1'
scsibus0:
        0,0,0     0) 'HP      ' 'CD-Writer+ 7500 ' '1.0a' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Why it did not work?
- I was stupid enough not to insert actual blank CDR disk
  just to try in dummy mode
- Don't be disturbed by the error while fixating:
  it seems, HP 7500+ doesn't like dummy fixating!
- Use -v option to diagnose a problem before actual writing
  (For example, it must give manufacturer info, etc.)
- eject/insert the drive before burning
(I have also turned off sound  modules,  but  am  not  sure if it
made any difference)
So, my mini-HOWTO for the first CDR looks like this:
--------------------------------------------------------------------
             Writing your first CD on a HP 7500e+
 - RTFM:
   /usr/doc/HOWTO/CD-Writing-HOWTO
   man mkisofs
   man cdrecord
   /usr/src/linux/drivers/block/paride/pg.c
 - make sure the Linux kernel is >= 2.2.14 and  has
   sg, scsi_mod, epat,  bpck,  pg,  pcd  modules
   (I have also enabled HP SCSI correction in the SCSI section,
   but it is not needed it seems) (recommended)
 - obtain cdrecord >= 1.8.1   (recommended)
 - attach the drive to the parallel port
   (better to switch computer off while doing it)
 - prepare data for the CDR by mkisofs, mkhybrid or
   cdda2wav or whatever.
 - # insmod paride
   # insmod epat
   # insmod pg
 - # cdrecord -scanbus
 - eject/insert actual blank CD into the drive before burning
 - try in -dummy mode, don't fear error at fixation
   # cdrecord dev=0,0,0 -v -dummy speed=2 -data /path/to/yourdata
 - eject/insert actual blank CD into the drive before burning
 - actual writing (without -dummy)
   # cdrecord dev=0,0,0 -v        speed=2 -data /path/to/yourdata
   # cdrecord dev=0,0,0 -eject
------------------------------------------------------------------------
This was posted in hope somebody will have similar problems. In
no case I can guarantee that the above scheme will not lead  to
data and/or blank CD loss.
Sincerely yours, Roman Suzi
-- ~ Russia ~ Karelia ~ Petrozavodsk ~ rnd@onego.ru ~ ~ Sunday, June 04, 2000 ~ Powered by Linux RedHat 6.0 ~ ~ "It is not enough to succeed. Others must fail." ~-- 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 2b29 : Sun Jun 04 2000 - 01:26:07 EDT