On Thu, Nov 06, 2025 at 02:03:44PM +0200, Pnina Feder wrote:
> The vmcore-dmesg tool could fail with the message:
> "No program header covering vaddr 0x%llx found kexec bug?"
> 
> This occurred when a virtual address belonged to the kernel’s direct
> mapping region, which may not be covered by any PT_LOAD segment in
> the vmcore ELF headers.
> 
> Add a direct-map fallback in vaddr_to_offset() that converts such
> virtual addresses using the known page and physical offsets. This
> allows resolving these addresses correctly.
> 
> Tested on Linux 6.16 (RISC-V)
> 
> Signed-off-by: Pnina Feder <[email protected]>

Thanks, applied.

- util_lib: Add direct map fallback in vaddr_to_offset()
  
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=393c449aec3d

Reply via email to