WARNING: CPU: 0 PID: 756 at arch/powerpc/kernel/exceptions-64s.S:2863 masked_interrupt+0xc/0xe4 with kernel Hard LOCKUP and reboot afterwards (kernel 6.2, PowerMac G5 11,2)

From: Erhard Furtner
Date: Tue Feb 21 2023 - 18:43:06 EST


Got this now the 2nd time in row on my G5 11.2 trying to copy a btrfs partition via gparted:

[...]
------------[ cut here ]------------
WARNING: CPU: 0 PID: 756 at arch/powerpc/kernel/exceptions-64s.S:2863 masked_interrupt+0xc/0xe4
Modules linked in: auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc uas usb_storage windfarm_cpufreq_clamp windfarm_smu_sensors windfarm_smu_controls nouveau windfarm_pm112 snd_aoa_codec_onyx snd_aoa_fabric_layout snd_aoa windfarm_pid snd_aoa_i2sbus snd_aoa_soundbus firewire_ohci windfarm_smu_sat windfarm_lm75_sensor windfarm_max6690_sensor led_class i2c_algo_bit drm_ttm_helper ttm snd_pcm windfarm_core firewire_core drm_display_helper snd_timer sr_mod crc_itu_t ohci_pci ehci_pci cdrom ohci_hcd ehci_hcd snd drm_kms_helper soundcore syscopyarea rack_meter sysfillrect usbcore sysimgblt cfbfillrect pmac_zilog serial_core cfbimgblt cfbcopyarea usb_common tg3 hwmon cfg80211 rfkill zram zsmalloc drm fuse drm_panel_orientation_quirks backlight configfs
CPU: 0 PID: 756 Comm: kworker/0:0 Tainted: G T 6.2.0-gentoo-PMacG5 #1
Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
Workqueue: events dbs_work_handler
NIP: c00000000000ac50 LR: c000000000952afc CTR: c000000000007e10
REGS: c00000013b48b880 TRAP: 0700 Tainted: G T (6.2.0-gentoo-PMacG5)
MSR: 9000000000021032 <SF,HV,ME,IR,DR,RI> CR: 44002220 XER: 00000000
IRQMASK: 1
GPR00: 0000000040808000 c00000013b48bb20 c000000000e34900 3000400000000000
GPR04: 9000000000009032 9000000000009032 0000000000000000 0000000000000000
GPR08: 0000000000000000 0000000000000005 0000000000000004 c000000000022e3c
GPR12: 9000000000009032 c00000000135a000 c0000000000bf658 c00000001e3b4e80
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000000000 0000000000000000 c0000000011e9658
GPR24: c00000001964d93c c00000047f71e505 c00000013b48bbf8 0000000000000000
GPR28: 0000000000000000 0000000000408001 0000000000000000 0000000000000009
NIP [c00000000000ac50] masked_interrupt+0xc/0xe4
LR [c000000000952afc] g5_scom_switch_freq+0xcc/0x1e0
Call Trace:
[c00000013b48bb20] [c000000000952a80] g5_scom_switch_freq+0x50/0x1e0 (unreliable)
[c00000013b48bb70] [c00000000095232c] g5_cpufreq_target+0x2c/0x50
[c00000013b48bb90] [c00000000094ba68] __cpufreq_driver_target+0x198/0x3e0
[c00000013b48bc50] [c00000000094f8e4] od_dbs_update+0xf4/0x2b0
[c00000013b48bca0] [c000000000950e54] dbs_work_handler+0x54/0xb0
[c00000013b48bce0] [c0000000000b39a0] process_one_work+0x280/0x430
[c00000013b48bd80] [c0000000000b3be8] worker_thread+0x98/0x500
[c00000013b48be00] [c0000000000bf76c] kthread+0x11c/0x130
[c00000013b48be50] [c00000000000bd5c] ret_from_kernel_thread+0x5c/0x64
--- interrupt: 0 at 0x0
NIP: 0000000000000000 LR: 0000000000000000 CTR: 0000000000000000
REGS: c00000013b48be80 TRAP: 0000 Tainted: G T (6.2.0-gentoo-PMacG5)
MSR: 0000000000000000 <> CR: 00000000 XER: 00000000
IRQMASK: 0
GPR00: 0000000000000000 c00000013b48c000 0000000000000000 0000000000000000
GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR12: 0000000000000000 0000000000000000 c0000000000bf658 c00000001e3b4e80
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
NIP [0000000000000000] 0x0
LR [0000000000000000] 0x0
--- interrupt: 0
Code: e96a0110 e96a0198 e96a0220 e96a02a8 e96a0330 e96a03b8 394a0400 4200ffdc 4e800020 912d00b4 892d0153 71290025 <0b090000> 892d0153 7d295378 992d0153
---[ end trace 0000000000000000 ]---
watchdog: CPU 1 detected hard LOCKUP on other CPUs 0
watchdog: CPU 1 TB:47058144489, last SMP heartbeat TB:46524826927 (15999ms ago)
Kernel panic - not syncing: Hard LOCKUP
CPU: 1 PID: 0 Comm: swapper/1 Tainted: P T 6.2.0-gentoo-PMacG5 #1
Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
Call Trace:
[c0000000015137b0] [c000000000b9fabc] dump_stack_lvl+0x80/0xd8 (unreliable)
[c0000000015137e0] [c000000000086368] panic+0x170/0x3d8
[c000000001513880] [c000000000085d40] add_taint+0x0/0x100
[c0000000015138e0] [c00000000002cc04] watchdog_timer_fn+0x4e4/0x4f0
[c0000000015139a0] [c0000000001419b8] __hrtimer_run_queues+0x1b8/0x2f0
[c000000001513a30] [c000000000142f20] hrtimer_interrupt+0x120/0x330
[c000000001513ae0] [c00000000001d47c] timer_interrupt+0x22c/0x460
[c000000001513b30] [c000000000008924] decrementer_common_virt+0x214/0x220
--- interrupt: 900 at power4_idle_nap+0x30/0x34
NIP: c000000000034558 LR: c000000000017254 CTR: c0000000000171d0
REGS: c000000001513b60 TRAP: 0900 Tainted: P T (6.2.0-gentoo-PMacG5)
MSR: 9000000000009032 <SF,HV,EE,ME,IR,DR,RI> CR: 44fff824 XER: 00000000
IRQMASK: 0
GPR00: c0000000000170e0 c000000001513e00 c000000000e34900 0000000000000001
GPR04: 0000000000000000 0000000000000000 0000000000000000 9000000000049032
GPR08: 0000000000000001 c0000000014fa480 0000000000000000 0000000000000000
GPR12: c0000000000171d0 c00000000ffffc00 00000000f8000000 0000000000000000
GPR16: 00000000fff03244 0000000000000000 c000000000039490 c00000047fb4cc90
GPR20: c000000001281a30 c000000000039460 c000000000039430 c0000000010a3508
GPR24: 0000000000000001 0000000000080000 c000000001281aa8 0000000000000001
GPR28: c000000001281a18 c0000000014fa500 c0000000014fa480 c000000001281970
NIP [c000000000034558] power4_idle_nap+0x30/0x34
LR [c000000000017254] power4_idle+0x84/0xd0
--- interrupt: 900
[c000000001513e00] [c000000001513e50] 0xc000000001513e50 (unreliable)
[c000000001513e30] [c0000000000170e0] arch_cpu_idle+0x60/0x150
[c000000001513e60] [c000000000be0c1c] default_idle_call+0x4c/0x94
[c000000001513e80] [c0000000000e7444] do_idle+0x114/0x1f0
[c000000001513ee0] [c0000000000e7758] cpu_startup_entry+0x38/0x40
[c000000001513f10] [c00000000003b170] start_secondary+0x560/0x9e0
[c000000001513fe0] [c00000000000c0ec] start_secondary_prolog+0x10/0x14
Rebooting in 40 seconds..
[...]

Full dmesg + kernel .config attached.

Regards,
Erhard

Attachment: dmesg_620_g5
Description: Binary data

Attachment: config_620_g5
Description: Binary data