On Tue, 24 Oct 2006, Helge Hafting wrote: > > (By the way, what do you mean by 4 KB chunks or 1 MB chunks? Does this > > refer to the bs= option for dd? That has almost nothing to do with the > > size of the transfers actually sent to the device.) > > > Yes, it refers to the bs option. I know that the drivers may > divide up a large chunk if they like, but I guess they have no > choice when the program only ask for 4kB at a time.
Wrong (you're probably thinking of character device drivers). The block layer is in charge of all that. It transfers data to and from the block cache in whatever sizes it likes, doing readahead and all sorts of other things. > The card has been in use since the successful transfer, > I can test again to see if it still is possible to read from > it with this equipment. > > But the log will be useless unless you turn on CONFIG_USB_STORAGE_DEBUG. > > > The 2.6.18 kernel I tested with is not compiled with usb debug, but > I can compile such a kernel. > > What exactly is it you want? The dmesg/syslog output after a failed 4kB > attempt with 2.6.18 with usb debug? > > And the same output for a successful transfer with 4kB blocks with > 2.6.19-rc1 assuming I can repeat this? Yep; I want to compare the two and see what the differences are. The transfer doesn't have to be very large -- just large enough to fail on one and succeed on the other. Alan Stern ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel