system/easy-kernel: (ppc64) kernel BUG at arch/powerpc/include/asm/book3s/64/hash-4k.h:141!
I can reproduce this every time on Rebecca
(iMac G5, 17", Ambient Light Sensor, 1.8 GHz) when I try to build the clap_builder
crate:
[ 1207.566882] ------------[ cut here ]------------
[ 1207.566898] kernel BUG at arch/powerpc/include/asm/book3s/64/hash-4k.h:141!
[ 1207.567140] Oops: Exception in kernel mode, sig: 5 [#1]
[ 1207.567301] BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=256 NUMA PowerMac
[ 1207.567494] Modules linked in: 8021q garp stp mrp llc amdgpu binfmt_misc amdxcp b43 drm_exec hfsplus gpu_sched drm_buddy cordic bcma mac80211 cfg80211 rfkill rng_core libarc4 radeon snd_aoa_fabric_layout drm_suballoc_helper drm_display_helper drm_ttm_helper ttm drm_kms_helper snd_aoa_codec_onyx snd_aoa snd_aoa_i2sbus snd_aoa_soundbus drm snd_pcm snd_timer ssb snd mousedev sungem mmc_core mac_hid drm_panel_orientation_quirks uninorth_agp agpgart soundcore rack_meter sungem_phy i2c_algo_bit windfarm_smu_sat windfarm_cpufreq_clamp windfarm_lm75_sensor windfarm_smu_sensors windfarm_smu_controls windfarm_pm81 windfarm_pid windfarm_core
[ 1207.569341] CPU: 0 PID: 4221 Comm: rustc Tainted: G S 6.6.58-mc2-easy #1
[ 1207.569592] Hardware name: PowerMac8,2 PPC970FX 0x3c0300 PowerMac
[ 1207.569780] NIP: c000000000088c30 LR: c0000000003fee6c CTR: c00000000039de90
[ 1207.569998] REGS: c00000001bae77d0 TRAP: 0700 Tainted: G S (6.6.58-mc2-easy)
[ 1207.570275] MSR: 9000000000029032 <SF,HV,EE,ME,IR,DR,RI> CR: 24242820 XER: 20000000
[ 1207.570546] IRQMASK: 0
GPR00: c00000000039e4d4 c00000001bae7a70 c00000000131b100 8000000018200104
GPR04: 8000000000000104 0000000000000000 0000000000000001 fffffffffffe0000
GPR08: 0000000000000000 0000000018200000 000000000017d400 0000000084242820
GPR12: c00000000039de90 c0000000018ea000 00003fff7dfe11a0 00003fff792cd9c0
GPR16: 00003fff783d6af9 c00000001bae7c08 0000000000000000 c0003f0000608000
GPR20: 0000000000000009 0000000000000000 c000000005575b00 60000000000000e0
GPR24: 0000000000001254 0000000000001254 c000000001859cb8 c0003f000017d428
GPR28: 00003fff7c600000 c0000000013ae450 c0003f0000608000 c00000001bae7c08
[ 1207.572583] NIP [c000000000088c30] mk_pmd+0x40/0x50
[ 1207.572747] LR [c0000000003fee6c] do_set_pmd+0x18c/0x410
[ 1207.572916] Call Trace:
[ 1207.572991] [c00000001bae7a70] [c00000000039cc4c] next_uptodate_folio+0xdc/0x3d0 (unreliable)
[ 1207.573255] [c00000001bae7ad0] [c00000000039e4d4] filemap_map_pages+0x644/0x790
[ 1207.573484] [c00000001bae7be0] [c000000000404204] __handle_mm_fault+0xc04/0x12d0
[ 1207.573719] [c00000001bae7ce0] [c000000000404a84] handle_mm_fault+0x1b4/0x320
[ 1207.573945] [c00000001bae7d30] [c000000000082dc0] ___do_page_fault+0x300/0xb20
[ 1207.574170] [c00000001bae7df0] [c000000000083728] hash__do_page_fault+0x28/0xc0
[ 1207.574397] [c00000001bae7e20] [c00000000008b8d8] do_hash_fault+0x1d8/0x270
[ 1207.574619] [c00000001bae7e50] [c000000000008918] data_access_common_virt+0x198/0x1f0
[ 1207.574865] --- interrupt: 300 at 0x3fff826992ac
[ 1207.575012] NIP: 00003fff826992ac LR: 00003fff83ce9578 CTR: 00003fff8152b530
[ 1207.575227] REGS: c00000001bae7e80 TRAP: 0300 Tainted: G S (6.6.58-mc2-easy)
[ 1207.575488] MSR: 900000000200f032 <SF,HV,VEC,EE,PR,FP,ME,IR,DR,RI> CR: 44242044 XER: 20000000
[ 1207.575791] DAR: 00003fff7c600000 DSISR: 40000000 IRQMASK: 0
GPR00: 00003fff83ceea38 00003fff7dfe0a20 00003fff898ae800 00003fff7c600000
GPR04: 0000000000215c48 0000000000215c48 00003fff783d6ae8 000000000000001a
GPR08: 00003fff7dfe0fc8 0000000000000000 fffffffffffffe70 0000000000000330
GPR12: 00003fff8152b530 00003fff7e003838 00003fff7dfe11a0 00003fff792cd9c0
GPR16: 00003fff783d6af9 00003fff7c600000 0000000000000000 0000000000000001
GPR20: 0000000000000009 0000000000000000 0000000000000000 00003fff7dfe0d60
GPR24: 0000000000000000 0000000000215c48 0000000000215c48 00003fff7dfe0d08
GPR28: 0000000000000000 00003fff7dfe0fc8 00003fff7c600000 00003fff7dfe0a20
[ 1207.577932] NIP [00003fff826992ac] 0x3fff826992ac
[ 1207.578077] LR [00003fff83ce9578] 0x3fff83ce9578
[ 1207.578220] --- interrupt: 300
[ 1207.578313] Code: e9290000 7d291850 79298a24 7929aac2 7d232378 4800001c 3920ffff 7923f04e 4e800020 60000000 60000000 60000000 <0fe00000> 60000000 60000000 60000000
[ 1207.588994] ---[ end trace 0000000000000000 ]---
[ 1207.610021] note: rustc[4221] exited with irqs disabled
I have been unable to try other kernels other than 6.6.58-mc2 because of #183.