RE: [PARPORT] mount a freecom portable CDRW

From: Stefan Riha (s.riha@gmx.at)
Date: Fri Mar 22 2002 - 16:01:02 EST

  • Next message: Al Crowley: "RE: [PARPORT] mount a freecom portable CDRW"

    To correct some errors:

    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

    >
    > Please see the following.....
    >
    > http://www.torque.net/parport/paride.html
    >
    >
    > And then.......
    >
    > http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html
    >
    >
    > Sorry, no spoon feeding here.
    >
    > -AL
    >
    >
    >
    > At 10:18 PM 3/19/2002 -0000, you wrote:
    > >Can you please be more specific? I'm a newbe with linux...
    > >What is pg?
    > >
    > >-----Original Message-----
    > >From: owner-linux-parport@gear.torque.net
    > >[mailto:owner-linux-parport@gear.torque.net] On Behalf Of Al Crowley
    > >Sent: Tuesday, March 19, 2002 9:08 PM
    > >To: linux-parport@torque.net; s.riha@gmx.at
    > >Subject: Re: [PARPORT] mount a freecom portable CDRW
    > >
    > >
    > >
    > >Ooops, I meant "modprobe pg" and not "mount as pg."
    > >
    > >Once you modprobe pg, then use cdrecord to write.
    > >
    > >
    > >
    > >At 02:24 PM 3/19/2002 -0600, Al Crowley wrote:
    > >>
    > >>Mounting it via pcd0 only mounts it as a CDROM (read-only). For this
    > >>you must have a data CD in the drive.
    > >>
    > >>To mount for writing, mount as pg instead.
    > >>
    > >>Hope this helps,
    > >>
    > >>AL
    > >>
    > >>
    > >>At 09:07 PM 3/19/2002 +0100, you wrote:
    > >>>I want to use my freecom portable CDRW witch linux.
    > >>>I have suse linux 7.2 installed.
    > >>>At next i have a a 2.4.18 kernel (without IEEE support for the
    > >>>parport) installed on my system.
    > >>>
    > >>>Now i want to use my CDRW.
    > >>>
    > >>>#modprobe paride
    > >>>#modprobe friq
    > >>>#modprobe pcd
    > >>>
    > >>>At next i want to mount my CDRW.
    > >>>
    > >>>#mount /dev/pcd0 /media/cdrom
    > >>>
    > >>>But i always get the error message that an I/O error has habened and
    > >>>that no media is in the CDRW.
    > >>>
    > >>>In the file /var/log/messages i have found the following error
    > >>>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 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. --
    > >>>
    > >>>
    > >>>
    > >>
    > >>-- To unsubscribe, send mail to: linux-parport-request@torque.net --
    > >>-- with the single word "unsubscribe" in the body of the message. --
    > >>
    > >>
    > >>
    > >
    > >-- To unsubscribe, send mail to: linux-parport-request@torque.net --
    > >-- with the single word "unsubscribe" in the body of the message. --
    > >
    > >
    > >
    >
    > -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    > -- with the single word "unsubscribe" in the body of the message. --
    >

    -- 
    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 : Fri Mar 22 2002 - 16:08:27 EST