New BeagleBone musb errors

I’ve started getting a lot of musb errors I didn’t see in the past. I running balenaOS 2.67.3+rev1.

[  266.963086] ------------[ cut here ]------------
[  266.967954] WARNING: CPU: 0 PID: 802 at drivers/usb/musb/musb_host.c:113 musb_h_tx_flush_fifo+0x150/0x154
[  266.977913] musb-hdrc musb-hdrc.1: Could not flush host TX10 fifo: csr: 2003
[  266.985250] Modules linked in: wpanusb(O) hm3301(O) ip6t_REJECT nf_reject_ipv6 ip6table_filter xt_state ipt_REJECT nf_reject_ipv4 sgp30 crc8 bme680_i2c bme680_core nhc_udp nhc_routing nhc_dest nhc_mobility nhc_ipv6 nhc_hop ieee802154_6lowpan nhc_fragment 6lowpan atusb mac802154 ieee802154 ccm xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo br_netfilter xt_owner cmac algif_hash aes_arm_bs crypto_simd cryptd algif_skcipher af_alg bnep wl18xx wlcore mac80211 cfg80211 libarc4 hci_uart rfcomm bluetooth ecdh_generic ecc icss_iep prueth_ecap smsc95xx usbnet cdc_acm mii wlcore_sdio evdev sch_fq_codel [last unloaded: wpanusb]
[  267.043820] CPU: 0 PID: 802 Comm: ModemManager Tainted: G           O      5.4.70+ #1
[  267.051969] Hardware name: Generic AM33XX (Flattened Device Tree)
[  267.058310] Backtrace: 
[  267.060870] [<c010f248>] (dump_backtrace) from [<c010f5f8>] (show_stack+0x20/0x24)
[  267.068754]  r7:60030193 r6:c1add0e8 r5:00000000 r4:c1add0e8
[  267.074655] [<c010f5d8>] (show_stack) from [<c0dd2684>] (dump_stack+0xb8/0xcc)
[  267.082182] [<c0dd25cc>] (dump_stack) from [<c013d50c>] (__warn+0xe0/0x108)
[  267.089433]  r7:00000071 r6:c0a00b70 r5:00000009 r4:c10b6e84
[  267.095330] [<c013d42c>] (__warn) from [<c013d910>] (warn_slowpath_fmt+0xa8/0xcc)
[  267.103122]  r7:c0a00b70 r6:00000071 r5:c10b6e84 r4:c10b6edc
[  267.109016] [<c013d86c>] (warn_slowpath_fmt) from [<c0a00b70>] (musb_h_tx_flush_fifo+0x150/0x154)
[  267.118254]  r8:c1b60628 r7:c1b60630 r6:e0051c10 r5:db1b6040 r4:00002003
[  267.125234] [<c0a00a20>] (musb_h_tx_flush_fifo) from [<c0a01b28>] (musb_cleanup_urb+0x88/0xf0)
[  267.134199]  r10:00000628 r9:d9b49180 r8:c1b60630 r7:e0051c10 r6:00000000 r5:daf73000
[  267.142351]  r4:db1b6bfc
[  267.144990] [<c0a01aa0>] (musb_cleanup_urb) from [<c0a02584>] (musb_urb_dequeue+0x1b4/0x1f4)
[  267.153778]  r10:00000001 r9:d9b49180 r8:db1b6040 r7:c0010400 r6:a0030113 r5:00000000
[  267.161927]  r4:daf73000 r3:d9b49180
[  267.165653] [<c0a023d0>] (musb_urb_dequeue) from [<c098953c>] (unlink1+0x3c/0x11c)
[  267.173536]  r10:00000000 r9:00000008 r8:dc53141c r7:fffffffe r6:fffffffe r5:db72d000
[  267.181688]  r4:daf73000 r3:c0a023d0
[  267.185410] [<c0989500>] (unlink1) from [<c098b094>] (usb_hcd_unlink_urb+0x80/0xd8)
[  267.193383]  r9:00000008 r8:dc53141c r7:da9da000 r6:fffffffe r5:60030113 r4:daf73000
[  267.201446] [<c098b014>] (usb_hcd_unlink_urb) from [<c098ca1c>] (usb_kill_urb.part.0+0x54/0xe8)
[  267.210503]  r7:dc531000 r6:daf73010 r5:dc531180 r4:daf73000
[  267.216395] [<c098c9c8>] (usb_kill_urb.part.0) from [<c098cae8>] (usb_kill_urb+0x38/0x3c)
[  267.224911]  r6:dc531000 r5:dc531180 r4:dc531048
[  267.229735] [<c098cab0>] (usb_kill_urb) from [<bf01c3a4>] (acm_kill_urbs+0x34/0x6c [cdc_acm])
[  267.238616] [<bf01c370>] (acm_kill_urbs [cdc_acm]) from [<bf01c6b4>] (acm_port_shutdown+0x88/0x8c [cdc_acm])
[  267.248851]  r7:dc531000 r6:00000000 r5:dc531510 r4:dc531014
[  267.254760] [<bf01c62c>] (acm_port_shutdown [cdc_acm]) from [<c07a9b88>] (tty_port_shutdown+0xa0/0xa4)
[  267.264449]  r9:00000008 r8:d980ba80 r7:dc5310a8 r6:d2df8600 r5:00000000 r4:dc531014
[  267.272516] [<c07a9ae8>] (tty_port_shutdown) from [<c07aa400>] (tty_port_close+0x4c/0x84)
[  267.281028]  r7:db000cd0 r6:db32fdb8 r5:d2df8600 r4:dc531014
[  267.286927] [<c07aa3b4>] (tty_port_close) from [<bf01c24c>] (acm_tty_close+0x28/0x2c [cdc_acm])
[  267.295983]  r5:00000000 r4:d2df8600
[  267.299709] [<bf01c224>] (acm_tty_close [cdc_acm]) from [<c079f848>] (tty_release+0x100/0x5fc)
[  267.308734] [<c079f748>] (tty_release) from [<c034bce8>] (__fput+0x98/0x230)
[  267.316119]  r10:d980ba88 r9:00000008 r8:da13b220 r7:db000cd0 r6:db32fdb8 r5:000e0003
[  267.324316]  r4:d980ba80
[  267.326970] [<c034bc50>] (__fput) from [<c034be98>] (____fput+0x18/0x1c)
[  267.333991]  r10:dab53fb0 r9:dc2e3b98 r8:dc2e3bc4 r7:c1b14b34 r6:dc2e3640 r5:d980ba80
[  267.342189]  r4:00000000
[  267.344853] [<c034be80>] (____fput) from [<c0160c0c>] (task_work_run+0xa0/0xbc)
[  267.352512] [<c0160b6c>] (task_work_run) from [<c010df3c>] (do_work_pending+0x4ec/0x5e8)
[  267.360988]  r9:fffffe30 r8:5ac3c35a r7:dab52000 r6:c0101204 r5:dab53f28 r4:ffffe000
[  267.369102] [<c010da50>] (do_work_pending) from [<c010106c>] (slow_work_pending+0xc/0x20)
[  267.377665] Exception stack(0xdab53fb0 to 0xdab53ff8)
[  267.382957] 3fa0:                                     00000000 00000002 00000000 00000000
[  267.391524] 3fc0: 00000009 b6f9d4d0 00000000 00000006 00000000 0000ffff 00000000 00000000
[  267.400090] 3fe0: 00000006 beb11a28 b6983e89 b6985c16 80010030 00000009
[  267.407021]  r10:00000006 r9:dab52000 r8:c0101204 r7:00000006 r6:00000000 r5:b6f9d4d0
[  267.415219]  r4:00000009
[  267.417868] ---[ end trace 8b0dbfd5ad5f2d34 ]---

Hello!

Could you clarify which BeagleBone device you’re seeing this on? I don’t see a BB device with OS 2.67.3+rev1 currently in Production. The BBG/BBGW are both on 2.69.x in balenaCloud Staging, are you using an OS image from there (http://dashboard.balena-staging.com/)? Just want to make sure I understand where this OS image came from so we can investigate further. Thanks!

I’m using a BeagleBone Green Gateway with a development balenaOS 2.73.1+rev2 host OS version. The board is identified to BalenaCloud as BeagleBone Black, but the board properly loads the correct BeagleBone Green Gateway device tree.

FYI, I updated since I saw the original problem. I’ll try to capture a new error log.

Hi @jkridner ,

Do you see the same error logs after updating to balenaOS 2.73.1+rev2?

Cheers.

Hey there
Do you still see errors after the update? If so, were you able to capture the logs?

Thanks