Dear support engineer,
I am currently using the IMX8 chip, and “NETDEV WATCHDOG usb1 (cdc_ether): transmit queue 0 timeout” problem occurred when I was using it. I published the Log when the problem occurred,
How do I use this Log to locate the function that's causing the problem?
could you help me analyze the Log and the solution?
------------------------------Log info--------------------------------------
2020/09/01 09:42:22.046041 kernel: Informational: option 1-1:1.7: GSM modem (1-port) converter detected
2020/09/01 09:42:22.045198 klogd[2588]: Informational: [ 16.933346] cdc_ether 1-1:1.4 usb1: register 'cdc_ether' at usb-xhci-cdns3-1, CDC Ethernet Device, d2:b8:1f:a3:50:15
2020/09/01 09:42:22.059630 kernel: Informational: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
2020/09/01 09:42:22.059586 klogd[2588]: Informational: [ 16.945300] option 1-1:1.7: GSM modem (1-port) converter detected
2020/09/01 09:42:22.059607 klogd[2588]: Informational: [ 16.952009] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
2020/09/01 09:42:22.066834 kernel: Informational: option 1-1:1.8: GSM modem (1-port) converter detected
2020/09/01 09:42:22.067665 kernel: Informational: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
2020/09/01 09:42:22.066812 klogd[2588]: Informational: [ 16.959921] option 1-1:1.8: GSM modem (1-port) converter detected
2020/09/01 09:42:22.074450 klogd[2588]: Informational: [ 16.966875] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
2020/09/01 09:42:22.158509 systemd-network[2577]: Informational: rmnet_usb1: Link is not managed by us
2020/09/01 09:42:22.158546 systemd-network[2577]: Informational: lo: Link is not managed by us
2020/09/01 09:42:22.158563 systemd-network[2577]: Informational: sit0: Link is not managed by us
2020/09/01 09:42:22.158983 systemd-network[2577]: Informational: usb1: IPv6 successfully enabled
2020/09/01 09:42:22.173218 systemd-network[2577]: Informational: usb1: Gained carrier
2020/09/01 09:42:22.176450 systemd-timesyn[2578]: Informational: Network configuration changed, trying to establish connection.
2020/09/01 09:42:23.505261 systemd-network[2577]: Informational: usb1: Gained IPv6LL
2020/09/01 09:42:32.358513 kernel: Informational: NETDEV WATCHDOG: usb1 (cdc_ether): transmit queue 0 timed out 4294897592
2020/09/01 09:42:32.358956 kernel: Warning: ------------[ cut here ]------------
2020/09/01 09:42:32.359111 kernel: Warning: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:319 dev_watchdog+0x2cc/0x2d8
2020/09/01 09:42:32.359245 kernel: Warning: Modules linked in: cryptodev(O)
2020/09/01 09:42:32.359415 kernel: Warning: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 4.14.98 #1
2020/09/01 09:42:32.359548 kernel: Warning: Hardware name: Freescale i.MX8DX MEK - NIO (DT)
2020/09/01 09:42:32.359678 kernel: Warning: task: ffff000009934c00 task.stack: ffff000009920000
2020/09/01 09:42:32.359809 kernel: Warning: PC is at dev_watchdog+0x2cc/0x2d8
2020/09/01 09:42:32.359939 kernel: Warning: LR is at dev_watchdog+0x2cc/0x2d8
2020/09/01 09:42:32.360070 kernel: Warning: pc : [<ffff000008a7003c>] lr : [<ffff000008a7003c>] pstate: 20000145
2020/09/01 09:42:32.360202 kernel: Warning: sp : ffff000008003d90
2020/09/01 09:42:32.360332 kernel: Warning: x29: ffff000008003d90 x28: 0000000000000020
2020/09/01 09:42:32.360466 kernel: Warning: x27: ffff000009925180 x26: ffff000009934c00
2020/09/01 09:42:32.360601 kernel: Warning: x25: 00000000ffffffff x24: ffff000009926000
2020/09/01 09:42:32.360790 kernel: Warning: x23: 00000000fffeefb8 x22: ffff80003611941c
2020/09/01 09:42:32.360928 kernel: Warning: x21: 0000000000000000 x20: ffff800036119000
2020/09/01 09:42:32.361059 kernel: Warning: x19: ffff800036b1e600 x18: 0000000000000010
2020/09/01 09:42:32.361190 kernel: Warning: x17: 0000ffffbc463168 x16: 0000000000000000
2020/09/01 09:42:32.361321 kernel: Warning: x15: ffffffffffffffff x14: 32342074756f2064
2020/09/01 09:42:32.361451 kernel: Warning: x13: 656d697420302065 x12: ffff000009929e78
2020/09/01 09:42:32.361584 kernel: Warning: x11: ffff0000083b3e80 x10: 72656874655f6364
2020/09/01 09:42:32.361717 kernel: Warning: x9 : 0000000000000015 x8 : 3a474f4448435441
2020/09/01 09:42:32.361854 kernel: Warning: x7 : 572056454454454e x6 : 000000000000014c
2020/09/01 09:42:32.362016 kernel: Warning: x5 : 0000000000000001 x4 : 0000000000000002
2020/09/01 09:42:32.362163 kernel: Warning: x3 : 0000000000000000 x2 : 0000000000000040
2020/09/01 09:42:32.362301 kernel: Warning: x1 : ffff000009934c00 x0 : 0000000000000049
2020/09/01 09:42:32.362443 kernel: Warning: Call trace:
2020/09/01 09:42:32.362585 kernel: Warning: Exception stack(0xffff000008003c50 to 0xffff000008003d90)
2020/09/01 09:42:32.362727 kernel: Warning: 3c40: 0000000000000049 ffff000009934c00
2020/09/01 09:42:32.362877 kernel: Warning: 3c60: 0000000000000040 0000000000000000 0000000000000002 0000000000000001
2020/09/01 09:42:32.363022 kernel: Warning: 3c80: 000000000000014c 572056454454454e 3a474f4448435441 0000000000000015
2020/09/01 09:42:32.363161 kernel: Warning: 3ca0: 72656874655f6364 ffff0000083b3e80 ffff000009929e78 656d697420302065
2020/09/01 09:42:32.363301 kernel: Warning: 3cc0: 32342074756f2064 ffffffffffffffff 0000000000000000 0000ffffbc463168
2020/09/01 09:42:32.363439 kernel: Warning: 3ce0: 0000000000000010 ffff800036b1e600 ffff800036119000 0000000000000000
2020/09/01 09:42:32.363591 kernel: Warning: 3d00: ffff80003611941c 00000000fffeefb8 ffff000009926000 00000000ffffffff
2020/09/01 09:42:32.363744 kernel: Warning: 3d20: ffff000009934c00 ffff000009925180 0000000000000020 ffff000008003d90
2020/09/01 09:42:32.363887 kernel: Warning: 3d40: ffff000008a7003c ffff000008003d90 ffff000008a7003c 0000000020000145
2020/09/01 09:42:32.364035 kernel: Warning: 3d60: ffff000008f9ed58 0000000000000000 0000ffffffffffff 00000000000000c0
2020/09/01 09:42:32.364177 kernel: Warning: 3d80: ffff000008003d90 ffff000008a7003c
2020/09/01 09:42:32.364318 kernel: Warning: [<ffff000008a7003c>] dev_watchdog+0x2cc/0x2d8
2020/09/01 09:42:32.364464 kernel: Warning: [<ffff000008125ba4>] call_timer_fn.isra.5+0x24/0x80
2020/09/01 09:42:32.364602 kernel: Warning: [<ffff000008125ca4>] expire_timers+0xa4/0xb0
2020/09/01 09:42:32.365166 kernel: Warning: [<ffff000008125d64>] run_timer_softirq+0xb4/0x170
2020/09/01 09:42:32.365274 kernel: Warning: [<ffff000008081204>] __do_softirq+0x124/0x218
2020/09/01 09:42:32.365392 kernel: Warning: [<ffff0000080cb648>] irq_exit+0xd0/0xf0
2020/09/01 09:42:32.365498 kernel: Warning: [<ffff00000810f278>] __handle_domain_irq+0x60/0xb8
2020/09/01 09:42:32.365607 kernel: Warning: [<ffff000008080fe0>] gic_handle_irq+0x78/0x174
2020/09/01 09:42:32.365719 kernel: Warning: Exception stack(0xffff000009923dd0 to 0xffff000009923f10)
2020/09/01 09:42:32.365830 kernel: Warning: 3dc0: 0000000000000000 0000000000000000
2020/09/01 09:42:32.365938 kernel: Warning: 3de0: 0000000000000001 0000000000000000 ffff000009916108 ffff000009923f00
2020/09/01 09:42:32.366045 kernel: Warning: 3e00: 0000800034649000 0000000000000000 0000000000000002 ffff000009923e90
2020/09/01 09:42:32.366153 kernel: Warning: 3e20: 0000000000000870 0000000000000000 0000000000000000 0000000000000000
2020/09/01 09:42:32.366263 kernel: Warning: 3e40: 0000ffffbc454c38 0000ffffbc452dd8 ffff000008128820 0000ffffbc463168
2020/09/01 09:42:32.366380 kernel: Warning: 3e60: 00000000000000b6 ffff000009912018 ffff000009929000 ffff000009929000
2020/09/01 09:42:32.366499 kernel: Warning: 3e80: ffff00000991bc38 ffff000009929f18 0000000000000000 0000000000000000
2020/09/01 09:42:32.366613 kernel: Warning: 3ea0: ffff000009934c00 0000000000000400 0000000081290018 ffff000009923f10
2020/09/01 09:42:32.366722 kernel: Warning: 3ec0: ffff000008084e94 ffff000009923f10 ffff000008084e98 0000000000000145
2020/09/01 09:42:32.366831 kernel: Warning: 3ee0: 0000000000000000 00000000bde74b80 ffffffffffffffff ffff000008135f74
2020/09/01 09:42:32.366940 kernel: Warning: 3f00: ffff000009923f10 ffff000008084e98
2020/09/01 09:42:32.367048 kernel: Warning: [<ffff000008082a30>] el1_irq+0xb0/0x124
2020/09/01 09:42:32.367156 kernel: Warning: [<ffff000008084e98>] arch_cpu_idle+0x10/0x18
2020/09/01 09:42:32.367266 kernel: Warning: [<ffff0000081012a0>] do_idle+0x120/0x1e0
2020/09/01 09:42:32.367383 kernel: Warning: [<ffff0000081014f8>] cpu_startup_entry+0x20/0x28
2020/09/01 09:42:32.367489 kernel: Warning: [<ffff000008c32118>] rest_init+0xd0/0xe0
2020/09/01 09:42:32.367598 kernel: Warning: [<ffff000009090b58>] start_kernel+0x380/0x394
2020/09/01 09:42:32.367704 kernel: Warning: ---[ end trace 4b0fb03653a0ff81 ]---