On Thu, 5 May 2022 08:29:52 +0200
Gonsolo <[email protected]> wrote:
> Hi all.
>
> After a resume I get the following error:
>
> +0,000007] UBSAN: invalid-load in
> /build/linux-lowlatency-fSdu7c/linux-lowlatency-5.15.0/net/mac80211/status.c:1164:21
> [ +0,000004] load of value 255 is not a valid value for type '_Bool'
> [ +0,000004] CPU: 22 PID: 387 Comm: kworker/u256:5 Tainted: P
> OE 5.15.0-27-lowlatency #28-Ubuntu
> [ +0,000004] Hardware name: To Be Filled By O.E.M. To Be Filled By
> O.E.M./X399 Phantom Gaming 6, BIOS P1.31 01/14/2021
> [ +0,000003] Workqueue: phy0 mt76x02_mac_work [mt76x02_lib]
> [ +0,000014] Call Trace:
> [ +0,000003] <TASK>
> [ +0,000003] show_stack+0x52/0x58
> [ +0,000006] dump_stack_lvl+0x4a/0x5f
> [ +0,000007] dump_stack+0x10/0x12
> [ +0,000003] ubsan_epilogue+0x9/0x45
> [ +0,000002] __ubsan_handle_load_invalid_value.cold+0x44/0x49
> [ +0,000004] ieee80211_tx_status_ext.cold+0x4e/0x5f [mac80211]
> [ +0,000068] mt76_tx_status_unlock+0x111/0x160 [mt76]
> [ +0,000010] mt76_tx_status_check+0x68/0x90 [mt76]
> [ +0,000009] mt76x02_mac_work+0x14b/0x240 [mt76x02_lib]
> [ +0,000008] process_one_work+0x222/0x3f0
> [ +0,000006] worker_thread+0x50/0x3f0
> [ +0,000004] ? process_one_work+0x3f0/0x3f0
> [ +0,000004] kthread+0x13b/0x160
> [ +0,000003] ? set_kthread_struct+0x50/0x50
> [ +0,000004] ret_from_fork+0x22/0x30
> [ +0,000006] </TASK>
> [ +0,000001] ================================================================================
>
> This is a stock Ubuntu Jammy lowlatency kernel (with Nvidia drivers).
Contact Ubuntu. The rule for upstream is if you load out of tree drivers
than that kernel is unsupported.
Dear Stephen,
> Contact Ubuntu. The rule for upstream is if you load out of tree drivers
> than that kernel is unsupported.
I compiled a stock 5.17.5 kernel from git.kernel.org, installed
without kernel headers (forcing dkms to not build proprietary drivers)
and get the following errors *at boot time* (not suspend/resume):
+0,000386] wlx00c0cab022a0: associate with 8c:6a:8d:9e:2a:88 (try 1/3)
[ +0,001118] ================================================================================
[ +0,000005] UBSAN: invalid-load in net/mac80211/status.c:1164:21
[ +0,000004] load of value 255 is not a valid value for type '_Bool'
[ +0,000003] CPU: 10 PID: 380 Comm: kworker/u256:5 Not tainted 5.17.5 #3
[ +0,000004] Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./X399 Phantom Gaming 6, BIOS P1.31 01/14/2021
[ +0,000003] Workqueue: mt76 mt76u_tx_status_data [mt76_usb]
[ +0,000009] Call Trace:
[ +0,000002] <TASK>
[ +0,000003] dump_stack_lvl+0x4c/0x63
[ +0,000009] dump_stack+0x10/0x12
[ +0,000004] ubsan_epilogue+0x9/0x45
[ +0,000003] __ubsan_handle_load_invalid_value.cold+0x44/0x49
[ +0,000004] ieee80211_tx_status_ext.cold+0x1e/0xb8 [mac80211]
[ +0,000058] ? __radix_tree_delete+0x91/0x100
[ +0,000006] mt76_tx_status_unlock+0x119/0x170 [mt76]
[ +0,000011] mt76x02_send_tx_status+0x1af/0x420 [mt76x02_lib]
[ +0,000009] mt76x02_tx_status_data+0x47/0x70 [mt76x02_lib]
[ +0,000007] mt76u_tx_status_data+0x67/0xc0 [mt76_usb]
[ +0,000005] process_one_work+0x21f/0x3f0
[ +0,000005] worker_thread+0x50/0x3d0
[ +0,000004] ? rescuer_thread+0x390/0x390
[ +0,000003] kthread+0xee/0x120
[ +0,000003] ? kthread_complete_and_exit+0x20/0x20
[ +0,000004] ret_from_fork+0x22/0x30
[ +0,000005] </TASK>
[ +0,000001] ================================================================================
[ +0,003098] wlx00c0cab022a0: RX AssocResp from 8c:6a:8d:9e:2a:88
(capab=0x1411 status=0 aid=16)
I sent the first email because I suspected that the above (locking?)
problem was totally unrelated to the GPU driver.
I hope that this is more helpful.
--
g