RX 5700 XT (GFX10 NAVI 10): igt@amdgpu/amd_bypass@8bpc-bypass-mode - BUG: kernel NULL pointer dereference, address: 0000000000000000
Brief summary of the problem:
[ 24.507617] [3419/3436] amdgpu/amd_bypass (8bpc-bypass-mode)
[ 34.481978] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 34.491956] #PF: supervisor instruction fetch in kernel mode
[ 34.500276] #PF: error_code(0x0010) - not-present page
[ 34.508090] PGD 101be1067 P4D 101be1067 PUD 107ac8067 PMD 0
[ 34.516414] Oops: 0010 [#1] SMP NOPTI
[ 34.522739] CPU: 10 PID: 998 Comm: amd_bypass Not tainted 5.11.6-CI #55
[ 34.532336] Hardware name: Gigabyte Technology Co., Ltd. B550 AORUS ELITE/B550 AORUS ELITE, BIOS F2 07/07/2020
[ 34.547890] RIP: 0010:0x0
[ 34.553165] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 34.562723] RSP: 0018:ffffa5104165bb68 EFLAGS: 00010246
[ 34.570950] RAX: 0000000000000000 RBX: 0000000000000020 RCX: ffffa5104165bbfe
[ 34.583382] RDX: ffff9d990583da00 RSI: ffffa5104165bb70 RDI: ffff9d9903df39d8
[ 34.596256] RBP: 0000000000000001 R08: 0000000000000001 R09: 000000000000011a
[ 34.608715] R10: ffffa5104165ba80 R11: ffffa5104165ba84 R12: ffff9d9903df3d98
[ 34.621208] R13: ffffa5104165bbfe R14: 0000000000000000 R15: ffff9d9903df39d8
[ 34.633855] FS: 00007f19999dbf40(0000) GS:ffff9da01ec80000(0000) knlGS:0000000000000000
[ 34.647238] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 34.655977] CR2: ffffffffffffffd6 CR3: 0000000107a28000 CR4: 0000000000350ee0
[ 34.668428] Call Trace:
[ 34.673531] drm_dp_dpcd_access+0x6b/0x110
[ 34.680307] drm_dp_dpcd_read+0xb1/0xf0
[ 34.687588] drm_dp_start_crc+0x30/0xb0
[ 34.694089] amdgpu_dm_crtc_set_crc_source+0x246/0x390
[ 34.701893] crtc_crc_open+0x163/0x1f0
[ 34.708305] full_proxy_open+0x168/0x1e0
[ 34.714877] ? open_proxy_open+0xf0/0xf0
[ 34.721476] do_dentry_open+0x146/0x350
[ 34.727986] path_openat+0xb31/0xfc0
[ 34.734220] do_filp_open+0x83/0x130
[ 34.740461] ? getname_flags.part.0+0x24/0x1a0
[ 34.748646] ? kmem_cache_alloc+0xd5/0x1d0
[ 34.755407] do_sys_openat2+0x92/0x150
[ 34.761828] __x64_sys_openat+0x4f/0x90
[ 34.768341] do_syscall_64+0x33/0x40
[ 34.774601] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 34.782318] RIP: 0033:0x7f199b49d2a6
[ 34.788575] Code: c0 f6 c2 40 75 4e 89 d0 45 31 d2 25 00 00 41 00 3d 00 00 41 00 74 3d 64 8b 04 25 18 00 00 00 85 c0 75 61 b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 9e 00 00 00 48 8b 4c 24 38 64 48 33 0c 25
[ 34.815309] RSP: 002b:00007fff43e35490 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[ 34.828540] RAX: ffffffffffffffda RBX: 00000000012002b0 RCX: 00007f199b49d2a6
[ 34.841008] RDX: 0000000000000000 RSI: 00007fff43e35520 RDI: 0000000000000006
[ 34.853510] RBP: 00007fff43e35520 R08: 0000000000000000 R09: 0000000000000000
[ 34.866142] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000012208a0
[ 34.878599] R13: 00007f1999971ffe R14: 0000000000000000 R15: 0000000000000000
[ 34.891419] Modules linked in:
[ 34.897117] CR2: 0000000000000000
[ 34.903099] ---[ end trace 14ddbdbe9b4c8b81 ]---
[ 34.910391] RIP: 0010:0x0
[ 34.915675] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 34.925232] RSP: 0018:ffffa5104165bb68 EFLAGS: 00010246
[ 34.933343] RAX: 0000000000000000 RBX: 0000000000000020 RCX: ffffa5104165bbfe
[ 34.945803] RDX: ffff9d990583da00 RSI: ffffa5104165bb70 RDI: ffff9d9903df39d8
[ 34.958584] RBP: 0000000000000001 R08: 0000000000000001 R09: 000000000000011a
[ 34.971029] R10: ffffa5104165ba80 R11: ffffa5104165ba84 R12: ffff9d9903df3d98
[ 34.983453] R13: ffffa5104165bbfe R14: 0000000000000000 R15: ffff9d9903df39d8
[ 34.996107] FS: 00007f19999dbf40(0000) GS:ffff9da01ec80000(0000) knlGS:0000000000000000
[ 35.010234] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 35.018649] CR2: ffffffffffffffd6 CR3: 0000000107a28000 CR4: 0000000000350ee0
Hardware description:
- CPU: AMD Ryzen 9 3900XT 12-Core Processor
- GPU: GFX10, RX 5700 XT
- System Memory: 32 GB
- Display(s): 1
- Type of Display Connection: HDMI (Full HD)
System information:
- Distro name and Version: IGT's container registry.freedesktop.org/drm/igt-gpu-tools/igt:master
- Kernel version: v5.6.11
- Custom kernel: self-compiled kernel, with one additional unrelated patch to the init process
- AMD package version: No package
How to reproduce the issue:
# docker run --privileged registry.freedesktop.org/drm/igt-gpu-tools/igt:master igt_runner -t amdgpu/amd_bypass@8bpc-bypass-mode -o results/
Attached files:
Edited by Martin Roukala