Crash, won't read my vmcore "crash: page excluded: kernel virtual address:"
by Tory M Blue
[root@kvm7 127.0.0.1-2014-02-07-19:17:09]# crash
/boot/System.map-2.6.32-220.el6.x86_64.debug
/usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64.debug/vmlinux vmcore
crash 5.1.8-1.el6
Copyright (C) 2002-2011 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, 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) 7.0
Copyright (C) 2009 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 "x86_64-unknown-linux-gnu"...
crash: page excluded: kernel virtual address: ffffffff81542000 type:
"cpu_possible_mask"
I can go into minimal,
nm -Bn /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64.debug/vmlinux |
grep _stext
ffffffff81000198 T _stext
cat /proc/kallsyms | grep _stext
ffffffff81000198 T _stext
If I use the System Map parm I get this warning
WARNING: kernels compiled by different gcc versions:
/usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64.debug/vmlinux: 4.4.5
vmcore kernel: 4.4.6
Would really like to understand why this system crashed. I know I'm a bit
behind on my kernel versions however, but I should be able to look at this
kernel??
Thanks
Tory
10 years, 9 months
How to print the details of a structure inside a structure having a list_head entry.
by Sachin Boban
I need a help in using crash utility.
I have a structure like this
struct a {
...
struct task_struct task;
...
struct list_head list;
...
}
It is possible to get the address of the task structure using *-s
a.task*option in the *list
*command. But what if i want to get the value of a member inside task, say
*task.comm*? Is it possible to make the list command to print to it
directly?
--
Regards,
Sachin Boban
10 years, 9 months