I tried usbmon before forcing crash: T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 2.06 S: Manufacturer=Linux 2.6.32.28 ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:12.2 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0e39 ProdID=2b00 Rev=88.3c S: Manufacturer=SMART S: Product=eUSB S: SerialNumber=29879006164049261011 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us bash-4.1# As this USB is on bus 1, I tried below: cat /sys/kernel/debug/usb/usbmon/1u I didn't see anything till I copied a file or did some activity on it. While cat'ing above, I copied a file to that flash with dd in another terminal and I got this: -bash-4.1# cat /sys/kernel/debug/usb/usbmon/1u ffff88013e81acc0 1352058978 S Bo:1:002:2 -115 31 = 55534243 301d0000 00e00100 00000a2a 00001a8f 970000f0 00000000 000000 ffff88013e81acc0 1352059090 C Bo:1:002:2 0 31 > ffff8800a9a306c0 1352059112 S Bo:1:002:2 -115 4096 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800a9a30600 1352059115 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800a9a30480 1352059117 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800b2981d40 1352059119 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800b2981c80 1352059120 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800b2981b00 1352059122 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800b2981bc0 1352059123 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800b2981a40 1352059125 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8a3140 1352059126 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8a3500 1352059127 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8a3440 1352059129 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8a3740 1352059130 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8a3380 1352059131 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8a3080 1352059133 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e8532c0 1352059134 S Bo:1:002:2 -115 8192 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff88013e9cd900 1352059135 S Bo:1:002:2 -115 4096 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffff8800a9a306c0 1352068401 C Bo:1:002:2 0 4096 > ffff8800a9a30600 1352068410 C Bo:1:002:2 0 8192 > ffff8800a9a30480 1352068411 C Bo:1:002:2 0 8192 > ffff8800b2981d40 1352068413 C Bo:1:002:2 0 8192 > ffff8800b2981c80 1352068414 C Bo:1:002:2 0 8192 > ffff8800b2981b00 1352068416 C Bo:1:002:2 0 8192 > ffff8800b2981bc0 1352068424 C Bo:1:002:2 0 8192 > ffff8800b2981a40 1352068425 C Bo:1:002:2 0 8192 > ffff88013e8a3140 1352068427 C Bo:1:002:2 0 8192 > ffff88013e8a3500 1352068428 C Bo:1:002:2 0 8192 > ffff88013e8a3440 1352068430 C Bo:1:002:2 0 8192 > ffff88013e8a3740 1352068431 C Bo:1:002:2 0 8192 > ffff88013e8a3380 1352068432 C Bo:1:002:2 0 8192 > ffff88013e8a3080 1352068434 C Bo:1:002:2 0 8192 > ffff88013e8532c0 1352069318 C Bo:1:002:2 0 8192 > ffff88013e9cd900 1352069328 C Bo:1:002:2 0 4096 > ffff88013e81acc0 1352069359 S Bi:1:002:1 -115 13 < ffff88013e81acc0 1352069818 C Bi:1:002:1 0 13 = 55534253 301d0000 00000000 00 ffff88013e81acc0 1352069918 S Bo:1:002:2 -115 31 = 55534243 311d0000 00e00100 00000a2a 00001a90 870000f0 00000000 000000 ffff88013e81acc0 1352070055 C Bo:1:002:2 0 31 > But I'm seeing the issue in early boot. So is there any other way to get the usbmon traces out? Thank you. On Thu, Oct 31, 2013 at 8:52 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Wed, 30 Oct 2013, Prasad Koya wrote: > >> Hi >> >> Here are dmesg's with old_scheme_first=1 and where it took about 20s >> for usb-storage to start using this device. Is there a way I can >> enable debugs from usb-storage to see what it is doing in that 20s >> gap. The device in question is at usb1-3 (sdb), manufactured by SMART. > > The easiest way to find out is by using usbmon, not by enabling debug > in usb-storage. > > Alan Stern > -- 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