I'm on 5.19.0-44.45 right now.
What 5.19.0-44.45 is expected to fix?
- The computer boots properly, I have both R7 240 and R9 390X displaying something fine, so that error is fixed.
- I still have an error message in dmesg:
``` [ 7.609329] ================================================================================ [ 7.610224] UBSAN: invalid-load in /build/linux-le9C0y/linux-5.19.0/drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c:1363:37 [ 7.611125] load of value 232 is not a valid value for type '_Bool' [ 7.612025] CPU: 14 PID: 400 Comm: systemd-udevd Not tainted 5.19.0-44-generic #45-Ubuntu [ 7.612928] Hardware name: Default string Default string/Default string, BIOS WRX80PRO-F1 08/04/2022 [ 7.613836] Call Trace: [ 7.614736] <TASK> [ 7.615633] show_stack+0x4e/0x61 [ 7.616531] dump_stack_lvl+0x4a/0x6f [ 7.617429] dump_stack+0x10/0x18 [ 7.618333] ubsan_epilogue+0x9/0x3a [ 7.619231] __ubsan_handle_load_invalid_value.cold+0x42/0x47 [ 7.620124] amdgpu_dpm_is_overdrive_supported.cold+0x12/0x45 [amdgpu] [ 7.621402] default_attr_update+0x332/0x500 [amdgpu] [ 7.622641] amdgpu_pm_sysfs_init+0x16f/0x1e0 [amdgpu] [ 7.623871] amdgpu_device_init.cold+0x3b7/0x80a [amdgpu] [ 7.625107] amdgpu_driver_load_kms+0x1c/0x170 [amdgpu] [ 7.626277] amdgpu_pci_probe+0x15f/0x3c0 [amdgpu] [ 7.627419] local_pci_probe+0x47/0x90 [ 7.628270] pci_call_probe+0x55/0x190 [ 7.629107] pci_device_probe+0x84/0x120 [ 7.629934] really_probe+0x1df/0x3b0 [ 7.630767] __driver_probe_device+0x12c/0x1b0 [ 7.631596] driver_probe_device+0x24/0xd0 [ 7.632426] __driver_attach+0x10b/0x210 [ 7.633255] ? __device_attach_driver+0x170/0x170 [ 7.634087] bus_for_each_dev+0x90/0xe0 [ 7.634917] driver_attach+0x1e/0x30 [ 7.635740] bus_add_driver+0x187/0x230 [ 7.636562] driver_register+0x8f/0x100 [ 7.637379] __pci_register_driver+0x62/0x70 [ 7.638203] amdgpu_init+0x6a/0x1000 [amdgpu] [ 7.639307] ? 0xffffffffc05c0000 [ 7.640118] do_one_initcall+0x5e/0x240 [ 7.640929] do_init_module+0x50/0x210 [ 7.641736] load_module+0xb7d/0xcd0 [ 7.642532] __do_sys_finit_module+0xc4/0x140 [ 7.643316] ? __do_sys_finit_module+0xc4/0x140 [ 7.644100] __x64_sys_finit_module+0x18/0x30 [ 7.644879] do_syscall_64+0x5b/0x90 [ 7.645661] ? ksys_mmap_pgoff+0x11d/0x260 [ 7.646444] ? exit_to_user_mode_prepare+0x30/0xb0 [ 7.647231] ? syscall_exit_to_user_mode+0x29/0x50 [ 7.648016] ? do_syscall_64+0x67/0x90 [ 7.648796] ? do_syscall_64+0x67/0x90 [ 7.649566] ? syscall_exit_to_user_mode+0x29/0x50 [ 7.650347] ? do_syscall_64+0x67/0x90 [ 7.651120] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 7.651888] RIP: 0033:0x7f790b1eec4d [ 7.652645] Code: 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 83 f1 0d 00 f7 d8 64 89 01 48 [ 7.653432] RSP: 002b:00007fffa9b1d908 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 7.654222] RAX: ffffffffffffffda RBX: 0000556a6508e430 RCX: 00007f790b1eec4d [ 7.655015] RDX: 0000000000000000 RSI: 0000556a650933b0 RDI: 0000000000000015 [ 7.655815] RBP: 0000556a650933b0 R08: 0000000000000000 R09: 00007f790b2cec60 [ 7.656610] R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000020000 [ 7.657414] R13: 0000556a650795d0 R14: 0000000000000000 R15: 0000556a65079030 [ 7.658216] </TASK> [ 7.659037] ================================================================================ ```
I'm on 5.19.0-44.45 right now.
What 5.19.0-44.45 is expected to fix?
- The computer boots properly, I have both R7 240 and R9 390X displaying something fine, so that error is fixed.
- I still have an error message in dmesg:
``` ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === linux-le9C0y/ linux-5. 19.0/drivers/ gpu/drm/ amd/amdgpu/ ../pm/amdgpu_ dpm.c:1363: 37 0x4e/0x61 lvl+0x4a/ 0x6f 0x10/0x18 0x9/0x3a handle_ load_invalid_ value.cold+ 0x42/0x47 dpm_is_ overdrive_ supported. cold+0x12/ 0x45 [amdgpu] attr_update+ 0x332/0x500 [amdgpu] pm_sysfs_ init+0x16f/ 0x1e0 [amdgpu] device_ init.cold+ 0x3b7/0x80a [amdgpu] driver_ load_kms+ 0x1c/0x170 [amdgpu] pci_probe+ 0x15f/0x3c0 [amdgpu] probe+0x47/ 0x90 probe+0x55/ 0x190 probe+0x84/ 0x120 probe+0x1df/ 0x3b0 probe_device+ 0x12c/0x1b0 probe_device+ 0x24/0xd0 attach+ 0x10b/0x210 attach_ driver+ 0x170/0x170 each_dev+ 0x90/0xe0 attach+ 0x1e/0x30 driver+ 0x187/0x230 register+ 0x8f/0x100 driver+ 0x62/0x70 init+0x6a/ 0x1000 [amdgpu] initcall+ 0x5e/0x240 module+ 0x50/0x210 0xb7d/0xcd0 finit_module+ 0xc4/0x140 finit_module+ 0xc4/0x140 finit_module+ 0x18/0x30 64+0x5b/ 0x90 pgoff+0x11d/ 0x260 user_mode_ prepare+ 0x30/0xb0 exit_to_ user_mode+ 0x29/0x50 64+0x67/ 0x90 64+0x67/ 0x90 exit_to_ user_mode+ 0x29/0x50 64+0x67/ 0x90 64_after_ hwframe+ 0x63/0xcd b1d908 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
[ 7.609329] =======
[ 7.610224] UBSAN: invalid-load in /build/
[ 7.611125] load of value 232 is not a valid value for type '_Bool'
[ 7.612025] CPU: 14 PID: 400 Comm: systemd-udevd Not tainted 5.19.0-44-generic #45-Ubuntu
[ 7.612928] Hardware name: Default string Default string/Default string, BIOS WRX80PRO-F1 08/04/2022
[ 7.613836] Call Trace:
[ 7.614736] <TASK>
[ 7.615633] show_stack+
[ 7.616531] dump_stack_
[ 7.617429] dump_stack+
[ 7.618333] ubsan_epilogue+
[ 7.619231] __ubsan_
[ 7.620124] amdgpu_
[ 7.621402] default_
[ 7.622641] amdgpu_
[ 7.623871] amdgpu_
[ 7.625107] amdgpu_
[ 7.626277] amdgpu_
[ 7.627419] local_pci_
[ 7.628270] pci_call_
[ 7.629107] pci_device_
[ 7.629934] really_
[ 7.630767] __driver_
[ 7.631596] driver_
[ 7.632426] __driver_
[ 7.633255] ? __device_
[ 7.634087] bus_for_
[ 7.634917] driver_
[ 7.635740] bus_add_
[ 7.636562] driver_
[ 7.637379] __pci_register_
[ 7.638203] amdgpu_
[ 7.639307] ? 0xffffffffc05c0000
[ 7.640118] do_one_
[ 7.640929] do_init_
[ 7.641736] load_module+
[ 7.642532] __do_sys_
[ 7.643316] ? __do_sys_
[ 7.644100] __x64_sys_
[ 7.644879] do_syscall_
[ 7.645661] ? ksys_mmap_
[ 7.646444] ? exit_to_
[ 7.647231] ? syscall_
[ 7.648016] ? do_syscall_
[ 7.648796] ? do_syscall_
[ 7.649566] ? syscall_
[ 7.650347] ? do_syscall_
[ 7.651120] entry_SYSCALL_
[ 7.651888] RIP: 0033:0x7f790b1eec4d
[ 7.652645] Code: 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 83 f1 0d 00 f7 d8 64 89 01 48
[ 7.653432] RSP: 002b:00007fffa9
[ 7.654222] RAX: ffffffffffffffda RBX: 0000556a6508e430 RCX: 00007f790b1eec4d
[ 7.655015] RDX: 0000000000000000 RSI: 0000556a650933b0 RDI: 0000000000000015
[ 7.655815] RBP: 0000556a650933b0 R08: 0000000000000000 R09: 00007f790b2cec60
[ 7.656610] R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000020000
[ 7.657414] R13: 0000556a650795d0 R14: 0000000000000000 R15: 0000556a65079030
[ 7.658216] </TASK>
[ 7.659037] =======
```