We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
plntyk:
probably all Realtek drivers like rtl8812au-ct and other variants like
morrownr/gordboy (5.9.3.2) #4229 #4230
aircrack-ng (5.6.4.2): #4273
have problems locks during driver bringup - this might result in some instabilites (hangs) later
rtl8812au-ct prints the following during boot with an attached 8812au card (Netis WF2160):
[ 26.813377] RTL871X: module init start [ 26.820024] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51 [ 26.826663] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51 [ 27.145310] [ 27.151078] ============================================ [ 27.157510] WARNING: possible recursive locking detected [ 27.157510] 5.10.41 #0 Not tainted [ 27.170012] -------------------------------------------- [ 27.176524] kmodloader/1490 is trying to acquire lock: [ 27.182480] ffff88801473a358 (plock){+...}-{2:2}, at: rtw_alloc_macid+0x128/0x355 [rtl8812au] [ 27.188960] [ 27.188960] but task is already holding lock: [ 27.197405] ffffc9000015fce8 (plock){+...}-{2:2}, at: rtw_alloc_stainfo+0x3c/0x23a [rtl8812au] [ 27.207456] [ 27.207456] other info that might help us debug this: [ 27.221130] Possible unsafe locking scenario: [ 27.221130] [ 27.234502] CPU0 [ 27.237460] ---- [ 27.237460] lock(plock); [ 27.247422] lock(plock); [ 27.257382] [ 27.257382] *** DEADLOCK *** [ 27.257382] [ 27.267430] May be due to missing lock nesting notation [ 27.267430] [ 27.287382] 3 locks held by kmodloader/1490: [ 27.287382] #0: ffff888009161a18 (&dev->mutex){....}-{3:3}, at: __device_driver_lock+0x54/0x60 [ 27.297382] #1: ffff8880091621a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock+0x3e/0x60 [ 27.297382] #2: ffffc9000015fce8 (plock){+...}-{2:2}, at: rtw_alloc_stainfo+0x3c/0x23a [rtl8812au] [ 27.307412] [ 27.307412] stack backtrace: [ 27.317382] CPU: 1 PID: 1490 Comm: kmodloader Not tainted 5.10.41 #0 [ 27.327380] Hardware name: /D945GCLF2, BIOS LF94510J.86A.0150.2009.0210.0006 02/10/2009 [ 27.327380] Call Trace: [ 27.337409] dump_stack+0x93/0xbd [ 27.337409] __lock_acquire.cold.60+0x122/0x2cc [ 27.347381] lock_acquire+0xcf/0x3e0 [ 27.357413] ? rtw_alloc_macid+0x128/0x355 [rtl8812au] [ 27.357413] ? _rtw_reordering_ctrl_timeout_handler+0xb/0xb [rtl8812au] [ 27.367382] _raw_spin_lock_bh+0x31/0x40 [ 27.367382] ? rtw_alloc_macid+0x128/0x355 [rtl8812au] [ 27.377412] rtw_alloc_macid+0x128/0x355 [rtl8812au] [ 27.377412] ? init_timer_key+0x51/0x100 [ 27.387383] rtw_alloc_stainfo+0x1d2/0x23a [rtl8812au] [ 27.397410] rtw_init_bcmc_stainfo+0x40/0x5b [rtl8812au] [ 27.397410] rtw_init_drv_sw+0x13c/0x175 [rtl8812au] [ 27.407385] rtw_usb_if1_init+0x182/0x21d [rtl8812au] [ 27.407385] rtw_drv_init+0x41a/0x4c1 [rtl8812au] [ 27.417412] usb_probe_interface+0x107/0x2b0 [ 27.417412] really_probe+0x10a/0x450 [ 27.427382] driver_probe_device+0x6c/0x160 [ 27.427382] device_driver_attach+0x53/0x60 [ 27.437411] __driver_attach+0x98/0x130 [ 27.447380] ? device_driver_attach+0x60/0x60 [ 27.447380] bus_for_each_dev+0x79/0xc0 [ 27.457412] driver_attach+0x19/0x20 [ 27.457412] bus_add_driver+0x125/0x240 [ 27.467381] driver_register+0x5b/0x100 [ 27.467381] usb_register_driver+0xaf/0x170 [ 27.477468] ? 0xffffffffa089c000 [ 27.477468] rtw_drv_entry+0x81/0x1000 [rtl8812au] [ 27.487387] do_one_initcall+0x65/0x310 [ 27.497413] ? kmem_cache_alloc_trace+0x7a0/0x9b0 [ 27.497413] do_init_module+0x5b/0x210 [ 27.507383] load_module+0x252b/0x2940 [ 27.507383] ? find_held_lock+0x36/0xb0 [ 27.517411] __do_sys_init_module+0x122/0x190 [ 27.517411] ? __do_sys_init_module+0x122/0x190 [ 27.527384] __x64_sys_init_module+0x15/0x20 [ 27.527384] do_syscall_64+0x37/0x50 [ 27.537410] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 27.537410] RIP: 0033:0x7f863178ffc2 [ 27.547382] Code: eb 0e 4c 8b 44 24 08 4d 8d 48 08 4c 89 4c 24 08 44 8b 0c 24 4d 8b 00 4c 01 c9 41 83 f9 2f 76 05 48 8b 4c 24 08 4c 8b 09 0f 05 <48> 89 c7 e8 86 f2 fd ff 48 8b 74 24 18 64 48 33 34 25 28 00 00 00 [ 27.557413] RSP: 002b:00007ffdfbe799f0 EFLAGS: 00000212 ORIG_RAX: 00000000000000af [ 27.557413] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f863178ffc2 [ 27.567382] RDX: 00000000004042b5 RSI: 00000000002df6a0 RDI: 00007f8631456020 [ 27.567382] RBP: 00000000004060a0 R08: 0000000000000000 R09: 00007f8631757860 [ 27.577381] R10: 0000000000000000 R11: 0000000000000212 R12: 00007f8631456020 [ 27.577381] R13: 0000000000000003 R14: 00000000004042b5 R15: 00000000002df6a0 [ 27.592802] RTL871X: rtw_ndev_init(wlan0) [ 27.600701] usbcore: registered new interface driver rtl8812au [ 27.606908] RTL871X: module init ret=0
The text was updated successfully, but these errors were encountered:
diffconfig output attached for 8812au-ac and is just one line different; depends which package is tested / run (rtl8812au-ct , -ac -gb -mw )
Sorry, something went wrong.
No branches or pull requests
plntyk:
probably all Realtek drivers like rtl8812au-ct
and other variants like
morrownr/gordboy (5.9.3.2)
#4229
#4230
aircrack-ng (5.6.4.2):
#4273
have problems locks during driver bringup - this might result in some
instabilites (hangs) later
rtl8812au-ct prints the following during boot with an attached 8812au card (Netis WF2160):
[ 26.813377] RTL871X: module init start
[ 26.820024] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
[ 26.826663] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51
[ 27.145310]
[ 27.151078] ============================================
[ 27.157510] WARNING: possible recursive locking detected
[ 27.157510] 5.10.41 #0 Not tainted
[ 27.170012] --------------------------------------------
[ 27.176524] kmodloader/1490 is trying to acquire lock:
[ 27.182480] ffff88801473a358 (plock){+...}-{2:2}, at: rtw_alloc_macid+0x128/0x355 [rtl8812au]
[ 27.188960]
[ 27.188960] but task is already holding lock:
[ 27.197405] ffffc9000015fce8 (plock){+...}-{2:2}, at: rtw_alloc_stainfo+0x3c/0x23a [rtl8812au]
[ 27.207456]
[ 27.207456] other info that might help us debug this:
[ 27.221130] Possible unsafe locking scenario:
[ 27.221130]
[ 27.234502] CPU0
[ 27.237460] ----
[ 27.237460] lock(plock);
[ 27.247422] lock(plock);
[ 27.257382]
[ 27.257382] *** DEADLOCK ***
[ 27.257382]
[ 27.267430] May be due to missing lock nesting notation
[ 27.267430]
[ 27.287382] 3 locks held by kmodloader/1490:
[ 27.287382] #0: ffff888009161a18 (&dev->mutex){....}-{3:3}, at: __device_driver_lock+0x54/0x60
[ 27.297382] #1: ffff8880091621a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock+0x3e/0x60
[ 27.297382] #2: ffffc9000015fce8 (plock){+...}-{2:2}, at: rtw_alloc_stainfo+0x3c/0x23a [rtl8812au]
[ 27.307412]
[ 27.307412] stack backtrace:
[ 27.317382] CPU: 1 PID: 1490 Comm: kmodloader Not tainted 5.10.41 #0
[ 27.327380] Hardware name: /D945GCLF2, BIOS LF94510J.86A.0150.2009.0210.0006 02/10/2009
[ 27.327380] Call Trace:
[ 27.337409] dump_stack+0x93/0xbd
[ 27.337409] __lock_acquire.cold.60+0x122/0x2cc
[ 27.347381] lock_acquire+0xcf/0x3e0
[ 27.357413] ? rtw_alloc_macid+0x128/0x355 [rtl8812au]
[ 27.357413] ? _rtw_reordering_ctrl_timeout_handler+0xb/0xb [rtl8812au]
[ 27.367382] _raw_spin_lock_bh+0x31/0x40
[ 27.367382] ? rtw_alloc_macid+0x128/0x355 [rtl8812au]
[ 27.377412] rtw_alloc_macid+0x128/0x355 [rtl8812au]
[ 27.377412] ? init_timer_key+0x51/0x100
[ 27.387383] rtw_alloc_stainfo+0x1d2/0x23a [rtl8812au]
[ 27.397410] rtw_init_bcmc_stainfo+0x40/0x5b [rtl8812au]
[ 27.397410] rtw_init_drv_sw+0x13c/0x175 [rtl8812au]
[ 27.407385] rtw_usb_if1_init+0x182/0x21d [rtl8812au]
[ 27.407385] rtw_drv_init+0x41a/0x4c1 [rtl8812au]
[ 27.417412] usb_probe_interface+0x107/0x2b0
[ 27.417412] really_probe+0x10a/0x450
[ 27.427382] driver_probe_device+0x6c/0x160
[ 27.427382] device_driver_attach+0x53/0x60
[ 27.437411] __driver_attach+0x98/0x130
[ 27.447380] ? device_driver_attach+0x60/0x60
[ 27.447380] bus_for_each_dev+0x79/0xc0
[ 27.457412] driver_attach+0x19/0x20
[ 27.457412] bus_add_driver+0x125/0x240
[ 27.467381] driver_register+0x5b/0x100
[ 27.467381] usb_register_driver+0xaf/0x170
[ 27.477468] ? 0xffffffffa089c000
[ 27.477468] rtw_drv_entry+0x81/0x1000 [rtl8812au]
[ 27.487387] do_one_initcall+0x65/0x310
[ 27.497413] ? kmem_cache_alloc_trace+0x7a0/0x9b0
[ 27.497413] do_init_module+0x5b/0x210
[ 27.507383] load_module+0x252b/0x2940
[ 27.507383] ? find_held_lock+0x36/0xb0
[ 27.517411] __do_sys_init_module+0x122/0x190
[ 27.517411] ? __do_sys_init_module+0x122/0x190
[ 27.527384] __x64_sys_init_module+0x15/0x20
[ 27.527384] do_syscall_64+0x37/0x50
[ 27.537410] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 27.537410] RIP: 0033:0x7f863178ffc2
[ 27.547382] Code: eb 0e 4c 8b 44 24 08 4d 8d 48 08 4c 89 4c 24 08 44 8b 0c 24 4d 8b 00 4c 01 c9 41 83 f9 2f 76 05 48 8b 4c 24 08 4c 8b 09 0f 05 <48> 89 c7 e8 86 f2 fd ff 48 8b 74 24 18 64 48 33 34 25 28 00 00 00
[ 27.557413] RSP: 002b:00007ffdfbe799f0 EFLAGS: 00000212 ORIG_RAX: 00000000000000af
[ 27.557413] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f863178ffc2
[ 27.567382] RDX: 00000000004042b5 RSI: 00000000002df6a0 RDI: 00007f8631456020
[ 27.567382] RBP: 00000000004060a0 R08: 0000000000000000 R09: 00007f8631757860
[ 27.577381] R10: 0000000000000000 R11: 0000000000000212 R12: 00007f8631456020
[ 27.577381] R13: 0000000000000003 R14: 00000000004042b5 R15: 00000000002df6a0
[ 27.592802] RTL871X: rtw_ndev_init(wlan0)
[ 27.600701] usbcore: registered new interface driver rtl8812au
[ 27.606908] RTL871X: module init ret=0
The text was updated successfully, but these errors were encountered: