Re: [PARPORT] Freecom CD/RW problems

From: Richard Polton (Richard.Polton@msdw.com)
Date: Fri Mar 30 2001 - 02:11:24 EST

  • Next message: Tim Waugh: "Re: [PARPORT] Example Code"

    I have tried with 2.4.2-ac9 and the behaviour is the same. I am attaching the
    relevant portions of my syslog output for when I try to insmod first
    pg and then, after failing, pcd. Note that pcd loads but does not allow
    me to mount a filesystem, in that

    mount /dev/pcd0 /mnt/cdrom -t iso9660 -o ro

    fails although it does load various other modules (e.g. fat, vfat,
    nls-iso8859-1 etc.)
    before doing so. Note also that I have added several printks to the code in
    both cases hence the extra lines in the output.

    Thanks,

    Richard

    Mar 29 23:34:33 turbocharged kernel: pg: pg version 1.02, major 97
    Mar 29 23:34:33 turbocharged kernel: pg0: friq: port 0x378, mode 0,
    test=(0,0,0)
    Mar 29 23:34:33 turbocharged kernel: pg0: friq: port 0x378, mode 1,
    test=(0,0,0)
    Mar 29 23:34:33 turbocharged kernel: pg0: friq: port 0x378, mode 2,
    test=(0,0,128)
    Mar 29 23:34:33 turbocharged kernel: pg0: friq: port 0x378, mode 3,
    test=(0,0,128)
    Mar 29 23:34:33 turbocharged kernel: pg0: friq: port 0x378, mode 4,
    test=(0,0,128)
    Mar 29 23:34:33 turbocharged kernel: pg0: friq 1.01, Freecom IQ ASIC-2 adapter
    at 0x378, mode 1 (8-bit), delay 1
    Mar 29 23:34:33 turbocharged kernel: pg_probe: PG.drive=-1
    Mar 29 23:34:33 turbocharged kernel: pg_probe: PG_drive=0
    Mar 29 23:34:33 turbocharged kernel: pg0: Reset (1) signature = 1 1 1 14
    eb
    Mar 29 23:34:33 turbocharged kernel: pg_wait: go=0x88 stop=0x0
    Mar 29 23:34:33 turbocharged kernel: pg_wait: go=0x80 stop=0x8
    Mar 29 23:34:33 turbocharged kernel: pg0: Command sent, dlen=36 packet= 12 00
    00 00 24 00 00 00 00 00 00 00
    Mar 29 23:34:33 turbocharged kernel: pg_wait: go=0x80 stop=0x49
    Mar 29 23:34:33 turbocharged kernel: pg_wait: RR(1,6)=0x80
    Mar 29 23:34:34 turbocharged last message repeated 298 times
    Mar 29 23:34:34 turbocharged kernel: pg0: completion: stat=0x80 err=0x1
    phase=1 timeout
    Mar 29 23:34:34 turbocharged kernel: pg_completion: pg_wait returns -1
    Mar 29 23:34:34 turbocharged kernel: pg_identify: pg_completion returns -1
    Mar 29 23:34:34 turbocharged kernel: pg_probe: PG_drive=1
    Mar 29 23:34:34 turbocharged kernel: pg0: Reset (1) signature = 80 1 33 24
    0 (incorrect)
    Mar 29 23:34:34 turbocharged kernel: pg_detect: k=0
    Mar 29 23:34:34 turbocharged kernel: pg: No ATAPI device detected
    Mar 29 23:35:18 turbocharged kernel: pcd: pcd version 1.07, major 46, nice 0
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x3bc, mode 0,
    test=(255,255,128)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x3bc, mode 1,
    test=(255,255,128)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x378, mode 0,
    test=(0,0,0)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x378, mode 1,
    test=(0,0,0)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x378, mode 2,
    test=(0,0,128)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x378, mode 3,
    test=(0,0,128)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq: port 0x378, mode 4,
    test=(0,0,128)
    Mar 29 23:35:18 turbocharged kernel: pcd0: friq 1.01, Freecom IQ ASIC-2
    adapter at 0x378, mode 1 (8-bit), delay 1
    Mar 29 23:35:19 turbocharged kernel: pcd0: Reset (1) signature = 1 1 1 14
    eb
    Mar 29 23:35:19 turbocharged kernel: pcd0: identify: Read 36 bytes
    Mar 29 23:35:19 turbocharged kernel: pcd0: Master: R/RW 2x2x24
    Mar 29 23:35:19 turbocharged kernel: pcd0: mode sense capabilities completion:
    alt=0x53 stat=0x51 err=0x60 loop=0 phase=3
    Mar 29 23:35:19 turbocharged kernel: pcd0: Request sense: Read 16 bytes
    Mar 29 23:35:19 turbocharged kernel: pcd0: mode sense capabilities: Sense key:
    6, ASC: 29, ASQ: 0
    Mar 29 23:35:39 turbocharged kernel: pcd0: test unit ready completion:
    alt=0x53 stat=0x51 err=0x60 loop=0 phase=3
    Mar 29 23:35:39 turbocharged kernel: pcd0: Request sense: Read 16 bytes
    Mar 29 23:35:39 turbocharged kernel: pcd0: test unit ready: Sense key: 6, ASC:
    28, ASQ: 0
    Mar 29 23:36:21 turbocharged kernel: ad toc entry: Unexpected phase 2, d=8,
    k=516
    Mar 29 23:36:21 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=517
    Mar 29 23:36:21 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=518

    < snip -- you can guess what goes here :->

    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=794
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=795
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=796
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=797
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=798
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=799
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=800
    Mar 29 23:37:14 turbocharged kernel: pcd0: read toc entry: Unexpected phase 2,
    d=8, k=801
    Mar 29 23:37:14 turbocharged kernel: pcd0: Stuck DRQ
    Mar 29 23:37:14 turbocharged kernel: pcd0: lock door before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 29 23:37:14 turbocharged kernel: pcd0: Request sense before command:
    alt=0x58 stat=0x58 err=0x100 loop=160001 phase=2
    Mar 29 23:37:14 turbocharged kernel: VFS: Disk change detected on device
    pcd(46,0)
    Mar 29 23:37:14 turbocharged kernel: pcd0: read block before command: alt=0x58
    stat=0x58 err=0x100 loop=160001 phase=2
    Mar 29 23:37:14 turbocharged kernel: end_request: I/O error, dev 2e:00 (PCD),
    sector 64
    Mar 29 23:37:14 turbocharged kernel: isofs_read_super: bread failed,
    dev=2e:00, iso_blknum=16, block=32
    Mar 29 23:37:14 turbocharged kernel: pcd0: unlock door before command:
    alt=0x58 stat=0x58 err=0x100 loop=160001 phase=2
    Mar 29 23:37:14 turbocharged kernel: pcd0: Request sense before command:
    alt=0x58 stat=0x58 err=0x100 loop=160001 phase=2
    Mar 29 23:37:14 turbocharged kernel: VFS: Disk change detected on device
    pcd(46,0)
    Mar 29 23:37:14 turbocharged kernel: pcd0: unlock door before command:
    alt=0x58 stat=0x58 err=0x100 loop=160001 phase=2
    Mar 29 23:37:14 turbocharged kernel: pcd0: Request sense before command:
    alt=0x58 stat=0x58 err=0x100 loop=160001 phase=2

    Tim Waugh wrote:

    > On Wed, Mar 07, 2001 at 04:10:04PM +0000, Richard Polton wrote:
    >
    > > I am currently using kernel 2.4.2. So far, I can modprobe pcd
    > > successfully but cannot
    > > mount a cd (I get Stuck DRQ error messages) but, oddly, I cannot
    > > modprobe pg.
    >
    > Does it lock up or fail with an error? Does the same problem happen
    > with a recent -ac kernel?
    >
    > Tim.
    > */
    >
    > ------------------------------------------------------------------------
    > Part 1.2Type: application/pgp-signature

    -- 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 30 2001 - 02:32:20 EST