[PARPORT] HP 7100e and cdrecord problem


Dirk Alboth (alboth@brandenburg-gmbh.de)
21 Dec 1999 15:50:28 +0100


Hi,

I first thought everything went well, but in the end it didn't:

I tried to burn a CD with cdrecord-1.6.1 on a "HP SureStore CD-Writer
Plus 7100e". The device was recognized, cdrecord found it and
seemingly wrote the CD without error. But after that, when I tried to
mount the CD I only got the syslog messages:

 kernel: CDROM not ready. Make sure there is a disc in the drive.
 kernel: sr_photocd: ioctl error (SONY/PIONEER): 0x28000000

(Yes, the disc was in the drive.)

Anybody got any ideas.

Thanks for any help.

Dirk

Here are (hopefully all) relevant infos:

Linux 2.0.38 (constantly upgraded from SuSE 5.3)

parallel port set to SPP in CMOS

# insmod pg
# insmod epat
# insmod pg verbose=1

  kernel: pg: pg version 1.02s, major 97
  kernel: pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 2 (8-bit), delay 1
  kernel: pg: pg version 1.02s, major 97
  kernel: pg0: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
  kernel: pg0: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
  kernel: pg0: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
  kernel: pg0: epat: port 0x378, mode 0, ccr 0, test=(255,0,0)
  kernel: pg0: epat: port 0x378, mode 1, ccr 40, test=(255,224,448)
  kernel: pg0: epat: port 0x378, mode 2, ccr 0, test=(255,0,0)
  kernel: pg0: epat: port 0x378, mode 3, ccr ff, test=(255,255,510)
  kernel: pg0: epat: port 0x378, mode 4, ccr ff, test=(255,255,510)
  kernel: pg0: epat: port 0x378, mode 5, ccr ff, test=(255,255,510)
  kernel: pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 2 (8-bit), delay 1
  kernel: pg0: Reset (1001) signature = ff ff ff ff ff (incorrect)
  kernel: pg0: Reset (1) signature = 1 1 1 14 eb
  kernel: pg0: HP CD-Writer+ 7100, slave

-----------------------------
# cdrecord -scanbus
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jörg Schilling
scsibus0:
                  0) 'QUANTUM ' 'XP34550S ' 'LYK8' Disk
                  1) *
                  2) *
cdrecord: Warning: controller returns wrong size for CD capabilities page.
                  3) 'TEAC ' 'CD-ROM CD-532S ' '1.0A' Removable CD-ROM
                  4) *
                  5) *
                  6) *
                  7) *
scsibus1:
                100) 'HP ' 'CD-Writer+ 7100 ' '1.00' Removable CD-ROM
                101) *
                102) *
                103) *
                104) *
                105) *
                106) *
                107) *
-----------------------------

Made the image checked it with loop device, everything ok.
Now I did:

# cdrecord -v dev=1,0,0 cdimage.raw
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 7100 '
Revision : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Track 01: data 409 MB
Total size: 470 MB (46:36.50) = 209738 sectors
Lout start: 470 MB (46:38/38) = 209738 sectors
Current Secsize: -1
  ATIP start of lead in: -11754 (97:25/21)
  ATIP start of lead out: 335100 (74:30/00)
Disk type: Cyanine, AZO or similar
Manufacturer: Hitachi Maxell, Ltd.
Blocks total: 335100 Blocks current: 331940 Blocks remaining: 122202
RBlocks total: 346013 RBlocks current: 342853 RBlocks remaining: 133115
Starting to write CD/DVD at speed 1 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: 3160
Track 01: 409 of 409 MB written (fifo 100%).
Track 01: Total bytes read/written: 429539328/429539328 (209736 sectors).
Writing time: 2814.910s
Fixating...
Fixating time: 257.878s
cdrecord: fifo had 13109 puts and 13109 gets.
cdrecord: fifo was 0 times empty and 12952 times full, min fill was 82%.

--------------------

# mount -t iso9660 /dev/cdrom /mnt/cdrom

excerpt from syslog:
  kernel: CDROM not ready. Make sure there is a disc in the drive.
  kernel: sr_photocd: ioctl error (SONY/PIONEER): 0x28000000

BTW, trying to read the CD on a Win NT 4.0 (SP5) box produces a CRC-error
message.

--------------------
I did a second try partly to exclude a random error and partly to try
different parameter settings:
parallel port mode set to EPP, using module parameters

# insmod pg verbose=1 drive0=0x378,0,0,5,-1,2

which yielded a syslog of

  kernel: pg: pg version 1.02s, major 97
  kernel: pg0: epat: port 0x378, mode 5, ccr 0, test=(255,0,0)
  kernel: pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 2
  kernel: pg0: Reset (1001) signature = ff ff ff ff ff (incorrect)
  kernel: pg0: Reset (204) signature = 1 1 1 14 eb
  kernel: pg0: HP CD-Writer+ 7100, slave

then did a ('-data' is the default anyway)

# cdrecord -v -data speed=2 dev=1,0,0 cdimage.raw

Same output as before, except for the obvious changes (speed
parameters and times)

Again no error indication and trying to mount yielded the same result.

-- 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 Tue 21 Dec 1999 - 09:52:10 EST