Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsusb -v crashed kernel #105

Open
martin-zs opened this issue Jun 9, 2023 · 1 comment
Open

lsusb -v crashed kernel #105

martin-zs opened this issue Jun 9, 2023 · 1 comment

Comments

@martin-zs
Copy link

root@starfive:/var/log# lsusb -v

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength [45969.462460] eswin_usb 1-1.3:1.0: RX Buff Pattern not correct, pattern (40007e01), status 1
               1[45969.472137] [ecrnx]  ERROR RX Buff Pattern not correct, pattern (40007e01), status 1, skb (000000001b3b1cab), skb_len 4
8
  bDescriptor[45969.484370] ------------[ cut here ]------------
[45969.490275] kernel BUG at drivers/net/wireless/eswin/fullmac/ecrnx_rx.c:2134!
[45969.497417] Kernel BUG [#1]
[45969.500215] Modules linked in: wlan_ecr6600u_usb jpu(O) vdec(O) venc(O)
[45969.506853] CPU: 0 PID: 347 Comm: rx_comp Tainted: G           O      5.15.0-starfive #1
[45969.514950] Hardware name: StarFive VisionFive V2 (DT)
[45969.520092] epc : ecrnx_rxdataind+0xccc/0xea8 [wlan_ecr6600u_usb]
[45969.526360]  ra : ecrnx_rxdataind+0xccc/0xea8 [wlan_ecr6600u_usb]
[45969.532608] epc : ffffffff017af12e ra : ffffffff017af12e sp : ffffffd0041a3ca0
[45969.539845]  gp : ffffffff81709b28 tp : ffffffe0c0195400 t0 : ffffffff8172d830
[45969.547083]  t1 : ffffffff8172d832 t2 : 0000000000000000 s0 : ffffffd0041a3d80
[45969.554320]  s1 : ffffffe0c1952d00 a0 : 0000000000000021 a1 : ffffffff8167d690
[45969.561556]  a2 : 0000000000000001 a3 : 0000000000000000 a4 : 272ac1fb5fd56c00
[45969.568793]  a5 : 272ac1fb5fd56c00 a6 : 0000000000051e78 a7 : 0000000000000010
[45969.576030]  s2 : ffffffe0c1a088e0 s3 : ffffffe0c1a0cd10 s4 : ffffffff8170b0a8
[45969.583267]  s5 : ffffffff017c0b20 s6 : 0000000000000001 s7 : 0000000000000001
[45969.590503]  s8 : 0000000000000000 s9 : ffffffe0d9038040 s10: ffffffe0d9038040
[45969.597739]  s11: 0000000000000038 t3 : 0000000000000034 t4 : 0000000000000001
[45969.604975]  t5 : 0000000000000000 t6 : ffffffd0041a38e8
[45969.610292] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[45969.618226] [<ffffffff017af12e>] ecrnx_rxdataind+0xccc/0xea8 [wlan_ecr6600u_usb]
[45969.625775] [<ffffffff017b22d2>] usb_host_rx_handler+0x40/0x2b2 [wlan_ecr6600u_usb]
[45969.633590] [<ffffffff017af46a>] ecrnx_rx_callback+0x64/0x106 [wlan_ecr6600u_usb]
[45969.641226] [<ffffffff017b1d62>] usb_rx_comp_cb+0x68/0xb2 [wlan_ecr6600u_usb]
[45969.648511] [<ffffffff017b1e4e>] eswin_rx_comp_thread+0xa2/0x186 [wlan_ecr6600u_usb]
[45969.656408] [<ffffffff8002851a>] kthread+0x100/0x116
[45969.661382] [<ffffffff800030f8>] ret_from_exception+0x0/0xc
Type         1
[45969.666994] ---[ end trace 30b5be089849336c ]---
  bcdUSB        [45969.672976] Kernel panic - not syncing: Fatal exception in interrupt
[45969.680699] SMP: stopping secondary CPUs
[45969.684631] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
       3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            5.15
  iManufacturer           3 Linux 5.15.0-starfive xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:01:00.0

---
after reboot
root@starfive:/home/user# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 3452:6600 ESWIN 6600U
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@starfive:/home/user# 


@martin-zs
Copy link
Author

Looks like the driver has code in it to force crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant