On Sat, 10 Nov 2007, Mark Lord wrote:That's strange. It happens periodically, you say? What's the period? Me too. It seems rather unlikely that they are coming from the USB device or the transport, since at that level everything is addressed in terms of sector numbers. I don't see how 16 extra sectors could just get inserted. More believable would be a problem in the block layer, the filesystem, or the application. Or it makes all drives somewhat unreliable, depending on just where the problem is. You could try doing a more specific test. Write a program to access the block device sector-by-sector and store a distinct recognizable byte pattern to each sector. (Maybe just repeat the 4-byte sector number over and over.) Then write another program to read the data back and see what bytes ended up in which sectors. At the same time, use the usbmon facility (see Documentation/usb/usbmon.txt) to record exactly what data gets sent to/from the stick. That should at least be sufficient to determine the problem is in the stick itself, in the SCSI/USB layers, or someplace higher up. Alan Stern -
| Peter Zijlstra | [RFC][PATCH 7/7] lockdep: spin_lock_nest_lock() |
| Gabriel C | Re: 2.6.24-rc2-mm1 |
| Andrew Morton | Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP |
| Jiri Kosina | Re: 2.6.21-rc5-mm4 |
git: | |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
