[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1071080: Acknowledgement (linux-image-6.1.0-21-amd64: segfault at amdgpu_dm_atomic_commit_tail)



More crashes followed. I have not restarted my computer, it's still the
same session. These errors have not happened before in previous linux
kernel versions in Debian Stable. Maybe it's a regression?

Headers of the crashes:
amdgpu 0000:10:00.0: drm_WARN_ON(atomic_read(&vblank->refcount) == 0)
[35485.090894] WARNING: CPU: 8 PID: 0 at
drivers/gpu/drm/drm_vblank.c:1210 drm_vblank_put+0xe4/0x100 [drm]

WARNING: CPU: 5 PID: 1153 at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7785
amdgpu_dm_atomic_commit_tail+0x31d5/0x36f0 [amdgpu]

full dmesg:
[35485.090840] ------------[ cut here ]------------
[35485.090845] amdgpu 0000:10:00.0:
drm_WARN_ON(atomic_read(&vblank->refcount) == 0)
[35485.090894] WARNING: CPU: 8 PID: 0 at
drivers/gpu/drm/drm_vblank.c:1210 drm_vblank_put+0xe4/0x100 [drm]
[35485.090924] Modules linked in: tcp_diag udp_diag inet_diag battery
rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache
netfs uas usb_storage uvcvideo videobuf2_vmalloc videobuf2_memops
videobuf2_v4l2 videobuf2_common videodev tls macvlan snd_usb_audio
snd_usbmidi_lib snd_rawmidi snd_seq_device mc xt_CHECKSUM xt_MASQUERADE
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat
nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
nf_tables nfnetlink bridge stp llc rfkill qrtr lz4 lz4_compress zram
zsmalloc sunrpc binfmt_misc nls_ascii nls_cp437 vfat fat intel_rapl_msr
intel_rapl_common amd64_edac edac_mce_amd snd_hda_codec_realtek kvm_amd
snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi kvm snd_hda_intel
snd_intel_dspcfg snd_intel_sdw_acpi irqbypass snd_hda_codec crc32_pclmul
ext4 snd_hda_core sd_mod ghash_clmulni_intel snd_hwdep sha512_ssse3 sg
sha512_generic sp5100_tco snd_pcm_oss crc16 sha256_ssse3 watchdog
mbcache snd_mixer_oss sha1_ssse3 jbd2
[35485.091005]  aesni_intel snd_pcm crypto_simd snd_timer cryptd ahci
snd wmi_bmof libahci rapl igb pcspkr k10temp soundcore i2c_piix4 ccp dca
libata button acpi_cpufreq nct6775 nct6775_core hwmon_vid jc42 msr
drivetemp scsi_mod scsi_common parport_pc ppdev lp parport loop fuse
efi_pstore dm_mod configfs ip_tables x_tables autofs4 btrfs
zstd_compress efivarfs raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor async_tx libcrc32c crc32c_generic xor raid6_pq raid1
raid0 multipath linear md_mod joydev evdev hid_generic usbhid hid amdgpu
drm_ttm_helper ttm video gpu_sched i2c_algo_bit drm_buddy
drm_display_helper drm_kms_helper xhci_pci xhci_hcd nvme drm nvme_core
t10_pi usbcore cec crc32c_intel rc_core crc64_rocksoft crc64 crc_t10dif
usb_common crct10dif_generic crct10dif_pclmul crct10dif_common wmi
[35485.091086] CPU: 8 PID: 0 Comm: swapper/8 Tainted: G        W
 6.1.0-21-amd64 #1  Debian 6.1.90-1
[35485.091090] Hardware name: To Be Filled By O.E.M. X570 Steel
Legend/X570 Steel Legend, BIOS P5.50 10/13/2023
[35485.091092] RIP: 0010:drm_vblank_put+0xe4/0x100 [drm]
[35485.091115] Code: 8b 7f 08 48 8b 5f 50 48 85 db 74 26 e8 95 e8 24 f5
48 c7 c1 c8 95 6b c0 48 89 da 48 c7 c7 3e c5 6b c0 48 89 c6 e8 bc af c0
f4 <0f> 0b 5b e9 a4 d4 96 f5 48 8b 1f eb d5 66 66 2e 0f 1f 84 00 00 00
[35485.091118] RSP: 0018:ffffbdfe40340de0 EFLAGS: 00010082
[35485.091121] RAX: 0000000000000000 RBX: ffff9baec138cc00 RCX:
0000000000000027
[35485.091124] RDX: ffff9bbdbec203a8 RSI: 0000000000000001 RDI:
ffff9bbdbec203a0
[35485.091126] RBP: ffff9baecdb60000 R08: 0000000000000000 R09:
ffffbdfe40340c58
[35485.091128] R10: 0000000000000003 R11: ffff9bbdff2f6fe8 R12:
0000000000000086
[35485.091129] R13: ffff9baecdb60170 R14: 00000000ffffff00 R15:
ffff9bb4f2c6ad80
[35485.091132] FS:  0000000000000000(0000) GS:ffff9bbdbec00000(0000)
knlGS:0000000000000000
[35485.091134] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[35485.091136] CR2: 00007f1cc7043740 CR3: 0000000a8e210000 CR4:
0000000000750ee0
[35485.091138] PKRU: 55555554
[35485.091140] Call Trace:
[35485.091143]  <IRQ>
[35485.091146]  ? __warn+0x7d/0xc0
[35485.091151]  ? drm_vblank_put+0xe4/0x100 [drm]
[35485.091172]  ? report_bug+0xe2/0x150
[35485.091178]  ? handle_bug+0x41/0x70
[35485.091181]  ? exc_invalid_op+0x13/0x60
[35485.091184]  ? asm_exc_invalid_op+0x16/0x20
[35485.091190]  ? drm_vblank_put+0xe4/0x100 [drm]
[35485.091207]  dm_pflip_high_irq+0x1f8/0x2e0 [amdgpu]
[35485.091359]  amdgpu_dm_irq_handler+0x8a/0x1f0 [amdgpu]
[35485.091495]  amdgpu_irq_dispatch+0xcd/0x210 [amdgpu]
[35485.091599]  amdgpu_ih_process+0x7f/0x100 [amdgpu]
[35485.091686]  amdgpu_irq_handler+0x1f/0x60 [amdgpu]
[35485.091772]  __handle_irq_event_percpu+0x46/0x190
[35485.091776]  handle_irq_event+0x34/0x70
[35485.091779]  handle_edge_irq+0x87/0x220
[35485.091782]  __common_interrupt+0x3f/0xa0
[35485.091786]  common_interrupt+0x7d/0xa0
[35485.091789]  </IRQ>
[35485.091790]  <TASK>
[35485.091792]  asm_common_interrupt+0x22/0x40
[35485.091794] RIP: 0010:cpuidle_enter_state+0xde/0x420
[35485.091797] Code: 00 00 31 ff e8 b3 24 97 ff 45 84 ff 74 16 9c 58 0f
1f 40 00 f6 c4 02 0f 85 25 03 00 00 31 ff e8 88 cf 9d ff 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
[35485.091799] RSP: 0018:ffffbdfe4011fe90 EFLAGS: 00000246
[35485.091801] RAX: ffff9bbdbec31a40 RBX: ffff9baec1968000 RCX:
0000000000000000
[35485.091802] RDX: 0000000000000008 RSI: fffffff807b76475 RDI:
0000000000000000
[35485.091803] RBP: 0000000000000002 R08: 0000000000000002 R09:
0000000021bf5be5
[35485.091805] R10: 0000000000000018 R11: 0000000000000318 R12:
ffffffffb6da9a80
[35485.091806] R13: 00002046043b80d0 R14: 0000000000000002 R15:
0000000000000000
[35485.091811]  cpuidle_enter+0x29/0x40
[35485.091813]  do_idle+0x202/0x2a0
[35485.091817]  cpu_startup_entry+0x26/0x30
[35485.091820]  start_secondary+0x12a/0x150
[35485.091823]  secondary_startup_64_no_verify+0xe5/0xeb
[35485.091829]  </TASK>
[35485.091830] ---[ end trace 0000000000000000 ]---
[35485.941212] ------------[ cut here ]------------
[35485.941218] WARNING: CPU: 5 PID: 1153 at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7785
amdgpu_dm_atomic_commit_tail+0x31d5/0x36f0 [amdgpu]
[35485.941391] Modules linked in: tcp_diag udp_diag inet_diag battery
rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache
netfs uas usb_storage uvcvideo videobuf2_vmalloc videobuf2_memops
videobuf2_v4l2 videobuf2_common videodev tls macvlan snd_usb_audio
snd_usbmidi_lib snd_rawmidi snd_seq_device mc xt_CHECKSUM xt_MASQUERADE
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat
nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
nf_tables nfnetlink bridge stp llc rfkill qrtr lz4 lz4_compress zram
zsmalloc sunrpc binfmt_misc nls_ascii nls_cp437 vfat fat intel_rapl_msr
intel_rapl_common amd64_edac edac_mce_amd snd_hda_codec_realtek kvm_amd
snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi kvm snd_hda_intel
snd_intel_dspcfg snd_intel_sdw_acpi irqbypass snd_hda_codec crc32_pclmul
ext4 snd_hda_core sd_mod ghash_clmulni_intel snd_hwdep sha512_ssse3 sg
sha512_generic sp5100_tco snd_pcm_oss crc16 sha256_ssse3 watchdog
mbcache snd_mixer_oss sha1_ssse3 jbd2
[35485.941469]  aesni_intel snd_pcm crypto_simd snd_timer cryptd ahci
snd wmi_bmof libahci rapl igb pcspkr k10temp soundcore i2c_piix4 ccp dca
libata button acpi_cpufreq nct6775 nct6775_core hwmon_vid jc42 msr
drivetemp scsi_mod scsi_common parport_pc ppdev lp parport loop fuse
efi_pstore dm_mod configfs ip_tables x_tables autofs4 btrfs
zstd_compress efivarfs raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor async_tx libcrc32c crc32c_generic xor raid6_pq raid1
raid0 multipath linear md_mod joydev evdev hid_generic usbhid hid amdgpu
drm_ttm_helper ttm video gpu_sched i2c_algo_bit drm_buddy
drm_display_helper drm_kms_helper xhci_pci xhci_hcd nvme drm nvme_core
t10_pi usbcore cec crc32c_intel rc_core crc64_rocksoft crc64 crc_t10dif
usb_common crct10dif_generic crct10dif_pclmul crct10dif_common wmi
[35485.941550] CPU: 5 PID: 1153 Comm: Xorg Tainted: G        W
6.1.0-21-amd64 #1  Debian 6.1.90-1
[35485.941554] Hardware name: To Be Filled By O.E.M. X570 Steel
Legend/X570 Steel Legend, BIOS P5.50 10/13/2023
[35485.941557] RIP: 0010:amdgpu_dm_atomic_commit_tail+0x31d5/0x36f0 [amdgpu]
[35485.941706] Code: 4c 89 9d 48 fd ff ff e8 39 2f 18 f5 4c 8b 9d 48 fd
ff ff e9 f8 e2 ff ff 0f 0b 49 8b 3f e8 73 6f bd ff 85 c0 0f 84 af dd ff
ff <0f> 0b e9 a8 dd ff ff 0f 0b e9 e7 d8 ff ff 45 8b 44 24 60 48 c7 c1
[35485.941709] RSP: 0018:ffffbdfe42ea75e0 EFLAGS: 00010282
[35485.941712] RAX: 00000000ffffffea RBX: 0000000000000001 RCX:
0000000000000000
[35485.941715] RDX: 0000000000000001 RSI: 0000000000000293 RDI:
ffff9baecdb60154
[35485.941717] RBP: ffffbdfe42ea7950 R08: 0000000000000002 R09:
ffff9bb332750800
[35485.941719] R10: 0000000000000000 R11: ffff9bb2da9a3680 R12:
ffff9baed9608800
[35485.941721] R13: ffff9bb332750800 R14: ffff9bafa2463100 R15:
ffff9bb332750a00
[35485.941723] FS:  00007fb246011ac0(0000) GS:ffff9bbdbeb40000(0000)
knlGS:0000000000000000
[35485.941726] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[35485.941728] CR2: 0000156c717c5000 CR3: 000000011c1a2000 CR4:
0000000000750ee0
[35485.941730] PKRU: 55555554
[35485.941732] Call Trace:
[35485.941735]  <TASK>
[35485.941739]  ? __warn+0x7d/0xc0
[35485.941744]  ? amdgpu_dm_atomic_commit_tail+0x31d5/0x36f0 [amdgpu]
[35485.941886]  ? report_bug+0xe2/0x150
[35485.941893]  ? handle_bug+0x41/0x70
[35485.941897]  ? exc_invalid_op+0x13/0x60
[35485.941900]  ? asm_exc_invalid_op+0x16/0x20
[35485.941907]  ? amdgpu_dm_atomic_commit_tail+0x31d5/0x36f0 [amdgpu]
[35485.942045]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942049]  ? dcn30_populate_dml_pipes_from_context+0x4b/0xc0 [amdgpu]
[35485.942205]  ? dcn30_internal_validate_bw+0xec/0x9e0 [amdgpu]
[35485.942367]  commit_tail+0x94/0x130 [drm_kms_helper]
[35485.942381]  drm_atomic_helper_commit+0x112/0x140 [drm_kms_helper]
[35485.942392]  drm_atomic_commit+0x96/0xc0 [drm]
[35485.942416]  ? drm_plane_get_damage_clips.cold+0x1c/0x1c [drm]
[35485.942437]  drm_atomic_connector_commit_dpms+0xcb/0xf0 [drm]
[35485.942457]  drm_mode_obj_set_property_ioctl+0x193/0x3d0 [drm]
[35485.942480]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[35485.942499]  drm_connector_property_set_ioctl+0x39/0x60 [drm]
[35485.942517]  drm_ioctl_kernel+0xc9/0x170 [drm]
[35485.942537]  drm_ioctl+0x22f/0x410 [drm]
[35485.942555]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[35485.942576]  amdgpu_drm_ioctl+0x4a/0x80 [amdgpu]
[35485.942684]  __x64_sys_ioctl+0x90/0xd0
[35485.942689]  do_syscall_64+0x55/0xb0
[35485.942693]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942696]  ? do_syscall_64+0x61/0xb0
[35485.942698]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942701]  ? do_epoll_ctl+0x1bd/0xf40
[35485.942704]  ? do_syscall_64+0x61/0xb0
[35485.942707]  ? do_syscall_64+0x61/0xb0
[35485.942711]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942715]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942717]  ? exit_to_user_mode_prepare+0x148/0x1f0
[35485.942722]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942724]  ? syscall_exit_to_user_mode+0x1e/0x40
[35485.942728]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942731]  ? do_syscall_64+0x61/0xb0
[35485.942733]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942736]  ? ep_item_poll.isra.0+0x2d/0x50
[35485.942739]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942741]  ? do_epoll_ctl+0x1bd/0xf40
[35485.942744]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942748]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942752]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942755]  ? exit_to_user_mode_prepare+0x148/0x1f0
[35485.942758]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942761]  ? syscall_exit_to_user_mode+0x1e/0x40
[35485.942764]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942767]  ? do_syscall_64+0x61/0xb0
[35485.942769]  ? do_syscall_64+0x61/0xb0
[35485.942773]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942775]  ? exit_to_user_mode_prepare+0x148/0x1f0
[35485.942779]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942781]  ? syscall_exit_to_user_mode+0x1e/0x40
[35485.942784]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942787]  ? do_syscall_64+0x61/0xb0
[35485.942790]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942792]  ? syscall_exit_to_user_mode+0x1e/0x40
[35485.942796]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942798]  ? do_syscall_64+0x61/0xb0
[35485.942801]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942804]  ? syscall_exit_to_user_mode+0x1e/0x40
[35485.942807]  ? srso_alias_return_thunk+0x5/0x7f
[35485.942809]  ? do_syscall_64+0x61/0xb0
[35485.942813]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[35485.942816] RIP: 0033:0x7fb245d1cc5b
[35485.942819] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10
00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f
05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[35485.942822] RSP: 002b:00007ffef2dde9c0 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[35485.942825] RAX: ffffffffffffffda RBX: 0000556e0d185b00 RCX:
00007fb245d1cc5b
[35485.942827] RDX: 00007ffef2ddea50 RSI: 00000000c01064ab RDI:
000000000000000f
[35485.942829] RBP: 00007ffef2ddea50 R08: 0000000000000000 R09:
0000556e0d187750
[35485.942831] R10: 0000000000000000 R11: 0000000000000246 R12:
00000000c01064ab
[35485.942833] R13: 000000000000000f R14: 0000556e0d184290 R15:
0000000000000000
[35485.942848]  </TASK>
[35485.942850] ---[ end trace 0000000000000000 ]---


Reply to: