-
Notifications
You must be signed in to change notification settings - Fork 280
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
How to support crash tool for linux-5.15 or later versions #125
Comments
Yeah, I have solved it. 5.4: 5.15: crashs 8.0.1++ NOTE: setting vabits_actual to: 39 NOTE: setting kimage_voffset to: 0xffffffbfc8000000 GNU gdb (GDB) 10.2 For help, type "help". sp: 0xffffffc00884f580 sp: 0xffffffc00884f580
alias foreach mount search vm crashs version: 8.0.1++ gdb version: 10.2 crashs> |
Now I want to support crash dump tool for linux-5.15, however, it can't read analyze the vmlinux and vmcore.
And I found the crash-utility's commit 9f168fb fix it for Linux 5.1 kernels.
So I wonder if the linux-5.15 is different for low version kernel and we need deal with it in the same way.
kernel info:
/ # uname -a
Linux sun_xx_iw_x_p1 5.15.41+ #12 SMP PREEMPT Mon Sep 19 16:42:54 CST 2022 aarch64 GNU/Linux
Message as follow:
crashs 8.0.1++
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.
NOTE: setting vabits_actual to: 39
NOTE: setting kimage_voffset to: 0xffffffbfc8000000
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"...
sp: 0xffffffc0087cf580
WARNING: could not find MAGIC_START!
crashs: dbg/vmlinux and /var/tmp/ramdump_elf_Lmb5Zc do not match!
Usage:
crash [OPTION]... NAMELIST MEMORY-IMAGE[@address] (dumpfile form)
crash [OPTION]... [NAMELIST] (live system form)
Enter "crashs -h" for details.
The text was updated successfully, but these errors were encountered: