[Crash-utility] crash can't read vmlinux on live system?

Kris Corwin Kris.Corwin at hp.com
Fri Feb 24 20:47:37 UTC 2006


I wasn't aware of the new driver, crash.  I have now
built CONFIG_CRASH into my kernel.  crash still has
trouble reading though.

kris


[root at f14 linux-2.6.9-22.0.2.EL]# crash -d7 ./vmlinux
 
crash 4.0-2
Copyright (C) 2002, 2003, 2004, 2005  Red Hat, Inc.
Copyright (C) 2004, 2005  IBM Corporation
Copyright (C) 1999-2005  Hewlett-Packard Co
Copyright (C) 1999, 2002  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.
 
get_live_memory_source: /dev/mem
/proc/version:
Linux version 2.6.9-prep.qp2.2.5.11.3qsnet (root at f16) (gcc version 3.2.3 
20030502 (Red Hat Linux 3.2.3-20)) #10 SMP Fri Feb 24 15:22:41 EST 2006
./vmlinux:
Linux version 2.6.9-prep.qp2.2.5.11.3qsnet (root at f16) (gcc version 3.2.3 
20030502 (Red Hat Linux 3.2.3-20)) #10 SMP Fri Feb 24 15:22:41 EST 2006
<readmem: c0153373, KVADDR, "x86_omit_frame_pointer", 4, (ROE), bff651e0>
/dev/mem: Operation not permitted
crash: read(/dev/mem, 153373, 0): 4 (ffffffff)
crash: read error: kernel virtual address: c0153373  type: 
"x86_omit_frame_pointer"
<readmem: c0439d10, KVADDR, "xtime", 8, (FOE), 8349634>
/dev/mem: Operation not permitted
crash: read(/dev/mem, 439d10, 0): 8 (ffffffff)
crash: read error: kernel virtual address: c0439d10  type: "xtime"
[root at f14 linux-2.6.9-22.0.2.EL]# ls -l /dev/crash
crw-------  1 root root 10, 63 Feb 24 10:35 /dev/crash




More information about the Crash-utility mailing list