usb problem - beaglebone black

61 views
Skip to first unread message

rifo

unread,
Jan 27, 2017, 9:00:47 AM1/27/17
to BeagleBoard
Hello,

I have an program accessing /dev/ttyACM0.  I get below error from time to time and have to restart my application. I have read the forums and see that many people got this kind of error. Is there a patch that I can try?

thanks
rifo 


$ uname -a
Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.4 (jessie)
Release: 8.4
Codename: jessie


------------[ cut here ]------------
[ 1490.321252] WARNING: CPU: 0 PID: 697 at drivers/usb/musb/musb_host.c:139 musb_h_tx_flush_fifo+0xa1/0xac()
[ 1490.321282] musb-hdrc musb-hdrc.1.auto: Could not flush host TX10 fifo: csr: 2003
[ 1490.321303] Modules linked in: c_can_platform c_can can_dev spidev tieqep pwm_tiecap pwm_tiehrpwm usb_f_acm u_serial usb_f_rndis g_multi usb_f_mass_storage u_ether libcomposite pruss_intc pru_rproc omap_sham pruss omap_aes_driver cdc_acm omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma snd_soc_omap snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd spi_omap2_mcspi soundcore evdev uio_pdrv_genirq uio
[ 1490.321643] CPU: 0 PID: 697 Comm: rawGps Not tainted 4.4.9-ti-r25 #1
[ 1490.321666] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 1490.321740] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] (show_stack+0x11/0x14)
[ 1490.321798] [<c00123f5>] (show_stack) from [<c03c9023>] (dump_stack+0x73/0x80)
[ 1490.321864] [<c03c9023>] (dump_stack) from [<c0031043>] (warn_slowpath_common+0x6b/0x94)
[ 1490.321914] [<c0031043>] (warn_slowpath_common) from [<c003109f>] (warn_slowpath_fmt+0x33/0x48)
[ 1490.321961] [<c003109f>] (warn_slowpath_fmt) from [<c053cbd9>] (musb_h_tx_flush_fifo+0xa1/0xac)
[ 1490.322007] [<c053cbd9>] (musb_h_tx_flush_fifo) from [<c053d7cb>] (musb_cleanup_urb+0x37/0x98)
[ 1490.322048] [<c053d7cb>] (musb_cleanup_urb) from [<c053dc2f>] (musb_urb_dequeue+0xfb/0x114)
[ 1490.322104] [<c053dc2f>] (musb_urb_dequeue) from [<c0504b15>] (usb_hcd_unlink_urb+0x39/0x98)
[ 1490.322154] [<c0504b15>] (usb_hcd_unlink_urb) from [<c0505b7b>] (usb_kill_urb+0x4f/0xb8)
[ 1490.322259] [<c0505b7b>] (usb_kill_urb) from [<bf966aa1>] (acm_port_shutdown+0x8c/0xd0 [cdc_acm])
[ 1490.322358] [<bf966aa1>] (acm_port_shutdown [cdc_acm]) from [<c04307bb>] (tty_port_shutdown+0x5b/0x64)
[ 1490.322402] [<c04307bb>] (tty_port_shutdown) from [<c0430c81>] (tty_port_close+0x1d/0x3c)
[ 1490.322471] [<c0430c81>] (tty_port_close) from [<bf9670c1>] (acm_tty_close+0x2c/0x58 [cdc_acm])
[ 1490.322558] [<bf9670c1>] (acm_tty_close [cdc_acm]) from [<c042aa9f>] (tty_release+0xa7/0x3b8)
[ 1490.322615] [<c042aa9f>] (tty_release) from [<c0137931>] (__fput+0x6d/0x158)
[ 1490.322661] [<c0137931>] (__fput) from [<c0046f23>] (task_work_run+0x6f/0x94)
[ 1490.322704] [<c0046f23>] (task_work_run) from [<c0033d9f>] (do_exit+0x297/0x7f4)
[ 1490.322743] [<c0033d9f>] (do_exit) from [<c0034355>] (do_group_exit+0x2d/0x8c)
[ 1490.322782] [<c0034355>] (do_group_exit) from [<c003cc6d>] (get_signal+0x1ad/0x4e0)
[ 1490.322835] [<c003cc6d>] (get_signal) from [<c0011ccd>] (do_signal+0x235/0x33c)
[ 1490.322882] [<c0011ccd>] (do_signal) from [<c0011f0f>] (do_work_pending+0x73/0x80)
[ 1490.322926] [<c0011f0f>] (do_work_pending) from [<c000eca7>] (slow_work_pending+0x9/0x16)
[ 1490.322953] ---[ end trace 3db215afee413970 ]---

Reply all
Reply to author
Forward
0 new messages