On Tuesday 19 October 2004 11:24 am, Alan Stern wrote: > On Tue, 19 Oct 2004, Olaf Hering wrote: > > > I see some odd data corruption on the device below. There is no IO error > > in dmesg. The corruption is at random offset. > > > > ... > > lemon:/dev/shm # diff -u /tmp/1.xxd /tmp/2.xxd | grep -Em 1 '^-[^-]' > > -069fc40: f041 fe7e bad8 104f b3fd 950a 3dd9 fb18 .A.~...O....=... > > lemon:/dev/shm # diff -u /tmp/1.xxd /tmp/2.xxd | grep -A3 ^.069fc40 > > -069fc40: f041 fe7e bad8 104f b3fd 950a 3dd9 fb18 .A.~...O....=... > > -069fc50: 08be d3fd 7a69 7157 4823 d7e9 9777 1755 ....ziqWH#...w.U > > -069fc60: 7f0c 5dc5 1771 1ddc 51dd 2048 8c81 2084 ..]..q..Q. H.. . > > -069fc70: 8120 0fe6 7f06 8f9d 8801 c515 50d5 d777 . ..........P..w > > -- > > +069fc40: f041 fe7e bad8 fe7e 76bc 8998 b7d3 b9b7 .A.~...~v....... > > +069fc50: f1e2 fd6f fb73 ca22 2222 2222 2222 2223 ...o.s.""""""""# > > +069fc60: de4e 597c cb4b 20c5 0fc7 dbbe ee7b d875 .NY|.K ......{.u > > +069fc70: 76fc a207 b27b 1fb9 ffad 5ffc 3eb7 f9ef v....{...._.>... > > lemon:/dev/shm #
That's evil... > > It was reported on an intel box with the hardware data below, but I can > > also reproduce it on ppc32 with a VIA USB2 controller. If it was a VT6202, those have always made trouble; the VT6212 is much better. The EHCI 0.95 chips were less consistently implemented than the EHCI 1.0 ones, and at the very least some VT6202 timings caused strange things to happen. ... But having this on an Intel chip too is surprising. Was this with the BIOS support for USB disabled? > The differences show up at offsets that aren't multiples of 512, so > they're not on a sector boundary or a USB packet boundary. Yes. As if something other than USB is corrupting the data. It'd be interesting to know just when ... it'd be easy enough to checksum buffers before and after they're written with USB, which would at least start to narrow down when the corruptin happened. - Dave > Can you run the tests with a different USB disk drive? Were the tests on > the Intel and PPC machines done using the same drive? > > Alan Stern > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel