[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aKCLGvmPLPwjyw13@shell.armlinux.org.uk>
Date: Sat, 16 Aug 2025 14:43:54 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Richard Weinberger <richard.weinberger@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Gabriele Monaco <gmonaco@...hat.com>,
Nam Cao <namcao@...utronix.de>, John Kacur <jkacur@...hat.com>,
Tomas Glozar <tglozar@...hat.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [GIT PULL] runtime verification: Updates for 6.17
On Sat, Aug 16, 2025 at 02:04:34PM +0200, Richard Weinberger wrote:
> [Adding ARM folks]
>
> On Tue, Jul 29, 2025 at 11:43 PM Steven Rostedt <rostedt@...dmis.org> wrote:
> > Linus,
> >
> > Runtime verification changes for 6.17
>
> [...]
>
> > - Add a vpanic() to allow for va_list to be passed to panic.
>
> This change is causing a regression on ARM32.
> panic() no longer shows a proper stack trace.
>
> With this change:
> [ 2.943690] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(0,0)
> [ 2.950101] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted
> 6.17.0-rc1 #176 NONE
> [ 2.950509] Hardware name: Generic DT based system
> [ 2.950865] Call trace:
> [ 2.951722] unwind_backtrace from show_stack+0x18/0x1c
> [ 2.953111] show_stack from dump_stack_lvl+0x54/0x68
> [ 2.953312] dump_stack_lvl from vpanic+0xf8/0x388
> [ 2.953526] vpanic from __do_trace_suspend_resume+0x0/0x50
Please lookup the value of __do_trace_suspend_resume in System.map.
>
> With commit 3f045de7f5 "panic: Add vpanic()" reverted:
> [ 2.680077] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(0,0)
> [ 2.690241] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted
> 6.17.0-rc1-dirty #177 NONE
> [ 2.690832] Hardware name: Generic DT based system
> [ 2.691339] Call trace:
> [ 2.692530] unwind_backtrace from show_stack+0x18/0x1c
> [ 2.694283] show_stack from dump_stack_lvl+0x54/0x68
> [ 2.694536] dump_stack_lvl from panic+0x110/0x31c
> [ 2.694944] panic from mount_root_generic+0x1fc/0x2ac
Also please lookup mount_root_generic.
> Maybe it changes the stack layout enough such that dump_stack() on
> ARM32 is no longer
> able to walk it? I'm using gcc 15.1.1, if this matters.
Also please check whether you're using frame pointers or the unwinder
(CONFIG_UNWINDER_FRAME_POINTER or CONFIG_ARM_UNWIND).
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists