Eric Swenson wrote: > I'm experiencing lots of errors and significant delays in connecting > the OTG USB device of an IGEPv2 (TI OMAP3530: ARM CORTEX A8 core + > POWERVR SGX 530 core + IVA2.2 + DSP TMS320C64x+) to either another > linux or win32 host machine. When used with the g_file_storage module, > it usually takes a full 10 minutes before the mass storage file system > mounts on the host machine. > > I'm running a 2.6.33 kernel from > http://git.myigep.com/pub/scm/linux-omap-2.6.git. The sources for > this kernel apparently have the appropriate arm patches as well as > other IGEPv2 required patches. I have also applied the patch mentioned > here: > > http://marc.info/?l=linux-usb&m=126089879722260&w=2 > > without which the musb_hdrc driver fails to initialize in OTG > (host+peripheral) mode due to a bug regarding checking for dynamic > FIFO configuration. > > When the system is booted, I see this: > > Dec 31 16:00:07 igep kernel: [ 10.773742] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 > Dec 31 16:00:07 igep kernel: [ 10.776733] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 > > And when the g_file_storage module is loaded (with an associated > file-based file system), I see: > > Feb 27 14:58:12 igep kernel: [ 338.600250] g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008 > Feb 27 14:58:12 igep kernel: [ 338.600280] g_file_storage gadget: Number of LUNs=1 > Feb 27 14:58:12 igep kernel: [ 338.600311] g_file_storage gadget-lun0: ro=0, file: /home/eswenson/mstd/mstd_device.backing_file Can you add the stall=n parameter when you load the g_file_storage module? Also, the /proc/interrupts shows only 1 MUSB interrupt. Was this snapshot before the error messages? I would expect at least a few more interrupts, without which there's no traffic reaching the MUSB controller. - Anand > Feb 27 14:58:12 igep kernel: [ 338.600433] musb_hdrc musb_hdrc: MUSB HDRC host driver > Feb 27 14:58:12 igep kernel: [ 338.600524] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2 > Feb 27 14:58:12 igep kernel: [ 338.600677] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 > Feb 27 14:58:12 igep kernel: [ 338.600708] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > Feb 27 14:58:12 igep kernel: [ 338.600708] usb usb2: Product: MUSB HDRC host driver > Feb 27 14:58:12 igep kernel: [ 338.600738] usb usb2: Manufacturer: Linux 2.6.33-rc8-ejs-2010-02-27a musb-hcd > Feb 27 14:58:12 igep kernel: [ 338.600769] usb usb2: SerialNumber: musb_hdrc > Feb 27 14:58:12 igep kernel: [ 338.625549] hub 2-0:1.0: USB hub found > Feb 27 14:58:12 igep kernel: [ 338.625610] hub 2-0:1.0: 1 port detected > > However, it takes a full 10 minutes (approximately) before the system > to which the OTG device is attached is able to see and complete the > mount of the mass storage file system. > > Because I've enabled debugging messages, I see 100s of messages like > the following in syslog: > > Feb 27 09:34:15 igep kernel: [ 1719.585845] g_file_storage gadget: disconnect or port reset > Feb 27 09:34:15 igep kernel: [ 1719.585937] g_file_storage gadget: bulk_out_complete --> -104, 0/31 > Feb 27 09:34:15 igep kernel: [ 1719.585968] g_file_storage gadget: bulk_in_complete --> -104, 0/13 > Feb 27 09:34:15 igep kernel: [ 1719.585998] g_file_storage gadget: reset config > Feb 27 09:34:15 igep kernel: [ 1719.586029] g_file_storage gadget: reset interface > Feb 27 09:34:15 igep kernel: [ 1719.743591] g_file_storage gadget: disconnect or port reset > Feb 27 09:34:15 igep kernel: [ 1719.940307] g_file_storage gadget: set interface 0 > Feb 27 09:34:15 igep kernel: [ 1719.940338] musb_hdrc periph: enabled ep1in for bulk IN, dma, maxpacket 512 > Feb 27 09:34:15 igep kernel: [ 1719.940368] musb_hdrc periph: enabled ep1out for bulk OUT, dma, maxpacket 512 > Feb 27 09:34:15 igep kernel: [ 1719.940399] g_file_storage gadget: high speed config #1 > Feb 27 09:34:16 igep kernel: [ 1720.757080] g_file_storage gadget: bulk_out_complete --> -104, 0/31 > Feb 27 09:34:16 igep kernel: [ 1720.757110] g_file_storage gadget: reset config > Feb 27 09:34:16 igep kernel: [ 1720.757110] g_file_storage gadget: reset interface > Feb 27 09:34:16 igep kernel: [ 1720.757141] g_file_storage gadget: set interface 0 > Feb 27 09:34:16 igep kernel: [ 1720.757171] musb_hdrc periph: enabled ep1in for bulk IN, dma, maxpacket 512 > Feb 27 09:34:16 igep kernel: [ 1720.757171] musb_hdrc periph: enabled ep1out for bulk OUT, dma, maxpacket 512 > Feb 27 09:34:16 igep kernel: [ 1720.757202] g_file_storage gadget: high speed config #1 > Feb 27 09:34:16 igep kernel: [ 1720.761077] g_file_storage gadget: sending command-failure status > Feb 27 09:34:16 igep kernel: [ 1720.765563] g_file_storage gadget: bulk-in set halt > Feb 27 09:34:47 igep kernel: [ 1751.584777] g_file_storage gadget: disconnect or port reset > Feb 27 09:34:47 igep kernel: [ 1751.584869] g_file_storage gadget: bulk_out_complete --> -104, 0/31 > Feb 27 09:34:47 igep kernel: [ 1751.584899] g_file_storage gadget: bulk_in_complete --> -104, 0/13 > Feb 27 09:34:47 igep kernel: [ 1751.584930] g_file_storage gadget: reset config > Feb 27 09:34:47 igep kernel: [ 1751.584960] g_file_storage gadget: reset interface > Feb 27 09:34:47 igep kernel: [ 1751.742523] g_file_storage gadget: disconnect or port reset > Feb 27 09:34:47 igep kernel: [ 1751.939208] g_file_storage gadget: set interface 0 > Feb 27 09:34:47 igep kernel: [ 1751.939239] musb_hdrc periph: enabled ep1in for bulk IN, dma, maxpacket 512 > Feb 27 09:34:47 igep kernel: [ 1751.939270] musb_hdrc periph: enabled ep1out for bulk OUT, dma, maxpacket 512 > Feb 27 09:34:47 igep kernel: [ 1751.939300] g_file_storage gadget: high speed config #1 > Feb 27 09:34:48 igep kernel: [ 1752.784118] g_file_storage gadget: bulk_out_complete --> -104, 0/31 > Feb 27 09:34:48 igep kernel: [ 1752.784118] g_file_storage gadget: reset config > Feb 27 09:34:48 igep kernel: [ 1752.784149] g_file_storage gadget: reset interface > Feb 27 09:34:48 igep kernel: [ 1752.784179] g_file_storage gadget: set interface 0 > > This goes on and on for 10 minutes. On the host (linux, in this case) > side, I see the following: > > Feb 27 09:28:04 ubuntu kernel: [ 1923.169041] usb 1-2: new high speed USB device using ehci_hcd and address 3 > Feb 27 09:28:04 ubuntu kernel: [ 1923.310423] usb 1-2: configuration #1 chosen from 1 choice > Feb 27 09:28:04 ubuntu kernel: [ 1923.316814] scsi4 : SCSI emulation for USB Mass Storage devices > Feb 27 09:28:09 ubuntu kernel: [ 1928.322471] scsi 4:0:0:0: Direct-Access Linux File-Stor Gadget 0316 PQ: 0 ANSI: 2 > Feb 27 09:28:09 ubuntu kernel: [ 1928.325686] sd 4:0:0:0: Attached scsi generic sg3 type 0 > Feb 27 09:28:09 ubuntu kernel: [ 1928.345810] sd 4:0:0:0: [sdc] 131072 512-byte logical blocks: (67.1 MB/64.0 MiB) > Feb 27 09:28:38 ubuntu kernel: [ 1957.221187] usb 1-2: reset high speed USB device using ehci_hcd and address 3 > Feb 27 09:28:53 ubuntu kernel: [ 1972.286371] sd 4:0:0:0: Device offlined - not ready after error recovery > Feb 27 09:28:53 ubuntu kernel: [ 1972.286551] sd 4:0:0:0: [sdc] Write Protect is off > Feb 27 09:28:53 ubuntu kernel: [ 1972.319302] usb 1-2: USB disconnect, address 3 > Feb 27 09:28:53 ubuntu kernel: [ 1972.373589] sd 4:0:0:0: [sdc] READ CAPACITY failed > Feb 27 09:28:53 ubuntu kernel: [ 1972.373647] sd 4:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK > Feb 27 09:28:53 ubuntu kernel: [ 1972.373748] sd 4:0:0:0: [sdc] Sense not available. > Feb 27 09:28:53 ubuntu kernel: [ 1972.374200] sdc: detected capacity change from 67108864 to 0 > Feb 27 09:28:53 ubuntu kernel: [ 1972.376063] sd 4:0:0:0: [sdc] READ CAPACITY failed > Feb 27 09:28:53 ubuntu kernel: [ 1972.376066] sd 4:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK > Feb 27 09:28:53 ubuntu kernel: [ 1972.376071] sd 4:0:0:0: [sdc] Sense not available. > Feb 27 09:28:53 ubuntu kernel: [ 1972.376169] sd 4:0:0:0: [sdc] Attached SCSI disk > Feb 27 09:28:53 ubuntu kernel: [ 1972.492857] usb 1-2: new high speed USB device using ehci_hcd and address 4 > Feb 27 09:28:54 ubuntu kernel: [ 1972.758238] usb 1-2: configuration #1 chosen from 1 choice > Feb 27 09:28:54 ubuntu kernel: [ 1972.767269] scsi5 : SCSI emulation for USB Mass Storage devices > Feb 27 09:28:59 ubuntu kernel: [ 1978.271831] scsi 5:0:0:0: Direct-Access Linux File-Stor Gadget 0316 PQ: 0 ANSI: 2 > Feb 27 09:28:59 ubuntu kernel: [ 1978.274227] sd 5:0:0:0: Attached scsi generic sg3 type 0 > Feb 27 09:28:59 ubuntu kernel: [ 1978.289211] sd 5:0:0:0: [sdc] 131072 512-byte logical blocks: (67.1 MB/64.0 MiB) > Feb 27 09:29:30 ubuntu kernel: [ 2009.504382] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:30:02 ubuntu kernel: [ 2041.504193] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:30:33 ubuntu kernel: [ 2072.508969] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:31:05 ubuntu kernel: [ 2104.512059] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:31:37 ubuntu kernel: [ 2136.500618] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393235] async/0 D c08145c0 0 6208 2 0x00000000 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393330] c8345cc4 00000046 c8166000 c08145c0 d785da88 c08145c0 9b3ab41d 000001cc > Feb 27 09:32:02 ubuntu kernel: [ 2161.393399] c08145c0 c08145c0 d785da88 c08145c0 00000000 000001cc c08145c0 dd8d5c40 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393405] d785d7f0 c8345d74 7fffffff c8345d78 c8345d20 c056f0d5 df125c00 dd8d0970 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393434] Call Trace: > Feb 27 09:32:02 ubuntu kernel: [ 2161.393865] [<c056f0d5>] schedule_timeout+0x185/0x200 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393912] [<c0311bfd>] ? kobject_put+0x1d/0x50 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393980] [<c03b25d8>] ? scsi_dispatch_cmd+0x158/0x260 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393987] [<c0306ebe>] ? blk_add_timer+0x6e/0xc0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393991] [<c0570803>] ? _spin_lock_irq+0x13/0x20 > Feb 27 09:32:02 ubuntu kernel: [ 2161.393996] [<c03b8683>] ? scsi_request_fn+0xc3/0x4b0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394000] [<c056edf2>] wait_for_common+0xa2/0x120 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394013] [<c013c5a0>] ? default_wake_function+0x0/0x10 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394017] [<c056ef02>] wait_for_completion+0x12/0x20 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394021] [<c0306195>] blk_execute_rq+0x75/0xd0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394025] [<c0306050>] ? blk_end_sync_rq+0x0/0x30 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394029] [<c03063de>] ? blk_recount_segments+0x1e/0x40 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394036] [<c03021ba>] ? blk_rq_bio_prep+0x6a/0x80 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394040] [<c0305c8f>] ? blk_rq_append_bio+0x1f/0x60 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394044] [<c0305d8e>] ? blk_rq_map_kern+0xbe/0x120 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394048] [<c03b9b12>] scsi_execute+0xb2/0x140 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394052] [<c03b9d45>] scsi_execute_req+0x85/0x140 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394056] [<c03ba08b>] scsi_mode_sense+0xeb/0x2f0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394064] [<c03c45f8>] sd_read_write_protect_flag+0xb8/0x420 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394069] [<c03c4aaf>] sd_revalidate_disk+0x14f/0x2b0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394078] [<c03c4ccf>] sd_probe_async+0xbf/0x1c0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394086] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394090] [<c05707da>] ? _spin_lock_irqsave+0x2a/0x40 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394097] [<c0162b65>] run_one_entry+0x65/0x190 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394101] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394105] [<c05707da>] ? _spin_lock_irqsave+0x2a/0x40 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394110] [<c015c5ab>] ? add_wait_queue+0x3b/0x50 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394113] [<c0162c90>] ? async_thread+0x0/0xd0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394117] [<c0162cdd>] async_thread+0x4d/0xd0 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394121] [<c013c5a0>] ? default_wake_function+0x0/0x10 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394124] [<c015bf8c>] kthread+0x7c/0x90 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394128] [<c015bf10>] ? kthread+0x0/0x90 > Feb 27 09:32:02 ubuntu kernel: [ 2161.394132] [<c0104007>] kernel_thread_helper+0x7/0x10 > Feb 27 09:32:09 ubuntu kernel: [ 2168.504450] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:32:10 ubuntu kernel: [ 2168.800954] sd 5:0:0:0: [sdc] Write Protect is off > Feb 27 09:32:40 ubuntu kernel: [ 2199.504197] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:33:11 ubuntu kernel: [ 2230.508961] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:33:32 ubuntu pulseaudio[1786]: ratelimit.c: 801 events suppressed > Feb 27 09:33:42 ubuntu kernel: [ 2261.504256] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:34:14 ubuntu kernel: [ 2293.504595] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:34:46 ubuntu kernel: [ 2325.508431] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:35:18 ubuntu kernel: [ 2357.504249] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:35:19 ubuntu kernel: [ 2358.113600] sdc: sdc1 > Feb 27 09:35:50 ubuntu kernel: [ 2389.508062] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:36:22 ubuntu kernel: [ 2421.504909] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:36:54 ubuntu kernel: [ 2453.504700] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:37:25 ubuntu kernel: [ 2484.504489] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:37:57 ubuntu kernel: [ 2516.504314] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392654] async/0 D c08145c0 0 6208 2 0x00000000 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392660] c8345cc4 00000046 c08145c0 c08145c0 d785da88 c08145c0 0bd685a1 00000225 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392666] c08145c0 c08145c0 d785da88 c08145c0 0bd5bc0c 00000225 c08145c0 ca806000 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392713] d785d7f0 c8345d74 7fffffff c8345d78 c8345d20 c056f0d5 ca95f3e8 dd8d0970 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392720] Call Trace: > Feb 27 09:38:02 ubuntu kernel: [ 2521.392735] [<c056f0d5>] schedule_timeout+0x185/0x200 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392744] [<c0311bfd>] ? kobject_put+0x1d/0x50 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392751] [<c0150417>] ? lock_timer_base+0x27/0x50 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392755] [<c0570803>] ? _spin_lock_irq+0x13/0x20 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392764] [<c03b8683>] ? scsi_request_fn+0xc3/0x4b0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392768] [<c056edf2>] wait_for_common+0xa2/0x120 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392773] [<c013c5a0>] ? default_wake_function+0x0/0x10 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392777] [<c056ef02>] wait_for_completion+0x12/0x20 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392781] [<c0306195>] blk_execute_rq+0x75/0xd0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392785] [<c0306050>] ? blk_end_sync_rq+0x0/0x30 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392789] [<c03063de>] ? blk_recount_segments+0x1e/0x40 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392795] [<c03021ba>] ? blk_rq_bio_prep+0x6a/0x80 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392798] [<c0305c8f>] ? blk_rq_append_bio+0x1f/0x60 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392802] [<c0305d8e>] ? blk_rq_map_kern+0xbe/0x120 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392806] [<c03b9b12>] scsi_execute+0xb2/0x140 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392810] [<c03b9d45>] scsi_execute_req+0x85/0x140 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392815] [<c03ba08b>] scsi_mode_sense+0xeb/0x2f0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392820] [<c03c45f8>] sd_read_write_protect_flag+0xb8/0x420 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392824] [<c03c4aaf>] sd_revalidate_disk+0x14f/0x2b0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392851] [<c023b392>] ? sysfs_create_link+0x12/0x20 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392856] [<c0308614>] ? add_disk+0xb4/0x140 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392859] [<c0307de0>] ? exact_match+0x0/0x10 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392863] [<c03c4d1d>] sd_probe_async+0x10d/0x1c0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392870] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392874] [<c05707da>] ? _spin_lock_irqsave+0x2a/0x40 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392880] [<c0162b65>] run_one_entry+0x65/0x190 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392884] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392888] [<c05707da>] ? _spin_lock_irqsave+0x2a/0x40 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392893] [<c015c5ab>] ? add_wait_queue+0x3b/0x50 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392896] [<c0162c90>] ? async_thread+0x0/0xd0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392900] [<c0162cdd>] async_thread+0x4d/0xd0 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392904] [<c013c5a0>] ? default_wake_function+0x0/0x10 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392907] [<c015bf8c>] kthread+0x7c/0x90 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392911] [<c015bf10>] ? kthread+0x0/0x90 > Feb 27 09:38:02 ubuntu kernel: [ 2521.392915] [<c0104007>] kernel_thread_helper+0x7/0x10 > Feb 27 09:38:28 ubuntu kernel: [ 2547.508083] usb 1-2: reset high speed USB device using ehci_hcd and address 4 > Feb 27 09:38:29 ubuntu kernel: [ 2547.948493] sd 5:0:0:0: [sdc] Attached SCSI disk > > As can be seen, it took 10 minutes before the host was able to mount > the mass storage file system (/dev/sdc1). > > The output of /proc/interrupts is: > > $ cat /proc/interrupts > CPU0 > 7: 2 INTC TWL4030-PIH > 11: 0 INTC prcm > 12: 17031 INTC DMA > 25: 4 INTC OMAP DSS > 37: 23210 INTC gp timer > 56: 536 INTC i2c_omap > 61: 0 INTC i2c_omap > 72: 3 INTC serial idle > 73: 3 INTC serial idle > 74: 10 INTC serial idle, serial > 77: 0 INTC ehci_hcd:usb1 > 83: 13699 INTC mmc0 > 86: 134 INTC mmc1 > 92: 1 INTC musb_hdrc > 93: 0 INTC musb_hdrc > 336: 2248 GPIO eth0 > 378: 2 twl4030 twl4030_usb > 384: 0 twl4030 mmc0 > Err: 0 > $ > > The subset output of "lsusb -v" is: > > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > idVendor 0x1d6b Linux Foundation > idProduct 0x0002 2.0 root hub > bcdDevice 2.06 > iManufacturer 3 Linux 2.6.33-rc8-ejs-2010-02-27a musb-hcd > iProduct 2 MUSB HDRC host driver > iSerial 1 musb_hdrc > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0004 1x 4 bytes > bInterval 12 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 1 > wHubCharacteristic 0x0011 > Per-port power switching > No overcurrent protection > bPwrOn2PwrGood 5 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > DeviceRemovable 0x02 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0100 power > Device Status: 0x0003 > Self Powered > Remote Wakeup Enabled > > Does anyone have any recommendations of what I can try in order to > narrow this problem down? Is there any other output that I should > provide in order to supply any other relevant information? > (/proc/bus/usb is an empty directory on my machine, but /sys/bus/usb > is very populated tree a subset of whose contents might be useful). > > Thanks much for any pointers... -- Eric -- 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