2013/3/4 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > On Mon, 4 Mar 2013, Lan Tianyu wrote: > >> Test on the Sandybridge platform. >> At the first time, I get following output. But after that, I was >> hard to get any output. And test on the v3.8. > > You have to unplug the flash drive after running the test each time. > By the way, be sure to apply Clemens Ladisch's fix to the test program: > > http://marc.info/?l=linux-usb&m=136226443502631&w=2 Ok apply it. Retest. No problem. The following log only takes place When I stop ehci-test or unplug device during test. [ 140.871303] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f0c0 ep1in-bulk [ 140.878231] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fcc0 ep1in-bulk [ 140.885158] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fb40 ep1in-bulk [ 140.892088] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f9c0 ep1in-bulk > >> sudo ./ehci-test /dev/bus/usb/001/003 >> [ 140.855342] usb-storage 1-1.2:1.0: disconnect by usbfs >> Invalid URB stat[ 140.863000] ehci-pci 0000:00:1a.0: shutdown urb >> ffff88014545f300 ep1in-bulk >> [ 140.871303] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f0c0 ep1in-bulk >> [ 140.878231] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fcc0 ep1in-bulk >> [ 140.885158] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fb40 ep1in-bulk >> [ 140.892088] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f9c0 ep1in-bulk >> [ 140.899015] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f780 ep1in-bulk >> [ 140.905941] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f240 ep1in-bulk >> [ 140.912870] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f900 ep1in-bulk >> [ 140.919799] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fc00 ep1in-bulk >> [ 140.926725] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f540 ep1in-bulk >> [ 140.933655] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f3c0 ep1in-bulk >> [ 140.940583] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fd80 ep1in-bulk >> [ 140.947512] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f600 ep1in-bulk >> [ 140.954440] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f180 ep1in-bulk >> [ 140.961368] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f000 ep1in-bulk >> [ 140.968297] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545fa80 ep1in-bulk >> [ 140.975223] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545f840 ep1in-bulk >> us -32, act len [ 140.982151] ehci-pci 0000:00:1a.0: shutdown urb >> ffff88014545fe40 ep1in-bulk >> [ 140.990459] ehci-pci 0000:00:1a.0: shutdown urb ffff88014545ff00 ep1in-bulk >> [ 140.997388] ehci-pci 0000:00:1a.0: shutdown urb ffff880145f08000 ep1in-bulk >> [ 141.004316] ehci-pci 0000:00:1a.0: shutdown urb ffff880145f080c0 ep1in-bulk >> [ 141.011245] ehci-pci 0000:00:1a.0: shutdown urb ffff880145f08180 ep1in-bulk > > The fix to the test program ought to help with this. > > Alan Stern > -- Best regards Tianyu Lan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html