Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not load arm64 dumpfile #167

Open
sensarliar opened this issue Jan 18, 2024 · 2 comments
Open

Can not load arm64 dumpfile #167

sensarliar opened this issue Jan 18, 2024 · 2 comments

Comments

@sensarliar
Copy link

we can not load mtk arm64 dumpfile, the error log is :
~/code/github/crash/crash ./symbols/vmlinux SYS_COREDUMP

crash 8.0.4++
Copyright (C) 2002-2022 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011, 2020-2022 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
Copyright (C) 2015, 2021 VMware, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.

BFD: ./symbols/vmlinux: unknown type [0x13] section .relr.dyn' BFD: ./symbols/vmlinux: unknown type [0x13] section .relr.dyn'
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=aarch64-elf-linux".
Type "show configuration" for configuration details.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
BFD: /mnt/disk/code/dumpdump/20231231080842-00691540-fulldump/symbols/vmlinux: unknown type [0x13] section `.relr.dyn'

crash: invalid kernel virtual address: ffffff9994665460 type: "kernel_config_data"
WARNING: cannot read kernel_config_data
crash: invalid kernel virtual address: ffffff9994ae2fb0 type: "possible"
WARNING: cannot read cpu_possible_map
crash: invalid kernel virtual address: ffffff9994ae2fa8 type: "present"
WARNING: cannot read cpu_present_map
crash: invalid kernel virtual address: ffffff9994ae2fa0 type: "online"
WARNING: cannot read cpu_online_map
crash: invalid kernel virtual address: ffffff9994ae2fb8 type: "active"
WARNING: cannot read cpu_active_map
crash: invalid kernel virtual address: ffffff9994f43800 type: "shadow_timekeeper xtime_sec"
crash: invalid kernel virtual address: ffffff9994b1aea4 type: "init_uts_ns"
WARNING: invalid linux_banner pointer: ffffff99946bd2f8
crash: ./symbols/vmlinux and SYS_COREDUMP do not match!

Usage:

crash [OPTION]... NAMELIST MEMORY-IMAGE[@address] (dumpfile form)
crash [OPTION]... [NAMELIST] (live system form)

Enter "crash -h" for details.

@Penguin38
Copy link
Contributor

@zslxiu
Copy link

zslxiu commented Jun 29, 2024

Boss, could you please provide a slightly more detailed explanation?
You said 8.0.4++cannot solve mtk dump, but I tried 7.3.2 and found:
Kernel-4.14 can be resolved and commands can be used normally, but kernel-4.19 can load, but when using BT, it will exit and still have an error message 'don't know how to handle section `. relr. dyn' [0x13]
Can you please explain the reason for this error? What version of flash should I use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants