Re: [next-20251022] Kernel Boot Warnings at arch/powerpc/kernel/trace/ftrace.c:234
From: Hari Bathini
Date: Wed Oct 29 2025 - 14:13:21 EST
Hi Petr,
On 23/10/25 2:42 pm, Petr Mladek wrote:
On Wed 2025-10-22 19:56:45, Venkat Rao Bagalkote wrote:Yeah. This is part of arch-specific code that does init of ftrace
On 22/10/25 6:36 pm, Petr Mladek wrote:
On Wed 2025-10-22 17:36:18, Venkat Rao Bagalkote wrote:
On 22/10/25 1:52 pm, Venkat Rao Bagalkote wrote:I guess that it is the same problem which should get fixed by the patch
Greetings!!!With the identified first bad commit, is casuing the kernel to boot to
IBM CI has reported kernel boot warnings with next-20251022 kernel. I
see there are couple of warnings hit and eventually system boots to
emergency mode.
emergency mode. I reverted the bad commit and built the kernel, then kernel
is booting fine, but with boot warnings.
https://lore.kernel.org/r/e52ee3edf32874da645a9e037a7d77c69893a22a.1760982784.git.jpoimboe@xxxxxxxxxx
Thank you Petr, for pointing to the fix patch. It fixes the kernel booting
to emergency mode.
Great.
But boot warning still persists.
I looks like another problem. I would expect that it is in
the ftrace code, either in the generic or arch-specific part.
out line stubs. The problem seems to be since commit 1ba9f8979426
("vmlinux.lds: Unify TEXT_MAIN, DATA_MAIN, and related macros").
Before this commit, .text.startup section was featured in INIT_TEXT
but now it seems to feature in TEXT. Is this change right/intentional?
If yes, I can post a fix patch in ftrace arch-specific code accordingly.
- Hari