Re: Crash, won't read my vmcore "crash: page excluded: kernel virtual address:"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> [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

It looks like the vmcore and vmlinux file don't match, like maybe the crashing
system was running the standard 2.6.32-220.el6.x86_64 kernel, and you're trying
to debug it using the 2.6.32-220.el6.x86_64.debug kernel variant?

First thing -- *never* use a System.map file unless for some reason you don't
have the original kernel's vmlinux available *and* you feel that the vmlinux
file you have is very close to the crashing kernel's vmlinux.  Bit with any 
RHEL standard (unmodified) vmlinux/vmcore setup, the System.map is completely
useless.

So the first question is: what kernel generated the vmcore?

Do this:

 $ strings vmcore | grep '2.6.32'
 
Dave



 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux