[PARPORT] HP 7100e CDWriter Plus using insmod pg

From: Barry Chase (bsc7080@mindspring.com)
Date: Wed Apr 26 2000 - 02:45:28 EDT

  • Next message: qyzhu@krdl.org.sg: "[PARPORT] ECPSW mode error?"

    First let me apologize for the length, but I don't want to leave any
    information out that maybe helpful to resolving my problem.

    Was lucky enough to acquire a 7100e HP CDRW parallel unit. Works under
    Windows fine. Decide to move to linux box
    Mandrake 6.1
    Linux version 2.2.13-7mdk
    did the following:
    to make sure the lp wasn't using the parallel port
    insmod lp
    rmmod lp
    insmod paride
    insmod epat
    insmod pcd
    It recognizes the drive and I can mount it as /dev/pcd0 /mnt/cdrom with
    no issues.
    Perused the threads in the support linux-parport list. Found that this
    only if I want to use it as a regular CD. So pg is what I want to use
    with cdrecord. Downloaded the latest and greatest cdrecord 1.8 to make
    sure I would be fully compatible.
    Rebooted the system.
    insmod lp
    rmmod lp
    insmod paride
    insmod epat
    insmod pg

    Allows me to blank cd's with cdrecord, but it won't burn files correctly.
    Threads in this list indicate that I need to load pg as such:

    insmod pg drive0=0x378,0,0,2,1,0

    This results in errors when the module loads as such :

    insmod pg drive0=0x378,0,0,2,1,0
    /lib/modules/2.2.13-7mdk/misc/pg.o: init_module: Device or resource busy

    but when I try the following:

    insmod pg drive0=0x378,0,0,1,1,0

    results in a log to /var/log/messages

    Apr 25 23:36:03 linuxgateway kernel: pg0: epat 1.01, Shuttle EPAT chip c6
    at 0x378, mode 1 (5/3), delay 0
    Apr 25 23:36:05 linuxgateway kernel: pg0: HP CD-Writer+ 7100, slave

    then I type :

    cdrecord dev=0,0 -checkdrive

    Cdrecord release 1.8a27 Copyright (C) 1995-1999 Jörg Schilling
    scsidev: '0,0'
    scsibus: 0 target: 0 lun: 0
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 1
    Vendor_info : 'HP '
    Identifikation : 'CD-Writer+ 7100 '
    Revision : '3.01'
    Device seems to be: Generic mmc CD-RW.
    Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    Driver flags : SWABAUDIO

    Additionally the messages log shows this

    Apr 25 23:44:20 linuxgateway modprobe: can't locate module char-major-21

    maybe a source of my problem ??

    cdrecord dev=0,0 -fix gave this

    Cdrecord release 1.8a27 Copyright (C) 1995-1999 Jörg Schilling
    scsidev: '0,0'
    scsibus: 0 target: 0 lun: 0
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 1
    Vendor_info : 'HP '
    Identifikation : 'CD-Writer+ 7100 '
    Revision : '3.01'
    Device seems to be: Generic mmc CD-RW.
    Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    Driver flags : SWABAUDIO
    Starting to write CD/DVD at speed 1 in write mode for single session.
    Last chance to quit, starting real write in 1 seconds.
    cdrecord: Input/output error. close track/session: scsi sendcmd: retryable
    error
    CDB: 5B 00 02 00 00 00 00 00 00 00
    status: 0x2 (CHECK CONDITION)
    Sense Bytes: F0 00 05 00 00 00 00 19 00 0C 5C D8 2C 00 00 80 FF FF
    Sense Key: 0x5 Illegal Request, Segment 0
    Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
    Sense flags: Blk 0 (valid) error refers to data part, bit ptr 0 (not valid)
    field ptr 65535
    cmd finished after 0.013s timeout 480s

    so I try cdrecord dev=0,0 blank=all works great... so now I can blank cdrw's.

    Successfully created and mounted an iso file. Time to burn

    cdrecord -v speed=2 dev=0,0 sample.iso

    results in this :

    Cdrecord release 1.8a27 Copyright (C) 1995-1999 Jörg Schilling
    TOC Type: 1 = CD-ROM
    scsidev: '0,0'
    scsibus: 0 target: 0 lun: 0
    atapi: 1
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 1
    Vendor_info : 'HP '
    Identifikation : 'CD-Writer+ 7100 '
    Revision : '3.01'
    Device seems to be: Generic mmc CD-RW.
    Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    Driver flags : SWABAUDIO
    Drive buf size : 786432 = 768 KB
    FIFO size : 4194304 = 4096 KB
    Track 01: data 66 MB
    Total size: 76 MB (07:35.36) = 34152 sectors
    Lout start: 76 MB (07:37/27) = 34152 sectors
    Current Secsize: -1
       ATIP start of lead in: -11079 (97:34/21)
       ATIP start of lead out: 336075 (74:43/00)
    Disk type: phase change
    Manuf. index: 11
    Manufacturer: Mitsubishi Chemical Corporation
    Blocks total: 336075 Blocks current: 336075 Blocks remaining: 301923
    Starting to write CD/DVD 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
    Track 01: 3 of 66 MB written (fifo 42%).cdrecord: Input/output error.
    write_
    g1: scsi sendcmd: retryable error
    CDB: 2A 00 00 00 07 60 00 00 10 00
    status: 0x2 (CHECK CONDITION)
    Sense Bytes: F0 00 03 00 00 00 00 19 00 00 0A E1 0C 09 00 00 FF FF
    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.716s timeout 40s

    write track data: error after 3866624 bytes
    Sense Bytes: F0 00 00 00 00 00 00 19 00 00 0A F1 00 00 00 00 FF FF
    Writing time: 27.216s
    Fixating...
    Fixating time: 161.010s
    cdrecord: fifo had 246 puts and 119 gets.
    cdrecord: fifo was 0 times empty and 2 times full, min fill was 25%.

    So of the experts out there... whats my problem ? Besides being far from brief.

    -- 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 : Wed Apr 26 2000 - 02:49:06 EDT