[PARPORT] mount a freecom portable CDRW

From: Stefan Riha (s.riha@gmx.at)
Date: Sat Mar 23 2002 - 17:02:46 EST

  • Next message: David Tansey: "[PARPORT] quickcd problems with debian 2.2 install"

    1) I want to use the freecom CDRW as a normal CD.

    #modprobe paride
    #modprobe friq
    #modprobe pcd
    #mount /dev/pcd0 /media/cdrom

    now i get the error message on the terminal:

    /dev/pcd0: Input/output error
    mount: block device /dev/pcd0 is write-protected, mounting read-only
    mount: No medium found

    and some error messages in /var/log/messages

    Mar 19 19:15:02 linux kernel: paride: version 1.06 installed (parport)
    Mar 19 19:15:27 linux kernel: paride: friq registered as protocol 0
    Mar 19 19:15:54 linux kernel: pcd: pcd version 1.07, major 46, nice 0
    Mar 19 19:15:54 linux kernel: parport0: PC-style at 0x378 [PCSPP(,...)]
    Mar 19 19:15:54 linux kernel: pcd0: Sharing parport0 at 0x378
    Mar 19 19:15:54 linux kernel: pcd0: friq 1.01, Freecom IQ ASIC-2 adapter at
    0x378, mode 4 (EPP-32), delay 1
    Mar 19 19:15:56 linux kernel: pcd0: Master: R/RW 2x2x24
    Mar 19 19:15:56 linux kernel: pcd0: mode sense capabilities completion:
    alt=0x53 stat=0x51 err=0x60 loop=0 phase=3
    Mar 19 19:15:56 linux kernel: pcd0: mode sense capabilities: Sense key: 6,
    ASC: 29, ASQ: 0
    Mar 19 19:18:14 linux kernel: pcd0: WARNING: ATAPI phase errors
    Mar 19 19:18:14 linux kernel: pcd0: Stuck DRQ
    Mar 19 19:18:14 linux kernel: pcd0: lock door before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:18:14 linux kernel: pcd0: Request sense before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:18:14 linux kernel: VFS: Disk change detected on device pcd(46,0)
    Mar 19 19:18:28 linux kernel: pcd0: read block before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:18:28 linux kernel: end_request: I/O error, dev 2e:00 (PCD),
    sector 0
    Mar 19 19:18:43 linux kernel: pcd0: read block before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:18:43 linux kernel: end_request: I/O error, dev 2e:00 (PCD),
    sector 2
    Mar 19 19:19:12 linux kernel: pcd0: read block before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:19:12 linux kernel: end_request: I/O error, dev 2e:00 (PCD),
    sector 4
    Mar 19 19:19:12 linux kernel: pcd0: read block before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:19:12 linux kernel: end_request: I/O error, dev 2e:00 (PCD),
    sector 6
    Mar 19 19:19:41 linux kernel: pcd0: unlock door before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:19:41 linux kernel: pcd0: Request sense before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:20:39 linux kernel: pcd0: Request sense before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:20:39 linux kernel: cdrom: open failed.
    Mar 19 19:20:39 linux kernel: pcd0: unlock door before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:20:39 linux kernel: pcd0: Request sense before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:20:39 linux kernel: VFS: Disk change detected on device pcd(46,0)
    Mar 19 19:21:37 linux kernel: pcd0: Request sense before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:21:37 linux kernel: cdrom: open failed.
    Mar 19 19:21:37 linux kernel: pcd0: unlock door before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:21:37 linux kernel: pcd0: Request sense before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 19 19:21:37 linux kernel: VFS: Disk change detected on device pcd(46,0)

    I cant mount a normal data CD.

    2) I want to write a image to a CD.

    #modprobe paride
    #modprobe friq
    #modprobe pg

    I can't load the module pg because i get the error message:

    /lib/modules/2.4.18/kernel/drivers/block/paride/pg.o: init_module: Operation
    not permitted
    /lib/modules/2.4.18/kernel/drivers/block/paride/pg.o: insmod
    /lib/modules/2.4.18/kernel/drivers/block/paride/pg.o failed
    /lib/modules/2.4.18/kernel/drivers/block/paride/pg.o: insmod pg failed
    Hint: insmod errors can be caused by incorrect module parameters, including
    invalid IO or IRQ parameters

    and i find some error messages in the /var/log/messages data:

    Mar 22 21:13:11 linux kernel: paride: version 1.06 installed (parport)
    Mar 22 21:13:16 linux kernel: paride: friq registered as protocol 0
    Mar 22 21:13:28 linux kernel: pg: pg version 1.02, major 97
    Mar 22 21:13:28 linux kernel: parport0: PC-style at 0x378 [PCSPP(,...)]
    Mar 22 21:13:29 linux kernel: pg0: Sharing parport0 at 0x378
    Mar 22 21:13:29 linux kernel: pg0: friq 1.01, Freecom IQ ASIC-2 adapter at
    0x378, mode 4 (EPP-32), delay 1
    Mar 22 21:13:30 linux kernel: pg: No ATAPI device detected
    Mar 22 21:13:40 linux kernel: pg: pg version 1.02, major 97
    Mar 22 21:13:40 linux kernel: pg0: Sharing parport0 at 0x378
    Mar 22 21:13:40 linux kernel: pg0: friq 1.01, Freecom IQ ASIC-2 adapter at
    0x378, mode 4 (EPP-32), delay 1
    Mar 22 21:13:41 linux kernel: pg: No ATAPI device detected

    Now I hope you can understand me.
    I hope you can help me.

    MFG
    Stefan Riha

    -- 
    Stefan Riha
    s.riha@gmx.at
    

    GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

    -- 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 : Sat Mar 23 2002 - 17:08:44 EST