WARNING at startup and NULL pointer dereference with GravityMark on 5.19-rc0
This is on a PRIME laptop Renoir & 6800M
The WARNING at startup is:
May 31 16:23:45 axion.fireburn.co.uk kernel: ------------[ cut here ]------------
May 31 16:23:45 axion.fireburn.co.uk kernel: WARNING: CPU: 1 PID: 1 at drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:98 rn_vbios_smu_send_msg_with_param+0x3e/0xe0
May 31 16:23:45 axion.fireburn.co.uk kernel: Modules linked in:
May 31 16:23:45 axion.fireburn.co.uk kernel: CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.18.0-tip+ #3169
May 31 16:23:45 axion.fireburn.co.uk kernel: Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513QY_G513QY/G513QY, BIOS G513QY.318 03/29/2022
May 31 16:23:45 axion.fireburn.co.uk kernel: RIP: 0010:rn_vbios_smu_send_msg_with_param+0x3e/0xe0
May 31 16:23:45 axion.fireburn.co.uk kernel: Code: f6 48 89 fb 48 8b 3b be 9b 62 01 00 48 c7 c2 f3 99 06 83 e8 f4 da f0 ff 85 c0 75 12 bf c6 a7 00 00 e8 66 c4 b1 ff ff c5 75 da <0f> 0b eb 05 83 f8 01 75 f7 48 >
May 31 16:23:45 axion.fireburn.co.uk kernel: RSP: 0018:ffff88810032b638 EFLAGS: 00010202
May 31 16:23:45 axion.fireburn.co.uk kernel: RAX: 00000000000000fe RBX: ffff88810353ae00 RCX: 0000000000000000
May 31 16:23:45 axion.fireburn.co.uk kernel: RDX: 0000000000000000 RSI: ffff8881059aa640 RDI: ffff888104e80000
May 31 16:23:45 axion.fireburn.co.uk kernel: RBP: 00000000fffcf2bf R08: ffff888104e22c00 R09: 7fc9117fffffffff
May 31 16:23:45 axion.fireburn.co.uk kernel: R10: 0000000000000000 R11: ffffffff819baea0 R12: ffff888104fd0000
May 31 16:23:45 axion.fireburn.co.uk kernel: R13: ffff88810570f800 R14: 000000000000000d R15: 0000000000000001
May 31 16:23:45 axion.fireburn.co.uk kernel: FS: 0000000000000000(0000) GS:ffff888fde440000(0000) knlGS:0000000000000000
May 31 16:23:45 axion.fireburn.co.uk kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 31 16:23:45 axion.fireburn.co.uk kernel: CR2: 0000000000000000 CR3: 00000000ac60c000 CR4: 0000000000350ee0
May 31 16:23:45 axion.fireburn.co.uk kernel: Call Trace:
May 31 16:23:45 axion.fireburn.co.uk kernel: <TASK>
May 31 16:23:45 axion.fireburn.co.uk kernel: ? rn_clk_mgr_construct+0x734/0x750
May 31 16:23:45 axion.fireburn.co.uk kernel: ? dc_clk_mgr_create+0x1f0/0x4f0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? dc_create+0x43a/0x5c0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? dm_hw_init+0x29a/0x2380
May 31 16:23:45 axion.fireburn.co.uk kernel: ? vprintk_emit+0x12a/0x250
May 31 16:23:45 axion.fireburn.co.uk kernel: ? dev_vprintk_emit+0x152/0x179
May 31 16:23:45 axion.fireburn.co.uk kernel: ? dev_vprintk_emit+0x152/0x179
May 31 16:23:45 axion.fireburn.co.uk kernel: ? smu_hw_init+0x255/0x290
May 31 16:23:45 axion.fireburn.co.uk kernel: ? amdgpu_device_ip_init+0x32a/0x4a0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? amdgpu_device_init+0x161a/0x1ba0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? pci_bus_read_config_word+0x35/0x50
May 31 16:23:45 axion.fireburn.co.uk kernel: ? amdgpu_driver_load_kms+0x14/0x150
May 31 16:23:45 axion.fireburn.co.uk kernel: ? amdgpu_pci_probe+0x1c0/0x3d0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? pci_device_probe+0xd3/0x170
May 31 16:23:45 axion.fireburn.co.uk kernel: ? really_probe+0x13e/0x300
May 31 16:23:45 axion.fireburn.co.uk kernel: ? __driver_probe_device+0x91/0xd0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? driver_probe_device+0x1a/0x160
May 31 16:23:45 axion.fireburn.co.uk kernel: ? __driver_attach+0xe6/0x190
May 31 16:23:45 axion.fireburn.co.uk kernel: ? bus_add_driver+0x15e/0x250
May 31 16:23:45 axion.fireburn.co.uk kernel: ? driver_register+0x7d/0x110
May 31 16:23:45 axion.fireburn.co.uk kernel: ? __initstub__kmod_gpu_sched__180_178_drm_sched_fence_slab_init6+0x3f/0x3f
May 31 16:23:45 axion.fireburn.co.uk kernel: ? do_one_initcall+0x100/0x290
May 31 16:23:45 axion.fireburn.co.uk kernel: ? do_initcall_level+0x8a/0xe8
May 31 16:23:45 axion.fireburn.co.uk kernel: ? do_initcalls+0x44/0x6b
May 31 16:23:45 axion.fireburn.co.uk kernel: ? kernel_init_freeable+0xc7/0x10d
May 31 16:23:45 axion.fireburn.co.uk kernel: ? rest_init+0xc0/0xc0
May 31 16:23:45 axion.fireburn.co.uk kernel: ? kernel_init+0x15/0x140
May 31 16:23:45 axion.fireburn.co.uk kernel: ? ret_from_fork+0x22/0x30
May 31 16:23:45 axion.fireburn.co.uk kernel: </TASK>
May 31 16:23:45 axion.fireburn.co.uk kernel: ---[ end trace 0000000000000000 ]---
The nullpointer which freezes the system is:
May 31 16:24:49 axion.fireburn.co.uk kernel: BUG: kernel NULL pointer dereference, address: 00000000000000d8
May 31 16:24:49 axion.fireburn.co.uk kernel: #PF: supervisor read access in kernel mode
May 31 16:24:49 axion.fireburn.co.uk kernel: #PF: error_code(0x0000) - not-present page
May 31 16:24:49 axion.fireburn.co.uk kernel: PGD 165306067 P4D 165306067 PUD 11dfec067 PMD 0
May 31 16:24:49 axion.fireburn.co.uk kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
May 31 16:24:49 axion.fireburn.co.uk kernel: CPU: 15 PID: 1080 Comm: GravityMark.x64 Tainted: G W 5.18.0-tip+ #3169
May 31 16:24:49 axion.fireburn.co.uk kernel: Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513QY_G513QY/G513QY, BIOS G513QY.318 03/29/2022
May 31 16:24:49 axion.fireburn.co.uk kernel: RIP: 0010:ttm_device_swapout+0x6a/0x3d0
May 31 16:24:49 axion.fireburn.co.uk kernel: Code: 85 ed 74 51 80 7d 01 00 74 4b 48 89 e6 48 89 ef e8 7b dd ff ff 48 85 c0 74 3b 48 89 c3 49 89 e6 48 8b 7b 30 4c 89 ee 44 89 e2 <4c> 8b bf d8 00 00 00 e8 fa a5 >
May 31 16:24:49 axion.fireburn.co.uk kernel: RSP: 0000:ffff888159ac7c70 EFLAGS: 00010282
May 31 16:24:49 axion.fireburn.co.uk kernel: RAX: ffff888104e85ac8 RBX: ffff888104e85ac8 RCX: 0000000000000000
May 31 16:24:49 axion.fireburn.co.uk kernel: RDX: 0000000000000cc0 RSI: ffff888159ac7d50 RDI: 0000000000000000
May 31 16:24:49 axion.fireburn.co.uk kernel: RBP: ffff888104e85140 R08: ffff8881522ae240 R09: ffff88816e6a6780
May 31 16:24:49 axion.fireburn.co.uk kernel: R10: 0000000000000063 R11: ffffffff81829fe0 R12: 0000000000000cc0
May 31 16:24:49 axion.fireburn.co.uk kernel: R13: ffff888159ac7d50 R14: ffff888159ac7c70 R15: 0000000000691000
May 31 16:24:49 axion.fireburn.co.uk kernel: FS: 00007f6d3644e740(0000) GS:ffff888fde7c0000(0000) knlGS:0000000000000000
May 31 16:24:49 axion.fireburn.co.uk kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 31 16:24:49 axion.fireburn.co.uk kernel: CR2: 00000000000000d8 CR3: 000000014ed8c000 CR4: 0000000000350ee0
May 31 16:24:49 axion.fireburn.co.uk kernel: Call Trace:
May 31 16:24:49 axion.fireburn.co.uk kernel: <TASK>
May 31 16:24:49 axion.fireburn.co.uk kernel: ? ttm_global_swapout+0xae/0xc0
May 31 16:24:49 axion.fireburn.co.uk kernel: ? ttm_tt_populate+0x7d/0x130
May 31 16:24:49 axion.fireburn.co.uk kernel: ? ttm_bo_vm_fault_reserved+0x237/0x270
May 31 16:24:49 axion.fireburn.co.uk kernel: ? amdgpu_gem_fault+0x92/0xd0
May 31 16:24:49 axion.fireburn.co.uk kernel: ? do_fault+0x298/0x4b0
May 31 16:24:49 axion.fireburn.co.uk kernel: ? handle_mm_fault+0x85b/0xab0
May 31 16:24:49 axion.fireburn.co.uk kernel: ? do_user_addr_fault+0x287/0x460
May 31 16:24:49 axion.fireburn.co.uk kernel: ? exc_page_fault+0x5f/0x150
May 31 16:24:49 axion.fireburn.co.uk kernel: ? asm_exc_page_fault+0x2b/0x30
May 31 16:24:49 axion.fireburn.co.uk kernel: </TASK>
May 31 16:24:49 axion.fireburn.co.uk kernel: Modules linked in:
May 31 16:24:49 axion.fireburn.co.uk kernel: CR2: 00000000000000d8
May 31 16:24:49 axion.fireburn.co.uk kernel: ---[ end trace 0000000000000000 ]---
May 31 16:24:49 axion.fireburn.co.uk kernel: RIP: 0010:ttm_device_swapout+0x6a/0x3d0
May 31 16:24:49 axion.fireburn.co.uk kernel: Code: 85 ed 74 51 80 7d 01 00 74 4b 48 89 e6 48 89 ef e8 7b dd ff ff 48 85 c0 74 3b 48 89 c3 49 89 e6 48 8b 7b 30 4c 89 ee 44 89 e2 <4c> 8b bf d8 00 00 00 e8 fa a5 >
May 31 16:24:49 axion.fireburn.co.uk kernel: RSP: 0000:ffff888159ac7c70 EFLAGS: 00010282
May 31 16:24:49 axion.fireburn.co.uk kernel: RAX: ffff888104e85ac8 RBX: ffff888104e85ac8 RCX: 0000000000000000
May 31 16:24:49 axion.fireburn.co.uk kernel: RDX: 0000000000000cc0 RSI: ffff888159ac7d50 RDI: 0000000000000000
May 31 16:24:49 axion.fireburn.co.uk kernel: RBP: ffff888104e85140 R08: ffff8881522ae240 R09: ffff88816e6a6780
May 31 16:24:49 axion.fireburn.co.uk kernel: R10: 0000000000000063 R11: ffffffff81829fe0 R12: 0000000000000cc0
May 31 16:24:49 axion.fireburn.co.uk kernel: R13: ffff888159ac7d50 R14: ffff888159ac7c70 R15: 0000000000691000
May 31 16:24:49 axion.fireburn.co.uk kernel: FS: 00007f6d3644e740(0000) GS:ffff888fde7c0000(0000) knlGS:0000000000000000
May 31 16:24:49 axion.fireburn.co.uk kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 31 16:24:49 axion.fireburn.co.uk kernel: CR2: 00000000000000d8 CR3: 000000014ed8c000 CR4: 0000000000350ee0
May 31 16:24:49 axion.fireburn.co.uk kernel: note: GravityMark.x64[1080] exited with preempt_count 1
The complete dmesg is: dmesg.5.19-rc0
I'm not sure if the two are related