New: Kernel 5.10-rc1 fails to boot on a PowerMac G4 3, 6 at an early stage
https://bugzilla.kernel.org/show_bug.cgi?id=209869
Bug ID: 209869
Summary: Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at
an early stage
Product: Platform Specific/Hardware
Version: 2.5
Kernel Version: 5.10-rc1
Hardware: PPC-32
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PPC-32
Assignee: [email protected]
Reporter: [email protected]
Regression: Yes
Created attachment 293201
--> https://bugzilla.kernel.org/attachment.cgi?id=293201&action=edit
kernel .config (5.10-rc1, PowerMac G4 DP)
With current 5.10-rc1 my PowerMac G4 DP fails to boot. The kernel gets decompressed but shortly afterwards the machine freezes, displaying in black letters on a white screen:
done
found display : /pci@f0000000/ATY,AlteracParent@10/ATY,Alterac_B@1,
opening...
Kernel 5.9.1 works well on this machine, the kernel .config was carried over from 5.9.1 with make oldconfig.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
https://bugzilla.kernel.org/show_bug.cgi?id=209869
Christophe Leroy ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Christophe Leroy ([email protected]) --- Could you try reverting commit
https://github.com/linuxppc/linux/commit/69a1593abdbcf03a76367320d929a8ae7a5e3d71
?
I got another report from someone who has the same problem and bisected it to that commit.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #2 from Erhard F. ([email protected]) ---
Yes, reverting this commit (on top of -rc1) makes the G4 boot again. Did not try -rc2 though.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #3 from Christophe Leroy ([email protected]) --- Ok, thanks for the verification. I'm still having hard time understand what the problem can be. That commit sets up at all time the early hash table that was previously only set up when CONFIG_KASAN was set. As far as I remember, you tried KASAN many times.
Could you test whether CONFIG_KASAN works:
- on 5.10-rc1 with that commit reverted ?
- on 5.9 ?
If CONFIG_KASAN is already broken on 5.9, are you able to find the last kernel version on which CONFIG_KASAN works ?
Thanks
Christophe
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #4 from Erhard F. ([email protected]) --- (In reply to Christophe Leroy from comment #3)
Quoted 3 lines
Could you test whether
CONFIG_KASANworks:
- on 5.10-rc1 with that commit reverted ?
- on 5.9 ?
KASAN works in both cases. I'll attach kernel dmesg and config.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #5 from Erhard F. ([email protected]) --- Created attachment 293495
--> https://bugzilla.kernel.org/attachment.cgi?id=293495&action=edit
kernel .config (5.10-rc1 + KASAN, PowerMac G4 DP)
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #6 from Erhard F. ([email protected]) --- Created attachment 293497
--> https://bugzilla.kernel.org/attachment.cgi?id=293497&action=edit
dmesg (5.10-rc1 + patch reverted + KASAN, PowerMac G4 DP)
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #7 from Erhard F. ([email protected]) --- Created attachment 293499
--> https://bugzilla.kernel.org/attachment.cgi?id=293499&action=edit
kernel .config (5.9.3 + KASAN, PowerMac G4 DP)
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #8 from Erhard F. ([email protected]) --- Created attachment 293501
--> https://bugzilla.kernel.org/attachment.cgi?id=293501&action=edit
dmesg (5.9.3 + KASAN, PowerMac G4 DP)
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #9 from Christophe Leroy ([email protected]) --- Ok, what about 5.10-rc1 + KASAN without reverting the patch ?
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #10 from Erhard F. ([email protected]) --- (In reply to Christophe Leroy from comment #9)
Quoted 1 line
Ok, what about 5.10-rc1 + KASAN without reverting the patch ?
Nope, does not boot. Same 5.10-rc1 .config + KASAN but without reverting the patch.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #11 from Christophe Leroy ([email protected]) --- Can (In reply to Erhard F. from comment #10)
Quoted 4 lines
(In reply to Christophe Leroy from comment #9)
Quoted 1 line
Ok, what about 5.10-rc1 + KASAN without reverting the patch ?
Nope, does not boot. Same 5.10-rc1 .config + KASAN but without reverting the patch.
Can you test patch at
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/9e225a856a8b22e0e77587ee22ab7a2f5bca8753.1604740029.git.christophe.leroy@csgroup.eu/
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #12 from Erhard F. ([email protected]) ---
I can confirm the patch fixes booting 5.10-rc1 on my G4, with and without KASAN. Thanks!
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
Michael Ellerman ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |CODE_FIX--- Comment #13 from Michael Ellerman ([email protected]) --- Fixed in:
01776f070ffc ("powerpc/32s: Use relocation offset when setting early hash
table")
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
--- Comment #14 from Erhard F. ([email protected]) --- Thanks!
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209869] Kernel 5.10-rc1 fails to boot on a PowerMac G4 3,6 at an early stage
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209869
Michael Ellerman ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #15 from Michael Ellerman ([email protected]) --- And the fix is in mainline as of v5.10-rc6.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.