crash-utility / crash

Linux kernel crash utility
https://crash-utility.github.io
788 stars 266 forks source link

crash: page excluded: kernel virtual address: ffff0001004dc028 type: "xa_node.slots[off]" #156

Open shawn8172014 opened 9 months ago

shawn8172014 commented 9 months ago

image

shawn8172014 commented 9 months ago

root@shawn:/var/crash/202309260742# crash dump.202309260742 ~/linux/vmlinux

crash 8.0.3++ 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.

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 "aarch64-unknown-linux-gnu". 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"...

please wait... (gathering task table data)
crash: page excluded: kernel virtual address: ffff0001004dc028 type: "xa_node.slots[off]"

muryliang commented 9 months ago

I encountered the same problem with upsteam linux-stable v6.5.4 and crash utility both version 8.0.3 and master branch.


I also tried

  1. long-maintained upstream kernel v6.1.55, which is ok with crash utility vesion 8.0.3.
  2. ubuntu 23.04's kernel6.2.16(custom build of official 6.2.0-33-generic), which will still report crash: page excluded: kernel virtual address: xxxxxxxxxxx type: "xa_node.slots[off]"

so there must be something changed in more recent kernels which break the crash utility

k-hagio commented 8 months ago

Hi muryliang, What is the version of makedumpfile that you're using to capture the vmcore?

I saw a similar message on Linux 6.2 once [1], upstream makedumpfile-1.7.3 and later support Linux 6.2. For Ubuntu makedumpfile, please consult Ubuntu community. [1] https://github.com/makedumpfile/makedumpfile/commit/5f17bdd2128998a3eeeb4521d136a192222fadb6

k-hagio commented 8 months ago

For Ubuntu makedumpfile, please consult Ubuntu community.

Probably this is it: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/2038248 Please try.

muryliang commented 8 months ago

Hi k-hagio, After upgrade to makedumpfile v1.7.3 from v1.7.2, both upstream kernel v6.5.4 and ubuntu's kernel v6.2 now can be sucessfully handled by crash v8.0.3. Thanks for your help.