You are not logged in.

#1 2024-04-20 13:40:59

ca1f
Member
Registered: 2024-04-20
Posts: 1

Kernel Panic in amdgpu dcn10_set_drr

Hi,

I've been experiencing PC freezes for a while now lately and only recently managed to enable the netconsole kernel module to send dmesg lines to a different PC in order to see what's happening. It seems that the cause of these freezes are kernel panics caused in the amdgpu kernel module at the dcn10_set_drr function. Is this a me problem or should I open a ticket on a bug tracker?

Kernel Package
linux

Kernel Version
6.8.7.arch1-1

GPU
Radeon RX 6900 XT

dmesg output

[ 7620.917399] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 7620.917414] #PF: supervisor read access in kernel mode
[ 7620.917417] #PF: error_code(0x0000) - not-present page
[ 7620.917421] PGD 0 P4D 0
[ 7620.917424] Oops: 0000 [#1] PREEMPT SMP NOPTI
[ 7620.917427] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G           OE      6.8.7-arch1-1 #1 cb8440eaa48704794690ea311c777c18c4e95af9
[ 7620.917431] Hardware name: Gigabyte Technology Co., Ltd. B550 AORUS PRO V2/B550 AORUS PRO V2, BIOS F14 01/04/2022
[ 7620.917433] RIP: 0010:dcn10_set_drr+0xa0/0xf0 [amdgpu]
[ 7620.917731] Code: 74 e0 48 8b 80 28 01 00 00 48 85 c0 74 08 48 89 e6 ff d0 0f 1f 00 45 85 e4 74 c7 45 85 ed 74 c2 48 8b 03 48 8b b8 f8 00 00 00 <48> 8b 07 48 8b 80 40 01 00 00 48 85 c0 74 a9 48 83 c3 08 ba 02 00
[ 7620.917733] RSP: 0018:ffffa21a80338da8 EFLAGS: 00010006
[ 7620.917735] RAX: ffff9373d21402d8 RBX: ffffa21a80338df8 RCX: 0000000000000000
[ 7620.917737] RDX: 0000000080010015 RSI: ffff936b04f98a60 RDI: 0000000000000000
[ 7620.917739] RBP: ffffa21a80338de8 R08: 0000000080000000 R09: ffffa21a80338c68
[ 7620.917740] R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000001203
[ 7620.917742] R13: 0000000000001203 R14: ffffa21a80338e00 R15: ffff936b04ffb840
[ 7620.917744] FS:  0000000000000000(0000) GS:ffff9379feac0000(0000) knlGS:0000000000000000
[ 7620.917746] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7620.917747] CR2: 0000000000000000 CR3: 00000001f2620000 CR4: 0000000000f50ef0
[ 7620.917749] PKRU: 55555554
[ 7620.917750] Call Trace:
[ 7620.917755]  <IRQ>
[ 7620.917758]  ? __die+0x23/0x70
[ 7620.917763]  ? page_fault_oops+0x171/0x4e0
[ 7620.917767]  ? generic_reg_set_ex+0xaa/0xf0 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.917952]  ? exc_page_fault+0x7f/0x180
[ 7620.917956]  ? asm_exc_page_fault+0x26/0x30
[ 7620.917960]  ? dcn10_set_drr+0xa0/0xf0 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.918170]  ? dcn10_set_drr+0x89/0xf0 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.918382]  dc_stream_adjust_vmin_vmax+0xe1/0x140 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.918572]  dm_crtc_high_irq+0x231/0x2b0 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.918781]  amdgpu_dm_irq_handler+0x8b/0x200 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.918986]  amdgpu_irq_dispatch+0xcd/0x210 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.919161]  amdgpu_ih_process+0x83/0x100 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.919336]  amdgpu_irq_handler+0x23/0x60 [amdgpu fcf79e89370c5982e454c3f3f2982f0b3de008af]
[ 7620.919506]  __handle_irq_event_percpu+0x4a/0x1a0
[ 7620.919510]  handle_irq_event+0x3b/0x80
[ 7620.919512]  handle_edge_irq+0x9a/0x260
[ 7620.919515]  __common_interrupt+0x3f/0xb0
[ 7620.919518]  common_interrupt+0x81/0xa0
[ 7620.919521]  </IRQ>
[ 7620.919522]  <TASK>
[ 7620.919524]  asm_common_interrupt+0x26/0x40
[ 7620.919526] RIP: 0010:cpuidle_enter_state+0xcc/0x440
[ 7620.919529] Code: ca 17 38 ff e8 05 f1 ff ff 8b 53 04 49 89 c5 0f 1f 44 00 00 31 ff e8 83 16 37 ff 45 84 ff 0f 85 56 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
[ 7620.919531] RSP: 0018:ffffa21a801b7e90 EFLAGS: 00000246
[ 7620.919533] RAX: ffff9379feaf47c0 RBX: ffff936b05c98c00 RCX: 000000000000001f
[ 7620.919535] RDX: 0000000000000003 RSI: 0000000021bf5be5 RDI: 0000000000000000
[ 7620.919536] RBP: 0000000000000002 R08: 0000000000000002 R09: 000000000000004c
[ 7620.919537] R10: 0000000000000007 R11: ffff9379feaf31a4 R12: ffffffff8b94dcc0
[ 7620.919539] R13: 000006ee6212a577 R14: 0000000000000002 R15: 0000000000000000
[ 7620.919541]  cpuidle_enter+0x2d/0x40
[ 7620.919546]  do_idle+0x1d8/0x230
[ 7620.919549]  cpu_startup_entry+0x2a/0x30
[ 7620.919550]  start_secondary+0x11e/0x140
[ 7620.919554]  secondary_startup_64_no_verify+0x184/0x18b
[ 7620.919557]  </TASK>
[ 7620.919559] Modules linked in: v4l2loopback(OE) videodev netconsole ext4 mbcache jbd2 ses enclosure scsi_transport_sas uas usb_storage snd_seq_dummy snd_hrtimer rfcomm snd_seq_midi snd_seq_midi_event snd_seq nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ip6table_nat ip6table_mangle ip6table_raw 8021q ip6table_security garp bridge mrp iptable_nat stp nf_nat llc nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cfg80211 iptable_mangle iptable_raw iptable_security ip6table_filter ip6_tables iptable_filter uhid cmac algif_hash algif_skcipher af_alg bnep it87(OE) hwmon_vid mousedev vfat fat btusb btrtl btintel btbcm btmtk snd_hda_codec_realtek intel_rapl_msr snd_hda_codec_generic intel_rapl_common snd_hda_codec_hdmi amd64_edac snd_usb_audio snd_hda_intel snd_intel_dspcfg snd_usbmidi_lib kvm_amd snd_ump snd_intel_sdw_acpi snd_rawmidi bluetooth snd_hda_codec kvm snd_seq_device snd_hda_core mc snd_hwdep ecdh_generic irqbypass snd_pcm r8169
[ 7620.919593]  ucsi_ccg rapl typec_ucsi snd_timer realtek wmi_bmof gigabyte_wmi sp5100_tco typec snd mdio_devres pcspkr acpi_cpufreq i2c_piix4 roles zenpower(OE) rfkill libphy soundcore crc16 gpio_amdpt joydev gpio_generic razermouse(OE) mac_hid sch_cake usbip_host usbip_core i2c_dev sg crypto_user fuse tcp_bbr loop nfnetlink ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_generic usbhid dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic amdgpu gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 aesni_intel nvme crypto_simd nvme_core cryptd xhci_pci ccp nvme_auth xhci_pci_renesas video wmi amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_buddy drm_display_helper cec [last unloaded: netconsole]
[ 7620.919628] CR2: 0000000000000000
[ 7620.919631] ---[ end trace 0000000000000000 ]---
[ 7620.919632] RIP: 0010:dcn10_set_drr+0xa0/0xf0 [amdgpu]
[ 7620.919848] Code: 74 e0 48 8b 80 28 01 00 00 48 85 c0 74 08 48 89 e6 ff d0 0f 1f 00 45 85 e4 74 c7 45 85 ed 74 c2 48 8b 03 48 8b b8 f8 00 00 00 <48> 8b 07 48 8b 80 40 01 00 00 48 85 c0 74 a9 48 83 c3 08 ba 02 00
[ 7620.919850] RSP: 0018:ffffa21a80338da8 EFLAGS: 00010006
[ 7620.919851] RAX: ffff9373d21402d8 RBX: ffffa21a80338df8 RCX: 0000000000000000
[ 7620.919853] RDX: 0000000080010015 RSI: ffff936b04f98a60 RDI: 0000000000000000
[ 7620.919854] RBP: ffffa21a80338de8 R08: 0000000080000000 R09: ffffa21a80338c68
[ 7620.919856] R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000001203
[ 7620.919857] R13: 0000000000001203 R14: ffffa21a80338e00 R15: ffff936b04ffb840
[ 7620.919858] FS:  0000000000000000(0000) GS:ffff9379feac0000(0000) knlGS:0000000000000000
[ 7620.919860] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7620.919861] CR2: 0000000000000000 CR3: 00000001f2620000 CR4: 0000000000f50ef0
[ 7620.919863] PKRU: 55555554
[ 7620.919864] Kernel panic - not syncing: Fatal exception in interrupt
[ 7622.143032] Shutting down cpus with NMI
[ 7622.143053] Kernel Offset: 0x8a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 7622.143058] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

Offline

#2 2024-04-20 14:29:16

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: Kernel Panic in amdgpu dcn10_set_drr

Offline

Board footer

Powered by FluxBB