I have an issue with the USB timing out that I have narrowed down to 
something with the Beagle Bone, possible the USB drivers on the kernel?  I 
have tested the all the libraries, python version, etc. in an identical 
virtual environment on my PC, everything works fine.  90% of code works on 
the BeagleBone, only select parts where I am sending a specfic command 
through the USB does this problem occur.  I did some digging and it looks 
like something similar to what was happening a few years ago on of the 
earlier kernels. I have tried many of the older and newer kernels am 
currently running Kernel 4.9.36-ti-r45.  All the kernels I have tested 
still had this problem.  Below is the log:


Jul 11 15:33:35 beaglebone kernel: [  518.768865] WARNING: CPU: 0 PID: 2150 
at drivers/usb/musb/musb_host.c:140 musb_h_tx_flush_fifo+0xf0/0xf4
Jul 11 15:33:35 beaglebone kernel: [  518.768878] musb-hdrc musb-hdrc.1: 
Could not flush host TX2 fifo: csr: 2003
Jul 11 15:33:35 beaglebone kernel: [  518.768886] Modules linked in: 
c_can_platform c_can can_dev spi_omap2_mcspi pvrsrvkm(O) omap_sham 
omap_aes_driver snd_soc_simple_card crypto_engine snd_soc_simple_card_utils 
pruss_soc_bus omap_rng rng_core snd_soc_davinci_mcasp snd_soc_omap 
snd_soc_edma snd_soc_hdmi_codec snd_soc_core snd_pcm_dmaengine snd_pcm 
evdev snd_timer snd soundcore tps65217_charger uio_pdrv_genirq uio 
usb_f_mass_storage 8021q garp mrp stp llc usb_f_acm u_serial usb_f_ecm 
usb_f_rndis u_ether cpufreq_powersave cpufreq_userspace 
cpufreq_conservative libcomposite cpufreq_ondemand spidev pru_rproc 
pruss_intc pruss tieqep
Jul 11 15:33:35 beaglebone kernel: [  518.769179] CPU: 0 PID: 2150 Comm: 
python Tainted: G           O    4.9.36-ti-r45 #1
Jul 11 15:33:35 beaglebone kernel: [  518.769186] Hardware name: Generic 
AM33XX (Flattened Device Tree)
Jul 11 15:33:35 beaglebone kernel: [  518.769238] [<c0114738>] 
(unwind_backtrace) from [<c010de60>] (show_stack+0x20/0x24)
Jul 11 15:33:35 beaglebone kernel: [  518.769259] [<c010de60>] (show_stack) 
from [<c073aadc>] (dump_stack+0x90/0xa4)
Jul 11 15:33:35 beaglebone kernel: [  518.769281] [<c073aadc>] (dump_stack) 
from [<c013e2c8>] (__warn+0xf8/0x110)
Jul 11 15:33:35 beaglebone kernel: [  518.769300] [<c013e2c8>] (__warn) 
from [<c013e338>] (warn_slowpath_fmt+0x58/0x74)
Jul 11 15:33:35 beaglebone kernel: [  518.769318] [<c013e338>] 
(warn_slowpath_fmt) from [<c09e3880>] (musb_h_tx_flush_fifo+0xf0/0xf4)
Jul 11 15:33:35 beaglebone kernel: [  518.769337] [<c09e3880>] 
(musb_h_tx_flush_fifo) from [<c09e4940>] (musb_cleanup_urb+0x60/0xf0)
Jul 11 15:33:35 beaglebone kernel: [  518.769354] [<c09e4940>] 
(musb_cleanup_urb) from [<c09e5004>] (musb_urb_dequeue+0x1b4/0x1d4)
Jul 11 15:33:35 beaglebone kernel: [  518.769384] [<c09e5004>] 
(musb_urb_dequeue) from [<c098c950>] (unlink1+0x3c/0x124)
Jul 11 15:33:35 beaglebone kernel: [  518.769404] [<c098c950>] (unlink1) 
from [<c098dda4>] (usb_hcd_unlink_urb+0x64/0xdc)
Jul 11 15:33:35 beaglebone kernel: [  518.769422] [<c098dda4>] 
(usb_hcd_unlink_urb) from [<c098f474>] (usb_kill_urb+0x6c/0xf4)
Jul 11 15:33:35 beaglebone kernel: [  518.769451] [<c098f474>] 
(usb_kill_urb) from [<c099cea8>] (usbdev_ioctl+0x1460/0x1d94)
Jul 11 15:33:35 beaglebone kernel: [  518.769480] [<c099cea8>] 
(usbdev_ioctl) from [<c02f0158>] (do_vfs_ioctl+0xbc/0x9c8)
Jul 11 15:33:35 beaglebone kernel: [  518.769501] [<c02f0158>] 
(do_vfs_ioctl) from [<c02f0ae0>] (SyS_ioctl+0x7c/0x8c)
Jul 11 15:33:35 beaglebone kernel: [  518.769528] [<c02f0ae0>] (SyS_ioctl) 
from [<c0109100>] (ret_fast_syscall+0x0/0x3c)
Jul 11 15:33:35 beaglebone kernel: [  518.769540] ---[ end trace 
f94fcd49ef949ddc ]---

Let me know what other data I can post that would be relevant.

-Casey

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/330c4d51-3e20-4a57-9432-720fd835a25f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to