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

Device no longer detected when switching USB ports, have to reboot #43

Open
MadMartian opened this issue Mar 19, 2023 · 1 comment
Open

Comments

@MadMartian
Copy link

I am using an ASUS USB-AX56 (0b05:1997 ASUSTek Computer, Inc. 802.11ac WLAN Adapter) and it works well apart from one issue: I (unsafely) unplugged the device and moved it to a different USB port and then it failed to detect the device. I did this in a few more USB ports including the original one it was moved from in the first place, the device was no longer detected in any USB port. The only way I've found to get it to detect the device again was to reboot my computer. This isn't a huge issue as I don't intend on shuffling USB ports like this unless adding new permanent hardware peripherals to my machine, which doesn't happen very often (apart from today).

Kernel: 5.4.0-144-generic

Logs at the time I removed the device

Mar 19 00:19:58.404887 Hoth kernel: WARNING: CPU: 2 PID: 2557039 at /opt/oss/rtl8852au/phl/phl_role.c:1006 rtw_phl_wifi_role_free+0x28/0x4b [8852au]
Mar 19 00:19:58.404949 Hoth kernel: Modules linked in: nfnetlink_queue nfnetlink_log bluetooth ecdh_generic ecc 8852au(OE) option usb_wwan usbserial cfg80211 uas usb_storage dm_crypt xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink >
Mar 19 00:19:58.405044 Hoth kernel:  snd_usbmidi_lib snd_hwdep videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_seq_midi videobuf2_common snd_seq_midi_event videodev input_leds snd_pcm binfmt_misc snd_rawmidi usblp joydev mc eeepc_wmi a>
Mar 19 00:19:58.405116 Hoth kernel: CPU: 2 PID: 2557039 Comm: kworker/2:2 Tainted: P           OE     5.4.0-144-generic #161-Ubuntu
Mar 19 00:19:58.405174 Hoth kernel: Hardware name: ASUS All Series/Z97-PRO GAMER, BIOS 2203 02/26/2016
Mar 19 00:19:58.405236 Hoth kernel: Workqueue: usb_hub_wq hub_event
Mar 19 00:19:58.405388 Hoth kernel: RIP: 0010:rtw_phl_wifi_role_free+0x28/0x4b [8852au]
Mar 19 00:19:58.405451 Hoth kernel: Code: c9 c3 0f 1f 44 00 00 40 84 f6 74 01 c3 55 48 89 e5 41 54 53 48 89 fb 4c 8b a7 18 11 00 00 4c 89 e6 e8 97 ff ff ff 85 c0 74 02 <0f> 0b 4c 89 e6 48 89 df e8 43 10 00 00 85 c0 74 02 0f 0b 4c 89 e6
Mar 19 00:19:58.405511 Hoth kernel: RSP: 0018:ffffaba74d0f3948 EFLAGS: 00010202
Mar 19 00:19:58.405575 Hoth kernel: RAX: 0000000000000001 RBX: ffffaba74b8ad000 RCX: 0000000000000001
Mar 19 00:19:58.405639 Hoth kernel: RDX: 0000000000000001 RSI: 0000000055555554 RDI: 7fffffffffffffff
Mar 19 00:19:58.405698 Hoth kernel: RBP: ffffaba74d0f3958 R08: 0000000000000000 R09: 0000000000000001
Mar 19 00:19:58.405758 Hoth kernel: R10: ffff9e46beaaeb80 R11: ffff9e46beaaeb60 R12: ffffaba742483000
Mar 19 00:19:58.405818 Hoth kernel: R13: 0000000000000001 R14: ffffaba74d0f3a28 R15: ffffaba74d0f3a28
Mar 19 00:19:58.405883 Hoth kernel: FS:  0000000000000000(0000) GS:ffff9e46bea80000(0000) knlGS:0000000000000000
Mar 19 00:19:58.405956 Hoth kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 19 00:19:58.406018 Hoth kernel: CR2: 00007f1ead6c2000 CR3: 00000005e060a005 CR4: 00000000001606e0
Mar 19 00:19:58.406077 Hoth kernel: Call Trace:
Mar 19 00:19:58.406136 Hoth kernel:  rtw_hw_iface_deinit+0x34/0x42 [8852au]
Mar 19 00:19:58.406197 Hoth kernel:  netdev_close+0x7b/0xe7 [8852au]
Mar 19 00:19:58.406257 Hoth kernel:  __dev_close_many+0xa5/0x120
Mar 19 00:19:58.406310 Hoth kernel:  dev_close_many+0x91/0x150
Mar 19 00:19:58.406357 Hoth kernel:  rollback_registered_many+0x139/0x520
Mar 19 00:19:58.406377 Hoth kernel:  unregister_netdevice_queue+0x94/0x120
Mar 19 00:19:58.406398 Hoth kernel:  unregister_netdev+0x1d/0x30
Mar 19 00:19:58.406423 Hoth kernel:  rtw_os_ndev_unregister+0x5e/0xa2 [8852au]
Mar 19 00:19:58.406444 Hoth kernel:  rtw_os_ndevs_unregister+0x27/0x32 [8852au]
Mar 19 00:19:58.406469 Hoth kernel:  rtw_dev_remove+0x32/0x12f [8852au]
Mar 19 00:19:58.406491 Hoth kernel:  usb_unbind_interface+0x8c/0x260
Mar 19 00:19:58.406513 Hoth kernel:  device_release_driver_internal+0xf4/0x1d0
Mar 19 00:19:58.406536 Hoth kernel:  device_release_driver+0x12/0x20
Mar 19 00:19:58.406558 Hoth kernel:  bus_remove_device+0xe1/0x150
Mar 19 00:19:58.406580 Hoth kernel:  device_del+0x165/0x370
Mar 19 00:19:58.406600 Hoth kernel:  ? usb_remove_ep_devs+0x1f/0x30
Mar 19 00:19:58.406623 Hoth kernel:  usb_disable_device+0x95/0x1c0
Mar 19 00:19:58.406649 Hoth kernel:  usb_disconnect+0xc0/0x270
Mar 19 00:19:58.406671 Hoth kernel:  hub_port_connect+0x83/0x890
Mar 19 00:19:58.406693 Hoth kernel:  port_event+0x4f7/0x770
Mar 19 00:19:58.406728 Hoth kernel:  hub_event+0x157/0x3b0
Mar 19 00:19:58.406752 Hoth kernel:  process_one_work+0x1eb/0x3b0
Mar 19 00:19:58.406775 Hoth kernel:  worker_thread+0x4d/0x400
Mar 19 00:19:58.406799 Hoth kernel:  kthread+0x104/0x140
Mar 19 00:19:58.406822 Hoth kernel:  ? process_one_work+0x3b0/0x3b0
Mar 19 00:19:58.406844 Hoth kernel:  ? kthread_park+0x90/0x90
Mar 19 00:19:58.406872 Hoth kernel:  ret_from_fork+0x35/0x40
Mar 19 00:19:58.406895 Hoth kernel: ---[ end trace ac36eafbf96bd826 ]---
Mar 19 00:22:03.574166 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:22:03.574431 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:23:26.540793 Hoth kernel: VFS: busy inodes on changed media or resized disk sde
Mar 19 00:23:29.586953 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:23:29.587320 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:24:54.300747 Hoth kernel: VFS: busy inodes on changed media or resized disk sde
Mar 19 00:24:54.360746 Hoth kernel: scsi 6:0:0:0: rejecting I/O to dead device
Mar 19 00:24:58.451503 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:24:58.451636 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:26:25.171287 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:26:25.171653 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:27:18.577984 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:27:18.578241 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:28:37.458903 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:28:37.459266 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:28:37.482343 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482395 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482429 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482452 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482470 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482493 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482538 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482559 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482581 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482606 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482627 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482647 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482673 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482692 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482709 Hoth kernel: Dev sde: unable to read RDB block 0
Mar 19 00:28:37.482734 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482752 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482770 Hoth kernel: blk_update_request: I/O error, dev sde, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482789 Hoth kernel: Buffer I/O error on dev sde, logical block 0, async page read
Mar 19 00:28:37.482807 Hoth kernel: blk_update_request: I/O error, dev sde, sector 24 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 19 00:28:37.482828 Hoth kernel: Buffer I/O error on dev sde, logical block 3, async page read
Mar 19 00:31:12.978511 Hoth kernel: sd 6:0:0:0: [sde] No Caching mode page found
Mar 19 00:31:12.978796 Hoth kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Mar 19 00:32:47.329513 Hoth kernel: usbhid 3-10:1.1: can't add hid device: -110
Mar 19 00:32:47.330170 Hoth kernel: usbhid: probe of 3-10:1.1 failed with error -110
@lwfinger
Copy link
Owner

My recommendation is to "not do that."

This is a bug that you should report on the linux-wireless mailing list. See the last paragraph of README.md.

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

2 participants