Linux real-time development
 help / color / mirror / Atom feed
* kernel panic during shutdown in v7.2-rc4 and next-20260722 with PREEMPT_RT
@ 2026-07-23 12:34 Bert Karwatzki
  2026-07-23 12:43 ` [Re] " Bert Karwatzki
  0 siblings, 1 reply; 6+ messages in thread
From: Bert Karwatzki @ 2026-07-23 12:34 UTC (permalink / raw)
  To: linux-kernel, Rafal Ostrowski
  Cc: Bert Karwatzki, linux-next, linux-rt-devel, amd-gfx, Alex Deucher,
	Mario Limonciello, Sebastian Andrzej Siewior, Thomas Gleixner

When shutting down my Linux system (debian sid with kernel next-20260722 with PREEMPT_RT)
I either get an indefinite hang (with cursor blinking in the top left corner
of the screen) or a kernel panic qrcode with message "fatal exception in
interrupt". Unfortunately the qrcode cannot store the whole kernel message,
so I tried to bisect this (from v7.2-rc4 to next-20260722).
 
During the bisection I also had kernel panics occuring when shutting down v7.2-rc4,
but these are much harder to reproduce.
I'll try to figure out what's going using git bisect but this may take some time as I
a) Have to search for a good case
b) Go throught 10-20 reboot cycles to declare a commit as good

I used netconsole to capture an error message from next-20260722 
T1473;BUG: scheduling while atomic: Xorg/1473/0x00000003
T1473,ncfrag=0/961;Modules linked in: netconsole snd_seq_dummy snd_hrtimer snd_seq nls_ascii nls_cp437 vfat fat joydev snd_usb_audio mt7925e snd_usbmidi_lib snd_ump mt7925_common snd_rawmidi mt792x_lib snd_seq_device mt76_connac_lib intel_rapl_msr iosf_mbi mt76 snd_hda_codec_atihdmi intel_rapl_common snd_hda_codec_hdmi rapl mac80211 snd_hda_intel snd_hda_codec spd5118 regmap_i2c snd_hda_core pcspkr snd_intel_dspcfg snd_hwdep snd_pcm snd_timer libarc4 snd cfg80211 soundcore k10temp rfkill evdev ccp nct6775 nct6775_core hwmon_vid configfs efi_pstore efivarfs autofs4 ext4 mbcache jbd2 amdgpu hid_generic usbhid hid drm_client_lib i2c_algo_bit drm_buddy drm_ttm_helper ttm drm_exec drm_suballoc_helper mfd_core drm_panel_backlight_quirks gpu_sched amdxcp drm_display_helper ahci libahci libata drm_kms_helper xhci_pci drm xhci_hcd scsi_mod igc nvme usbcore cec nvme_core scsi_common crc16 video nvme_keyring nvme_au
T1473,ncfrag=899/961;th usb_common i2c_piix4 gpio_amdpt wmi gpio_generic i2c_smbus
T1473;CPU: 17 UID: 0 PID: 1473 Comm: Xorg Not tainted 7.2.0-rc4-next-20260722-gpuresetfix-00002-ga578edd2a4b3 #601 PREEMPT_RT 
T1473;Hardware name: ASUS System Product Name/ROG STRIX B850-F GAMING WIFI, BIOS 1627 02/05/2026
T1473;Call Trace:
T1473; <TASK>
T1473; ? dump_stack_lvl+0x4b/0x70
T1473; ? __schedule_bug.cold+0x3e/0x4a
T1473; ? __schedule+0xf5f/0x16e0
T1473; ? dml2_core_calcs_mode_programming_ex+0x2f60/0x6c80 [amdgpu]
T1473; ? schedule_rtlock+0x15/0x30
T1473; ? rtlock_slowlock_locked+0x30c/0xe50
T1473; ? rt_spin_lock+0xc3/0x120
T1473; ? get_page_from_freelist+0x248/0x19f0
T1473; ? __alloc_frozen_pages_noprof+0x197/0x330
T1473; ? ___kmalloc_large_node+0xb1/0xd0
T1473; ? __kvmalloc_node_noprof+0x383/0x560
T1473; ? dc_create_plane_state+0x24/0x90 [amdgpu]
T1473; ? dc_create_plane_state+0x24/0x90 [amdgpu]
T1473; ? dc_state_create_phantom_plane+0x15/0x50 [amdgpu]
T1473; ? dml21_handle_phantom_streams_planes+0x292/0x510 [amdgpu]
T1473; ? dml21_mode_check_and_programming+0x157/0x7d0 [amdgpu]
T1473; ? spl_set_filters_data+0xbc/0xd0 [amdgpu]
T1473; ? dcn401_validate_bandwidth+0xb8/0x1f0 [amdgpu]
T1473; ? update_planes_and_stream_state+0xffa/0x1630 [amdgpu]
T1473; ? update_planes_and_stream_prepare_v3+0xb6/0x440 [amdgpu]
T1473; ? dc_update_planes_and_stream+0x87/0x140 [amdgpu]
T1473; ? amdgpu_dm_atomic_commit_tail+0x1740/0x3750 [amdgpu]
T1473; ? commit_tail+0xcd/0x160 [drm_kms_helper]
T1473; ? drm_atomic_helper_commit+0x137/0x180 [drm_kms_helper]
T1473; ? drm_atomic_commit+0xac/0xe0 [drm]
T1473; ? __drm_universal_plane_init.cold+0x19/0x19 [drm]
T1473; ? drm_atomic_helper_set_config+0x6f/0xb0 [drm_kms_helper]
T1473; ? drm_mode_setcrtc+0x443/0x8b0 [drm]
T1473; ? drm_syncobj_transfer_ioctl+0x300/0x300 [drm]
T1473; ? rt_spin_trylock+0x1c/0x80
T1473; ? drm_mode_getcrtc+0x180/0x180 [drm]
T1473; ? drm_ioctl_kernel+0xa1/0xf0 [drm]
T1473; ? drm_ioctl+0x27f/0x520 [drm]
T1473; ? drm_mode_getcrtc+0x180/0x180 [drm]
T1473; ? amdgpu_drm_ioctl+0x45/0x80 [amdgpu]
T1473; ? __x64_sys_ioctl+0x92/0xe0
T1473; ? do_syscall_64+0xbd/0x500
T1473; ? __futex_wake_mark+0x50/0x50
T1473; ? futex_wait+0x66/0x110
T1473; ? wake_up_q+0x32/0x80
T1473; ? futex_wake+0x101/0x220
T1473; ? do_futex+0xd6/0x210
T1473; ? __x64_sys_futex+0x10d/0x200
T1473; ? do_futex+0x107/0x210
T1473; ? __x64_sys_futex+0x10d/0x200
T1473; ? do_syscall_64+0x1fa/0x500
T1473; ? __task_pid_nr_ns+0x53/0xe0
T1473; ? do_syscall_64+0xbd/0x500
T1473; ? do_syscall_64+0x37/0x500
T1473; ? entry_SYSCALL_64_after_hwframe+0x55/0x5d
T1473; </TASK>
C17;------------[ cut here ]------------
T1473;WARNING: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/dc_fpu.c:97 at dc_fpu_begin+0x4f/0x60 [amdgpu], CPU#17: Xorg/1473
T1473,ncfrag=0/961;Modules linked in: netconsole snd_seq_dummy snd_hrtimer snd_seq nls_ascii nls_cp437 vfat fat joydev snd_usb_audio mt7925e snd_usbmidi_lib snd_ump mt7925_common snd_rawmidi mt792x_lib snd_seq_device mt76_connac_lib intel_rapl_msr iosf_mbi mt76 snd_hda_codec_atihdmi intel_rapl_common snd_hda_codec_hdmi rapl mac80211 snd_hda_intel snd_hda_codec spd5118 regmap_i2c snd_hda_core pcspkr snd_intel_dspcfg snd_hwdep snd_pcm snd_timer libarc4 snd cfg80211 soundcore k10temp rfkill evdev ccp nct6775 nct6775_core hwmon_vid configfs efi_pstore efivarfs autofs4 ext4 mbcache jbd2 amdgpu hid_generic usbhid hid drm_client_lib i2c_algo_bit drm_buddy drm_ttm_helper ttm drm_exec drm_suballoc_helper mfd_core drm_panel_backlight_quirks gpu_sched amdxcp drm_display_helper ahci libahci libata drm_kms_helper xhci_pci drm xhci_hcd scsi_mod igc nvme usbcore cec nvme_core scsi_common crc16 video nvme_keyring nvme_au
T1473,ncfrag=899/961;th usb_common i2c_piix4 gpio_amdpt wmi gpio_generic i2c_smbus
T1473;CPU: 17 UID: 0 PID: 1473 Comm: Xorg Tainted: G        W           7.2.0-rc4-next-20260722-gpuresetfix-00002-ga578edd2a4b3 #601 PREEMPT_RT 
T1473;Tainted: [W]=WARN
T1473;Hardware name: ASUS System Product Name/ROG STRIX B850-F GAMING WIFI, BIOS 1627 02/05/2026
T1473;RIP: 0010:dc_fpu_begin+0x4f/0x60 [amdgpu]
T1473;Code: d0 75 27 65 ff 05 a1 e8 db ce b8 01 00 00 00 65 0f c1 05 64 f8 dc ce 85 c0 74 05 c3 cc cc cc cc bf 02 00 00 00 e9 11 6d b8 cd <0f> 0b eb d5 66 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 d6 b8
T1473;RSP: 0018:ffffb251c623f5d0 EFLAGS: 00010206
T1473;RAX: 0000000000ff0000 RBX: ffff8a8f21400000 RCX: ffff8a8ed0f00000
T1473;RDX: 0000000000ff0000 RSI: 000000000000073d RDI: ffffffffc11b1540
T1473;RBP: 0000000000000001 R08: ffffb251c623f5a4 R09: 000000000000000a
T1473;R10: ffffb251c623f548 R11: 0000000000000002 R12: ffff8a8fa4468000
T1473;R13: ffff8a8ed1888000 R14: ffff8a8f89380000 R15: ffff8a8f21400000
T1473;FS:  00007eff71d77b80(0000) GS:ffff8a9e6e1b0000(0000) knlGS:0000000000000000
T1473;CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
T1473;CR2: 00007ffcab257cc8 CR3: 0000000162691000 CR4: 0000000000f50ef0
T1473;PKRU: 55555554
T1473;Call Trace:
T1473; <TASK>
T1473; ? dcn401_prepare_mcache_programming+0x2f/0x70 [amdgpu]
T1473; ? commit_planes_for_stream+0x155/0x1900 [amdgpu]
T1473; ? update_planes_and_stream_execute_v3+0x3c/0xd0 [amdgpu]
T1473; ? dc_update_planes_and_stream+0xb6/0x140 [amdgpu]
T1473; ? amdgpu_dm_atomic_commit_tail+0x1740/0x3750 [amdgpu]
T1473; ? commit_tail+0xcd/0x160 [drm_kms_helper]
T1473; ? drm_atomic_helper_commit+0x137/0x180 [drm_kms_helper]
T1473; ? drm_atomic_commit+0xac/0xe0 [drm]
T1473; ? __drm_universal_plane_init.cold+0x19/0x19 [drm]
T1473; ? drm_atomic_helper_set_config+0x6f/0xb0 [drm_kms_helper]
T1473; ? drm_mode_setcrtc+0x443/0x8b0 [drm]
T1473; ? drm_syncobj_transfer_ioctl+0x300/0x300 [drm]
T1473; ? rt_spin_trylock+0x1c/0x80
T1473; ? drm_mode_getcrtc+0x180/0x180 [drm]
T1473; ? drm_ioctl_kernel+0xa1/0xf0 [drm]
T1473; ? drm_ioctl+0x27f/0x520 [drm]
T1473; ? drm_mode_getcrtc+0x180/0x180 [drm]
T1473; ? amdgpu_drm_ioctl+0x45/0x80 [amdgpu]
T1473; ? __x64_sys_ioctl+0x92/0xe0
T1473; ? do_syscall_64+0xbd/0x500
T1473; ? __futex_wake_mark+0x50/0x50
T1473; ? futex_wait+0x66/0x110
T1473; ? wake_up_q+0x32/0x80
T1473; ? futex_wake+0x101/0x220
T1473; ? do_futex+0xd6/0x210
T1473; ? __x64_sys_futex+0x10d/0x200
T1473; ? do_futex+0x107/0x210
T1473; ? __x64_sys_futex+0x10d/0x200
T1473; ? do_syscall_64+0x1fa/0x500
T1473; ? __task_pid_nr_ns+0x53/0xe0
T1473; ? do_syscall_64+0xbd/0x500
T1473; ? do_syscall_64+0x37/0x500
T1473; ? entry_SYSCALL_64_after_hwframe+0x55/0x5d
T1473; </TASK>
T1473;---[ end trace 0000000000000000 ]---
C17;BUG: scheduling while atomic: Xorg/1473/0x7fffffff
C17,ncfrag=0/961;Modules linked in: netconsole snd_seq_dummy snd_hrtimer snd_seq nls_ascii nls_cp437 vfat fat joydev snd_usb_audio mt7925e snd_usbmidi_lib snd_ump mt7925_common snd_rawmidi mt792x_lib snd_seq_device mt76_connac_lib intel_rapl_msr iosf_mbi mt76 snd_hda_codec_atihdmi intel_rapl_common snd_hda_codec_hdmi rapl mac80211 snd_hda_intel snd_hda_codec spd5118 regmap_i2c snd_hda_core pcspkr snd_intel_dspcfg snd_hwdep snd_pcm snd_timer libarc4 snd cfg80211 soundcore k10temp rfkill evdev ccp nct6775 nct6775_core hwmon_vid configfs efi_pstore efivarfs autofs4 ext4 mbcache jbd2 amdgpu hid_generic usbhid hid drm_client_lib i2c_algo_bit drm_buddy drm_ttm_helper ttm drm_exec drm_suballoc_helper mfd_core drm_panel_backlight_quirks gpu_sched amdxcp drm_display_helper ahci libahci libata drm_kms_helper xhci_pci drm xhci_hcd scsi_mod igc nvme usbcore cec nvme_core scsi_common crc16 video nvme_keyring nvme_auth
C17,ncfrag=901/961; usb_common i2c_piix4 gpio_amdpt wmi gpio_generic i2c_smbus
C17;CPU: 17 UID: 0 PID: 1473 Comm: Xorg Tainted: G        W           7.2.0-rc4-next-20260722-gpuresetfix-00002-ga578edd2a4b3 #601 PREEMPT_RT 
C17;Tainted: [W]=WARN
C17;Hardware name: ASUS System Product Name/ROG STRIX B850-F GAMING WIFI, BIOS 1627 02/05/2026
C17;Call Trace:
C17; <TASK>
C17; ? dump_stack_lvl+0x4b/0x70
C17; ? __schedule_bug.cold+0x3e/0x4a
C17; ? __schedule+0xf5f/0x16e0
C17; ? __hrtimer_rearm_deferred+0x4c/0xd0
C17; ? schedule+0x22/0xa0
C17; ? usleep_range_state+0xbb/0xf0
C17; ? hrtimer_hres_workfn+0x10/0x10
C17; ? dcn10_wait_for_pipe_update_if_needed+0x231/0x240 [amdgpu]
C17; ? commit_planes_for_stream+0x2f2/0x1900 [amdgpu]
C17; ? update_planes_and_stream_execute_v3+0x3c/0xd0 [amdgpu]
C17; ? dc_update_planes_and_stream+0xb6/0x140 [amdgpu]
C17; ? amdgpu_dm_atomic_commit_tail+0x1740/0x3750 [amdgpu]
C17; ? commit_tail+0xcd/0x160 [drm_kms_helper]
C17; ? drm_atomic_helper_commit+0x137/0x180 [drm_kms_helper]
C17; ? drm_atomic_commit+0xac/0xe0 [drm]
C17; ? __drm_universal_plane_init.cold+0x19/0x19 [drm]
C17; ? drm_atomic_helper_set_config+0x6f/0xb0 [drm_kms_helper]
C17; ? drm_mode_setcrtc+0x443/0x8b0 [drm]
C17; ? drm_syncobj_transfer_ioctl+0x300/0x300 [drm]
C17; ? rt_spin_trylock+0x1c/0x80
C17; ? drm_mode_getcrtc+0x180/0x180 [drm]
C17; ? drm_ioctl_kernel+0xa1/0xf0 [drm]
C17; ? drm_ioctl+0x27f/0x520 [drm]
C17; ? drm_mode_getcrtc+0x180/0x180 [drm]
C17; ? amdgpu_drm_ioctl+0x45/0x80 [amdgpu]
C17; ? __x64_sys_ioctl+0x92/0xe0
C17; ? do_syscall_64+0xbd/0x500
C17; ? __futex_wake_mark+0x50/0x50
C17; ? futex_wait+0x66/0x110
C17; ? wake_up_q+0x32/0x80
C17; ? futex_wake+0x101/0x220
C17; ? do_futex+0xd6/0x210
C17; ? __x64_sys_futex+0x10d/0x200
C17; ? do_futex+0x107/0x210
C17; ? __x64_sys_futex+0x10d/0x200
C17; ? do_syscall_64+0x1fa/0x500
C17; ? __task_pid_nr_ns+0x53/0xe0
C17; ? do_syscall_64+0xbd/0x500
C17; ? do_syscall_64+0x37/0x500
C17; ? entry_SYSCALL_64_after_hwframe+0x55/0x5d
C17; </TASK>
T1473;BUG: scheduling while atomic: Xorg/1473/0x00000003
T1473,ncfrag=0/961;Modules linked in: netconsole snd_seq_dummy snd_hrtimer snd_seq nls_ascii nls_cp437 vfat fat joydev snd_usb_audio mt7925e snd_usbmidi_lib snd_ump mt7925_common snd_rawmidi mt792x_lib snd_seq_device mt76_connac_lib intel_rapl_msr iosf_mbi mt76 snd_hda_codec_atihdmi intel_rapl_common snd_hda_codec_hdmi rapl mac80211 snd_hda_intel snd_hda_codec spd5118 regmap_i2c snd_hda_core pcspkr snd_intel_dspcfg snd_hwdep snd_pcm snd_timer libarc4 snd cfg80211 soundcore k10temp rfkill evdev ccp nct6775 nct6775_core hwmon_vid configfs efi_pstore efivarfs autofs4 ext4 mbcache jbd2 amdgpu hid_generic usbhid hid drm_client_lib i2c_algo_bit drm_buddy drm_ttm_helper ttm drm_exec drm_suballoc_helper mfd_core drm_panel_backlight_quirks gpu_sched amdxcp drm_display_helper ahci libahci libata drm_kms_helper xhci_pci drm xhci_hcd scsi_mod igc nvme usbcore cec nvme_core scsi_common crc16 video nvme_keyring nvme_au
T1473,ncfrag=899/961;th usb_common i2c_piix4 gpio_amdpt wmi gpio_generic i2c_smbus
T1473;CPU: 17 UID: 0 PID: 1473 Comm: Xorg Tainted: G        W           7.2.0-rc4-next-20260722-gpuresetfix-00002-ga578edd2a4b3 #601 PREEMPT_RT 
T1473;Tainted: [W]=WARN
T1473;Hardware name: ASUS System Product Name/ROG STRIX B850-F GAMING WIFI, BIOS 1627 02/05/2026
T1473;Call Trace:
T1473; <TASK>
T1473; ? dump_stack_lvl+0x4b/0x70
T1473; ? __schedule_bug.cold+0x3e/0x4a
T1473; ? __schedule+0xf5f/0x16e0
T1473; ? dml2_core_calcs_mode_programming_ex+0x2f60/0x6c80 [amdgpu]
T1473; ? schedule_rtlock+0x15/0x30
T1473; ? rtlock_slowlock_locked+0x30c/0xe50
T1473; ? rt_spin_lock+0xc3/0x120
T1473; ? get_page_from_freelist+0x248/0x19f0
T1473; ? update_cfs_rq_load_avg+0x1a/0x240
T1473; ? __alloc_frozen_pages_noprof+0x197/0x330
T1473; ? ___kmalloc_large_node+0xb1/0xd0
T1473; ? __kvmalloc_node_noprof+0x383/0x560
T1473; ? dc_create_plane_state+0x24/0x90 [amdgpu]
T1473; ? dc_create_plane_state+0x24/0x90 [amdgpu]
T1473; ? dc_state_create_phantom_plane+0x15/0x50 [amdgpu]
T1473; ? dml21_handle_phantom_streams_planes+0x292/0x510 [amdgpu]
T1473; ? dml21_mode_check_and_programming+0x157/0x7d0 [amdgpu]
T1473; ? ___task_rq_lock+0x2d/0xa0
T1473; ? update_rq_clock+0x70/0x110
T1473; ? rt_mutex_setprio+0x61/0x340
T1473; ? calculate_plane_rec_in_timing_active+0x142/0x1f0 [amdgpu]
T1473; ? spl_calculate_number_of_taps.constprop.0.isra.0+0x142/0xf00 [amdgpu]
T1473; ? spl_calculate_number_of_taps.constprop.0.isra.0+0xed4/0xf00 [amdgpu]
T1473; ? dcn401_validate_bandwidth+0xb8/0x1f0 [amdgpu]
T1473; ? dc_validate_with_context+0x5c5/0x6a0 [amdgpu]
T1473; ? dc_commit_streams+0x27c/0x4f0 [amdgpu]
T1473; ? amdgpu_dm_atomic_commit_tail+0x681/0x3750 [amdgpu]
T1473; ? generic_reg_get+0x1c/0x30 [amdgpu]
T1473; ? optc1_get_crtc_scanoutpos+0x5f/0xa0 [amdgpu]
T1473; ? dc_stream_get_scanoutpos+0x7a/0xc0 [amdgpu]
T1473; ? amdgpu_display_get_crtc_scanoutpos+0xa5/0x1c0 [amdgpu]
T1473; ? amdgpu_display_crtc_idx_to_irq_type+0x30/0x30 [amdgpu]
T1473; ? amdgpu_crtc_get_scanout_position+0x23/0x30 [amdgpu]
T1473; ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x180/0x3b0 [drm]
T1473; ? wait_for_completion_timeout+0x122/0x170
T1473; ? drm_crtc_get_last_vbltimestamp+0x50/0x80 [drm]
T1473; ? commit_tail+0xcd/0x160 [drm_kms_helper]
T1473; ? drm_atomic_helper_commit+0x137/0x180 [drm_kms_helper]
T1473; ? drm_atomic_commit+0xac/0xe0 [drm]
T1473; ? __drm_universal_plane_init.cold+0x19/0x19 [drm]
T1473; ? drm_mode_obj_set_property_ioctl+0x162/0x3b0 [drm]
T1473; ? drm_mode_obj_find_prop_id+0x50/0x50 [drm]
T1473; ? drm_ioctl_kernel+0xa1/0xf0 [drm]
T1473; ? drm_ioctl+0x27f/0x520 [drm]
T1473; ? drm_mode_obj_find_prop_id+0x50/0x50 [drm]
T1473; ? rt_spin_trylock+0x1c/0x80
T1473; ? kmem_cache_free+0x214/0x430
T1473; ? amdgpu_drm_ioctl+0x45/0x80 [amdgpu]
T1473; ? __x64_sys_ioctl+0x92/0xe0
T1473; ? do_syscall_64+0xbd/0x500
T1473; ? do_epoll_ctl+0xbb/0xe0
T1473; ? __x64_sys_epoll_ctl+0x5f/0xa0
T1473; ? do_syscall_64+0xbd/0x500
T1473; ? count_memcg_events+0x67/0x110
T1473; ? handle_mm_fault+0x1bb/0x2c0
T1473; ? do_user_addr_fault+0x1e3/0x5e0
T1473; ? __flush_smp_call_function_queue+0x16a/0x1f0
T1473; ? do_syscall_64+0x37/0x500
T1473; ? entry_SYSCALL_64_after_hwframe+0x55/0x5d
T1473; </TASK>
C17;BUG: scheduling while atomic: Xorg/1473/0x7fffffff
C17,ncfrag=0/961;Modules linked in: netconsole snd_seq_dummy snd_hrtimer snd_seq nls_ascii nls_cp437 vfat fat joydev snd_usb_audio mt7925e snd_usbmidi_lib snd_ump mt7925_common snd_rawmidi mt792x_lib snd_seq_device mt76_connac_lib intel_rapl_msr iosf_mbi mt76 snd_hda_codec_atihdmi intel_rapl_common snd_hda_codec_hdmi rapl mac80211 snd_hda_intel snd_hda_codec spd5118 regmap_i2c snd_hda_core pcspkr snd_intel_dspcfg snd_hwdep snd_pcm snd_timer libarc4 snd cfg80211 soundcore k10temp rfkill evdev ccp nct6775 nct6775_core hwmon_vid configfs efi_pstore efivarfs autofs4 ext4 mbcache jbd2 amdgpu hid_generic usbhid hid drm_client_lib i2c_algo_bit drm_buddy drm_ttm_helper ttm drm_exec drm_suballoc_helper mfd_core drm_panel_backlight_quirks gpu_sched amdxcp drm_display_helper ahci libahci libata drm_kms_helper xhci_pci drm xhci_hcd scsi_mod igc nvme usbcore cec nvme_core scsi_common crc16 video nvme_keyring nvme_auth
C17,ncfrag=901/961; usb_common i2c_piix4 gpio_amdpt wmi gpio_generic i2c_smbus
C17;CPU: 17 UID: 0 PID: 1473 Comm: Xorg Tainted: G        W           7.2.0-rc4-next-20260722-gpuresetfix-00002-ga578edd2a4b3 #601 PREEMPT_RT 
C17;Tainted: [W]=WARN
C17;Hardware name: ASUS System Product Name/ROG STRIX B850-F GAMING WIFI, BIOS 1627 02/05/2026
C17;Call Trace:
C17; <TASK>
C17; ? dump_stack_lvl+0x4b/0x70
C17; ? __schedule_bug.cold+0x3e/0x4a
C17; ? __schedule+0xf5f/0x16e0
C17; ? schedule+0x22/0xa0
C17; ? usleep_range_state+0xbb/0xf0
C17; ? hrtimer_hres_workfn+0x10/0x10
C17; ? dcn10_wait_for_pipe_update_if_needed+0x231/0x240 [amdgpu]
C17; ? dc_commit_state_no_check+0x1b0/0xe00 [amdgpu]
C17; ? dc_commit_streams+0x2f4/0x4f0 [amdgpu]
C17; ? amdgpu_dm_atomic_commit_tail+0x681/0x3750 [amdgpu]
C17; ? generic_reg_get+0x1c/0x30 [amdgpu]
C17; ? optc1_get_crtc_scanoutpos+0x5f/0xa0 [amdgpu]
C17; ? dc_stream_get_scanoutpos+0x7a/0xc0 [amdgpu]
C17; ? amdgpu_display_get_crtc_scanoutpos+0xa5/0x1c0 [amdgpu]
C17; ? amdgpu_display_crtc_idx_to_irq_type+0x30/0x30 [amdgpu]
C17; ? amdgpu_crtc_get_scanout_position+0x23/0x30 [amdgpu]
C17; ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x180/0x3b0 [drm]
C17; ? wait_for_completion_timeout+0x122/0x170
C17; ? drm_crtc_get_last_vbltimestamp+0x50/0x80 [drm]
C17; ? commit_tail+0xcd/0x160 [drm_kms_helper]
C17; ? drm_atomic_helper_commit+0x137/0x180 [drm_kms_helper]
C17; ? drm_atomic_commit+0xac/0xe0 [drm]
C17; ? __drm_universal_plane_init.cold+0x19/0x19 [drm]
C17; ? drm_mode_obj_set_property_ioctl+0x162/0x3b0 [drm]
C17; ? drm_mode_obj_find_prop_id+0x50/0x50 [drm]
C17; ? drm_ioctl_kernel+0xa1/0xf0 [drm]
C17; ? drm_ioctl+0x27f/0x520 [drm]
C17; ? drm_mode_obj_find_prop_id+0x50/0x50 [drm]
C17; ? rt_spin_trylock+0x1c/0x80
C17; ? kmem_cache_free+0x214/0x430
C17; ? amdgpu_drm_ioctl+0x45/0x80 [amdgpu]
C17; ? __x64_sys_ioctl+0x92/0xe0
C17; ? do_syscall_64+0xbd/0x500
C17; ? do_epoll_ctl+0xbb/0xe0
C17; ? __x64_sys_epoll_ctl+0x5f/0xa0
C17; ? do_syscall_64+0xbd/0x500
C17; ? count_memcg_events+0x67/0x110
C17; ? handle_mm_fault+0x1bb/0x2c0
C17; ? do_user_addr_fault+0x1e3/0x5e0
C17; ? __flush_smp_call_function_queue+0x16a/0x1f0
C17; ? do_syscall_64+0x37/0x500
C17; ? entry_SYSCALL_64_after_hwframe+0x55/0x5d
C17; </TASK>
T1273;wlp9s0: deauthenticating from 54:67:51:3d:a2:d2 by local choice (Reason: 3=DEAUTH_LEAVING)
T23080;EXT4-fs (nvme0n1p5): unmounting filesystem 15783f8d-d7dd-4c1a-a7f8-84d944f03886.
T23079;EXT4-fs (nvme0n1p4): unmounting filesystem ab8e4bed-5cab-4ae8-875a-8a42e075b551.
T1;systemd-shutdown[1]: Syncing filesystems and block devices.
T1;systemd-shutdown[1]: Sending SIGTERM to remaining processes...
T752;systemd-journald[752]: Received SIGTERM from PID 1 (systemd-shutdow).
T1;systemd-shutdown[1]: Sending SIGKILL to remaining processes...
T1;systemd-shutdown[1]: Unmounting file systems.
T23096;(sd-umount)[23096]: Unmounting '/run/credentials/systemd-journald.service'.
T23097;(sd-remount)[23097]: Remounting '/' read-only with options 'errors=remount-ro'.
T23097;EXT4-fs (nvme0n1p2): re-mounted 3d5cdc5d-1902-40bf-9e16-ca819372d350 ro.
T1;systemd-shutdown[1]: All filesystems unmounted.
T1;systemd-shutdown[1]: Deactivating swaps.
T1;systemd-shutdown[1]: All swaps deactivated.
T1;systemd-shutdown[1]: Detaching loop devices.
T1;systemd-shutdown[1]: All loop devices detached.
T1;systemd-shutdown[1]: Stopping MD devices.
T1;systemd-shutdown[1]: All MD devices stopped.
T1;systemd-shutdown[1]: Detaching DM devices.
T1;systemd-shutdown[1]: All DM devices detached.
T1;systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
T1;systemd-shutdown[1]: Syncing filesystems and block devices.
T1;systemd-shutdown[1]: Rebooting.

This error message shows that this is an amdgpu problem and also probably
a PREEMPT_RT problem (due to the scheduling while atomic message).
@rafal.ostrowski: This looks vaguely similar to the bug I reported in april, so maybe
you have an idea what's going on:
https://lore.kernel.org/all/20260409131411.10598-1-spasswolf@web.de/


Hardware:
$ lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex [1022:14d8]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU [1022:14d9]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge [1022:14db]
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge [1022:14db]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge [1022:14db]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A] [1022:14dd]
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A] [1022:14dd]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0 [1022:14e0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1 [1022:14e1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2 [1022:14e2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3 [1022:14e3]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4 [1022:14e4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5 [1022:14e5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6 [1022:14e6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7 [1022:14e7]
01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev 25)
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479] (rev 25)
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 44 [Radeon RX 9060 XT] [1002:7590] (rev c0)
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller [1002:ab40]
04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD 9100 PRO [PM9E1] [144d:a810]
05:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port [1022:43f4] (rev 01)
06:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
06:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
06:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
06:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
06:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
06:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
08:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I226-V [8086:125c] (rev 06)
09:00.0 Network controller [0280]: MEDIATEK Corp. MT7925 802.11be 160MHz 2x2 PCIe Wireless Network Adapter [Filogic 360] [14c3:7925]
0b:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 800 Series Chipset USB 3.x XHCI Controller [1022:43fc] (rev 01)
0c:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller [1022:43f6] (rev 01)
0d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge PCIe Dummy Function [1022:14de] (rev c1)
0d:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
0d:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI [1022:15b6]
0d:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI [1022:15b7]
0e:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 2.0 xHCI [1022:15b8]

$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 26
model		: 68
model name	: AMD Ryzen 9 9950X 16-Core Processor
stepping	: 0
microcode	: 0xb404035
cpu MHz		: 624.194
cache size	: 1024 KB
physical id	: 0
siblings	: 32
core id		: 0
cpu cores	: 16
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 16
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze
bugs		: sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso spectre_v2_user vmscape
bogomips	: 8599.98
TLB size	: 192 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]


Bert Karwatzki

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-23 22:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 12:34 kernel panic during shutdown in v7.2-rc4 and next-20260722 with PREEMPT_RT Bert Karwatzki
2026-07-23 12:43 ` [Re] " Bert Karwatzki
2026-07-23 13:10   ` [Re] kernel panic during shutdown in v7.2-rc{3,4} " Bert Karwatzki
2026-07-23 13:23     ` Bert Karwatzki
2026-07-23 16:17       ` Bert Karwatzki
2026-07-23 22:51         ` [Re] kernel panic during shutdown in next-20260722 Bert Karwatzki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox