Skip to content

crash9.0.1 cannot resolve vmlinux on Linux-6.6 RISCV64. #227

@SongJunDongPeter

Description

@SongJunDongPeter

In the crash/help.c file, the help command provides a reference for "arm64" instructions:

" phys_base=",
" ARM64:",
" phys_offset=",
" kimage_voffset=<kimage_voffset-value>",
" max_physmem_bits=",
" vabits_actual=",

I'm using Linux-6.6 RISCv64, but I don't see this help command. Is it because I don't need --machdep?

If it's not needed, it will throw an error:

"cannot get vm layout" and then exit.

The debug error occurred because the riscv64_get_va_range function in riscv64.c failed to parse all pc->read_vmcoreinfo("NUMBER(xxx)") information.
Is it because the current crash doesn't properly support RISCV64?
Is my Linux system missing some configuration file causing the missing vmlinuxinformation?

I have already configured the following:

CONFIG_PANIC_DEBUG=y
CONFIG_CRASH_DUMP=y
CONFIG_PROC_KCORE=y
CONFIG_CRASH_CORE=y
CONFIG_PROC_VMCORE=y
CONFIG_KEXEC=y

Looking forward to your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions