Re: Kernel 6.9 fails to boot with "can't boot dump kernel from OF"

Reimar Döffinger <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
> On 6 Jul 2024, at 17:17, John Paul Adrian Glaubitz <[email protected]> wrote:
> 
> Hi Reimar,
> 
>> On Jul 6, 2024, at 5:09 PM, Reimar Döffinger <[email protected]> wrote:
>> 
>> Hi!
>> The newest 6.9 powerpc kernel build seems to be incompatible with OpenFirmware boot,
>> so boot fails on my PowerPC macMini.
>> The error message is
>> "Error: You can't boot a kdump kernel from OF!"
>> The error message seems not entirely accurate, it seems the issue is that
>> CONFIG_PHYSICAL_START
>> is no longer 0, which probably comes from
>> CONFIG_CRASH_DUMP=y
>> being set.
>> Can this be reverted?
> 
> Could you verify that this change actually fixes the problem? This would save me some work.

I checked the kernel source, the error message is under a if (PHYSICAL_START > 0), so that I am quite certain is the issue.
Actually testing means compiling the kernel, which will take quite some while.

> Also, we need to figure out whether this change was made upstream or in Debian.

The error check etc is not new.
I did also diff the config of the working 6.7 kernel and the non-working 6.9 kernel.
Whether upstream changed the option defaults I do not know, but Debian definitely decides on the config options used in the end.
But it seems most likely that CONFIG_CRASH_DUMP was enabled in Debian.

Best regards,
Reimar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.