2023-02-21 23:43:06

by Erhard Furtner

[permalink] [raw]
Subject: 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)

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


Attachments:
(No filename) (6.12 kB)
dmesg_620_g5 (43.06 kB)
config_620_g5 (115.21 kB)
Download all attachments

2023-02-22 23:38:25

by Erhard Furtner

[permalink] [raw]
Subject: 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)

On Wed, 22 Feb 2023 00:42:48 +0100
Erhard Furtner <[email protected]> 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


Attachments:
(No filename) (5.38 kB)
dmesg_6112_g5 (41.20 kB)
Download all attachments