[PARPORT] Stange results with EPAT

From: Mark Howard (mh344@cam.ac.uk)
Date: Wed Nov 21 2001 - 11:51:38 EST

  • Next message: Tim Waugh: "Re: [PARPORT] Stange results with EPAT"

    Hi,
            I have an old quickdrive using the shuttle epat plus 635d chip. I am
    able to install the modules with no reported problems, but the the data
    is messed up (including the partition table) (see examples further
    down).

    I have tried this with two different disks, both known to work, and got
    the same results.

    When I tried to write a new parition table, it did so without errors,
    but then could not read it. When trying to create a filesystem on the
    disk, the system hangs (probably due to it not reading the partition
    info correctly).

    I am running kernel 2.4.12

    dmesg information:
    pda: epat 1.02, Shuttle EPAT chip c6 at 0x378, mode 2 (8-bit), delay 1
    pda: SAOSWNG WN3236, master, 1426312800 blocks [696441M],
    (4698/528/575), fixed media
     pda: pda1 pda2 pda3 pda4

    This is actually a SAMSUNG WN321620A, not a SAOSWNG WN3236 as printed
    above.

    With the other disk, it returns 0aztor "92670W2, Which should be a
    maxtor 90650U2

    result of dd -if=/dev/pda -count=50:

    0000:0000 00 02 00 02 bc 02 7c fb 50 07 50 1f fc be 1b 7e
    ....¼.|ûP.P.ü¾.~
    0000:0010 bf 1b 06 52 57 bb e5 03 f3 a6 cb be be 07 b1 06
    ¿..RW»å.ó¦Ë¾¾.±.
    0000:0020 38 2e 7c 0b 75 17 83 c6 10 e2 f5 cf 18 8b 14 8b
    8.|.u..Æ.âõÏ....
    0000:0030 ee 83 c6 12 49 76 16 3a 2c 76 f6 be 10 07 4e ae
    î.Æ.Iv.:,vö¾..N®
    0000:0040 3c 02 74 fa bb 07 00 b6 0e cf 10 eb f2 8b 46 27
    <.tú»..¶.Ï.ëò.F'
    0000:0050 96 8a 46 06 b4 06 3c 0e 74 13 b4 0b 3c 0e 74 07
    ..F.´.<.t.´.<.t.
    0000:0060 3a c6 75 2b 40 c6 46 27 06 77 24 bb aa 57 50 b6
    :Æu+@ÆF'.w$»ªWP¶
    0000:0070 41 cf 13 5a 72 16 81 fb 55 aa 75 12 f6 c3 01 76
    AÏ.Zr..ûUªu.öÃ.v
    0000:0080 0b 8a e0 8a 56 26 c7 06 a1 06 eb 1e 88 66 04 bf
    ..à.V&Ç.¡.ë..f.¿
    0000:0090 0a 02 b8 03 02 8b dc 33 c9 83 ff 07 7f 03 8b 4e
    ..¸...Ü3É.ÿ....N
    0000:00a0 25 03 4e 02 cd 13 72 2b be 77 07 83 3e fe 7d 57
    %.N.Í.r+¾w..>þ}W
    0000:00b0 aa 76 5a 83 ef 07 7f da 85 f6 75 83 be 3f 07 eb
    ªvZ.ï..Ú.öu.¾?.ë
    0000:00c0 8a 9a 91 52 99 03 46 0a 13 56 0a ea 12 02 5a eb
    ...R..F..V.ê..Zë
    0000:00d0 d5 4f 74 e6 33 c2 cd 13 eb ba 00 02 80 1a 44 16
    ÕOtæ3ÂÍ.ëº....D.
    0000:00e0 56 33 f6 56 56 52 50 06 53 53 be 12 00 56 8b f6
    V3öVVRP.SS¾..V.ö
    0000:00f0 50 52 b8 02 42 8a 56 26 cd 13 5a 5a 8d 66 10 72
    PR¸.B.V&Í.ZZ.f.r
    0000:0100 0a 42 75 03 42 82 c7 02 e2 f7 f8 5e c3 eb 74 4b
    .Bu.B.Ç.â÷ø^ÃëtK
    0000:0110 6e 76 61 6e 69 66 20 72 61 72 74 6b 74 6b 6f 6e nvanif
    rartktkon
    0000:0120 20 76 61 62 6c 67 2e 22 53 67 74 77 70 22 63 63
    vablg."Sgtwp"cc
    0000:0130 6e 6e 6f 76 20 63 6f 6e 74 6b 6e 77 65 2e 00 47 nnov
    contknwe..G
    0000:0140 72 72 6f 72 20 6e 6f 63 64 6b 6e 67 20 6f 70 67 rror nocdkng
    opg
    0000:0150 72 63 74 6b 6e 67 20 73 79 73 74 67 6d 2e 20 53 rctkng systgm.
    S
    0000:0160 65 76 75 72 20 63 61 6e 6e 6f 74 22 63 6f 6e 76 evur
    cannot"conv
    0000:0170 69 6e 75 67 2e 02 00 02 00 02 00 02 00 02 00 02
    inug............

    I think the end bit should be roughly "setup cannot continue error
    loading operating system. system cannot continue.

    Interestingly, there doesn't seem to be any pattern to which characters
    are altered. It seems to be completely random.

    I would really like to hear some advice on this problem. I do not know
    what to try next. If anyone has found a similar problem and not been
    able to fix it, I would also Like to know.

    Also, If anyone has any advice about getting technical data from
    manufacturers (in case nobody is able to solve the problem), then this
    may also be useful.

    I look forward to hearing a response. Thanks in advance.

    Mark Howard
    mh@tildemh.com
    mh344@hermes.cam.ac.uk

    -- 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 Nov 21 2001 - 11:56:01 EST