* [Bug 203699] New: Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 @ 2019-05-24 7:10 bugzilla-daemon 2019-05-24 7:36 ` [Bug 203699] " bugzilla-daemon ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: bugzilla-daemon @ 2019-05-24 7:10 UTC (permalink / raw) To: linuxppc-dev https://bugzilla.kernel.org/show_bug.cgi?id=203699 Bug ID: 203699 Summary: Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 Product: Platform Specific/Hardware Version: 2.5 Kernel Version: Kernel 5.2 Hardware: PPC-32 OS: Linux Tree: Mainline Status: NEW Severity: blocking Priority: P1 Component: PPC-32 Assignee: platform_ppc-32@kernel-bugs.osdl.org Reporter: mathieu.malaterre@gmail.com Regression: No From: Christophe Leroy <> I found the issue. In order to be able to support KASAN, the setup of segments have moved earlier in the boot. Your problem is a side effect of this change. Function setup_disp_bat() is supposed to setup BAT3 for btext data. But setup_disp_bat() rely on someone setting in disp_BAT the values to be loaded into BATs. This is done by btext_prepare_BAT() which is called by bootx_init(). The problem is that bootx_init() is never called, so setup_disp_bat() does nothing and the access to btext data is possible because the bootloader has set an entry for it in the hash table. But by setting up the segment earlier, we break the bootloader hash table, which shouldn't be an issue if the BATs had been set properly as expected. The problematic commit is 215b823707ce ("powerpc/32s: set up an early static hash table for KASAN)" Here is a dirty fix that works for me when CONFIG_KASAN is NOT set. Of course, the real fix has to be to setup the BATs properly, but I won't have time to look at that before June. Maybe you can ? -- You are receiving this mail because: You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 203699] Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 2019-05-24 7:10 [Bug 203699] New: Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 bugzilla-daemon @ 2019-05-24 7:36 ` bugzilla-daemon 2020-11-27 12:09 ` bugzilla-daemon 2022-06-14 3:20 ` bugzilla-daemon 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon @ 2019-05-24 7:36 UTC (permalink / raw) To: linuxppc-dev https://bugzilla.kernel.org/show_bug.cgi?id=203699 --- Comment #1 from Mathieu Malaterre (mathieu.malaterre@gmail.com) --- Created attachment 282929 --> https://bugzilla.kernel.org/attachment.cgi?id=282929&action=edit Fix symptoms -- You are receiving this mail because: You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 203699] Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 2019-05-24 7:10 [Bug 203699] New: Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 bugzilla-daemon 2019-05-24 7:36 ` [Bug 203699] " bugzilla-daemon @ 2020-11-27 12:09 ` bugzilla-daemon 2022-06-14 3:20 ` bugzilla-daemon 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon @ 2020-11-27 12:09 UTC (permalink / raw) To: linuxppc-dev https://bugzilla.kernel.org/show_bug.cgi?id=203699 Michael Ellerman (michael@ellerman.id.au) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |michael@ellerman.id.au --- Comment #2 from Michael Ellerman (michael@ellerman.id.au) --- Did this get fixed along the way? -- You are receiving this mail because: You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 203699] Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 2019-05-24 7:10 [Bug 203699] New: Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 bugzilla-daemon 2019-05-24 7:36 ` [Bug 203699] " bugzilla-daemon 2020-11-27 12:09 ` bugzilla-daemon @ 2022-06-14 3:20 ` bugzilla-daemon 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon @ 2022-06-14 3:20 UTC (permalink / raw) To: linuxppc-dev https://bugzilla.kernel.org/show_bug.cgi?id=203699 Michael Ellerman (michael@ellerman.id.au) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED Resolution|--- |CODE_FIX --- Comment #3 from Michael Ellerman (michael@ellerman.id.au) --- v5.19-rc2 is booting on my mac mini with KASAN enabled, so I'm going to close this as fixed. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-14 3:21 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-05-24 7:10 [Bug 203699] New: Kernel 5.2-rc1 fails to boot on a Mac Mini G4: dt_headr_start=0x01501000 bugzilla-daemon 2019-05-24 7:36 ` [Bug 203699] " bugzilla-daemon 2020-11-27 12:09 ` bugzilla-daemon 2022-06-14 3:20 ` bugzilla-daemon
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.