Re: 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: Wed Feb 22 2023 - 18:38:25 EST


On Wed, 22 Feb 2023 00:42:48 +0100
Erhard Furtner <erhard_f@xxxxxxxxxxx> wrote:

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

Also happens on kernel 6.1.12:

[...]
------------[ cut here ]------------
WARNING: CPU: 1 PID: 34 at arch/powerpc/kernel/exceptions-64s.S:2846 masked_interrupt+0xc/0xe4
Modules linked in: uas usb_storage windfarm_cpufreq_clamp windfarm_smu_sensors windfarm_smu_controls windfarm_pm112 snd_aoa_codec_onyx snd_aoa_fabric_layout snd_aoa windfarm_pid nouveau windfarm_lm75_sensor windfarm_max6690_sensor windfarm_smu_sat windfarm_core ohci_pci firewire_ohci snd_aoa_i2sbus snd_aoa_soundbus firewire_core snd_pcm ohci_hcd crc_itu_t ehci_pci ehci_hcd snd_timer led_class drm_ttm_helper ttm pmac_zilog sr_mod snd i2c_algo_bit cdrom serial_core soundcore rack_meter usbcore drm_display_helper usb_common tg3 hwmon drm_kms_helper sysimgblt syscopyarea sysfillrect fb_sys_fops cfg80211 rfkill zram zsmalloc drm fuse drm_panel_orientation_quirks backlight configfs
CPU: 1 PID: 34 Comm: kworker/1:1 Tainted: G T 6.1.12-gentoo-PMacG5 #1
Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
Workqueue: events .dbs_work_handler
NIP: c00000000000ac50 LR: c0000000008ead58 CTR: c000000000007e10
REGS: c000000001893640 TRAP: 0700 Tainted: G T (6.1.12-gentoo-PMacG5)
MSR: 9000000000021032 <SF,HV,ME,IR,DR,RI> CR: 44002420 XER: 00000000
IRQMASK: 1
GPR00: 9000000000001032 c0000000018938e0 c000000000da6300 000000000aa00000
GPR04: 0000000080000000 9000000000009032 0000000000000000 0000000000000000
GPR08: 0000000000000000 0000000000000005 0000000000000004 c000000000022584
GPR12: 9000000000009032 c00000000ffffc00 c0000000000bbcd0 c0000000019051c0
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000000000 0000000000000000 c000000001340600
GPR24: c000000001909f5c c00000047f731005 c000000001893a68 0000000000000000
GPR28: 0000000000000000 0000000000408001 0000000000000000 000000000000000a
NIP [c00000000000ac50] masked_interrupt+0xc/0xe4
LR [c0000000008ead58] .g5_scom_switch_freq+0x98/0x1f0
Call Trace:
[c0000000018938e0] [c0000000008ead10] .g5_scom_switch_freq+0x50/0x1f0 (unreliable)
[c000000001893980] [c0000000008ea5dc] .g5_cpufreq_target+0x2c/0x50
[c0000000018939f0] [c0000000008e3df4] .__cpufreq_driver_target+0x1a4/0x400
[c000000001893ac0] [c0000000008e7bc4] .od_dbs_update+0xf4/0x2c0
[c000000001893b60] [c0000000008e9194] .dbs_work_handler+0x54/0xb0
[c000000001893bf0] [c0000000000b03c8] .process_one_work+0x278/0x430
[c000000001893ca0] [c0000000000b0608] .worker_thread+0x88/0x4f0
[c000000001893d70] [c0000000000bbde8] .kthread+0x118/0x120
[c000000001893e10] [c00000000000bd58] .ret_from_kernel_thread+0x58/0x60
Instruction dump:
e96a0110 e96a0198 e96a0220 e96a02a8 e96a0330 e96a03b8 394a0400 4200ffdc
4e800020 912d00b4 892d0153 71290025 <0b090000> 892d0153 7d295378 992d0153
---[ end trace 0000000000000000 ]---
watchdog: CPU 0 detected hard LOCKUP on other CPUs 1
watchdog: CPU 0 TB:18141179276, last SMP heartbeat TB:17607850807 (15999ms ago)
Kernel panic - not syncing: Hard LOCKUP
CPU: 0 PID: 0 Comm: swapper/0 Tainted: P T 6.1.12-gentoo-PMacG5 #1
Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
Call Trace:
[c0000000013cb360] [c000000000b2ceec] .dump_stack_lvl+0x78/0xd0 (unreliable)
[c0000000013cb3e0] [c000000000083d90] .panic+0x168/0x3e0
[c0000000013cb490] [c0000000000837a8] .nmi_panic+0xa8/0xb0
[c0000000013cb500] [c00000000002bf64] .watchdog_timer_fn+0x4e4/0x4f0
[c0000000013cb5d0] [c000000000139c8c] .__hrtimer_run_queues+0x1ac/0x2e0
[c0000000013cb6b0] [c00000000013b148] .hrtimer_interrupt+0x118/0x320
[c0000000013cb770] [c00000000001cd78] .timer_interrupt+0x218/0x430
[c0000000013cb810] [c000000000008924] decrementer_common_virt+0x214/0x220
--- interrupt: 900 at .power4_idle_nap+0x30/0x34
NIP: c0000000000335f8 LR: c000000000016de4 CTR: c000000000016d60
REGS: c0000000013cb880 TRAP: 0900 Tainted: P T (6.1.12-gentoo-PMacG5)
MSR: 9000000000009032 <SF,HV,EE,ME,IR,DR,RI> CR: 44000824 XER: 00000000
IRQMASK: 0
GPR00: c000000000016c70 c0000000013cbb20 c000000000da6300 0000000000000001
GPR04: 0000000000000000 0000000000000000 0000000000000000 9000000000049032
GPR08: 0000000000000001 c0000000013a8a80 0000000000000000 0000000000000000
GPR12: 0000000000000000 c0000000014ba000 000000000014aa88 000000000248d488
GPR16: 00000000020852b0 0000000002085610 0000000002085378 0000000002085870
GPR20: 000000000210a488 0000000002085898 00000000020858a0 0000000002806300
GPR24: 0000000002806300 0000000000080000 c0000000013daaa8 0000000000000001
GPR28: c0000000013daa18 c0000000013a8b00 c0000000013a8a80 c0000000013da970
NIP [c0000000000335f8] .power4_idle_nap+0x30/0x34
LR [c000000000016de4] .power4_idle+0x84/0xd0
--- interrupt: 900
[c0000000013cbb20] [c0000000013a8a80] 0xc0000000013a8a80 (unreliable)
[c0000000013cbba0] [c000000000016c70] .arch_cpu_idle+0x60/0x150
[c0000000013cbc20] [c000000000b6d414] .default_idle_call+0x44/0x8c
[c0000000013cbc90] [c0000000000e2f64] .do_idle+0x104/0x1e0
[c0000000013cbd40] [c0000000000e3260] .cpu_startup_entry+0x30/0x40
[c0000000013cbdc0] [c00000000000ff28] .rest_init+0xd8/0xe0
[c0000000013cbe40] [c0000000010049ac] .arch_post_acpi_subsys_init+0x0/0x5c
[c0000000013cbeb0] [c0000000010056c4] .start_kernel+0xaf0/0xb70
[c0000000013cbf90] [c00000000000c7f8] start_here_common+0x1c/0x20
Rebooting in 40 seconds..


Regards,
Erhard

Attachment: dmesg_6112_g5
Description: Binary data