Hello there,
I described my problem to Matthew Dharm (author of usb-storage) and he
asked me to take it here. I'm trying to make a Pontis SP 600 MP3 player
work with my Gentoo system. It basically appears to work, the device is
listed in /proc/scsi, I can access its CF card as /dev/sda1, I can
create a file system and write files to it. Unfortunately the files get
corrupted during the process, leading to nasty jittering.
I copied a file to the player and back, then made a before/after
comparison using hexdump and diff and discovered an interesting pattern:
Most of the data is intact, but every now and then a 64 byte block is
corrupted, just like in this example:
before:
1e1580 83 8d 8e 0d 51 ab d9 bb 8f 35 97 a2 4e 3a ce cc c.....R. ..ps+...
1e1590 fe ad e1 6f 7d db bd da db 7a 6c e5 f2 58 b7 ff ...?'... .:%V2...
1e15a0 bb d7 ff 1a 1c 74 2c 51 e2 2e a5 e9 a1 10 ea 8a .P...... S.vZ~...
1e15b0 ce 8a f4 67 64 62 d8 c2 3c c3 92 65 a6 e7 29 1b ..4...QB .Ck.wX..
after:
1e1580 40 83 8d 8e 0d 51 ab d9 bb 8f 35 97 a2 4e 3a ce c.....R ...ps+..
1e1590 cc fe ad e1 6f 7d db bd da db 7a 6c e5 f2 58 b7 ....?'.. ..:%V2..
1e15a0 ff bb d7 ff 1a 1c 74 2c 51 e2 2e a5 e9 a1 10 ea ..P..... .S.vZ~..
1e15b0 8a ce 8a f4 67 64 62 d8 c2 3c c3 92 65 a6 e7 29 ...4...Q B.Ck.wX.
After copying there's an extra 0x40 byte that doesn't belong there at
the beginning of the block. The rest of the block is shifted one byte
back and the last byte is lost. I've found 9 corrupt blocks in a 7 MB
file, the rest of the file was OK. Reading files from the player works
flawlessly.
I tried the player at a friend's WinXP system and it worked fine. So the
problem is either located in my USB hardware (I've never used it before,
so I can't rule out that possibility) or somewhere in the drivers
(usbcore.o, usb-ohci.o and usb-storage.o).
My system:
AMD Duron 800 MHz
Linux 2.4.25-gentoo-r2 (tried a Knoppix CD, too)
SiS USB 1.0 Controller (rev 07)
I'm not subscribed to the list, so please add me to the recipients if
you have any advice or further questions.
Cheers,
Ingo
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel