Hello,<br><br>I am trying to analyse the dump created by the kdump utility. This is what I did <br>I took 2.6.25.14 vanilla version of kernel and made two copies of the kernel named vmlinuz-2.6.25.14-main (Production kernel)  and vmlinuz-2.6.25.14-kdump (Crash kernel) by following the procedure mentioned in the following website<br>
<i><a href="http://www.dedoimedo.com/computers/kdump.html">http://www.dedoimedo.com/computers/kdump.html</a></i><br><br>When I run crash utility using the following command <br><i>crash /usr/src/linux-2.6.25.14-main/vmlinux /var/crash/2009-08-08-23:32/vmcore</i><br>
<br>I get the following error <br><i><br>crash /usr/src/linux-2.6.25.14-main/vmlinux /var/crash/2009-08-08-23:32/vmcore <br><br>crash 4.0-6.0.5<br>Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008  Red Hat, Inc.<br>Copyright (C) 2004, 2005, 2006  IBM Corporation<br>
Copyright (C) 1999-2006  Hewlett-Packard Co<br>Copyright (C) 2005, 2006  Fujitsu Limited<br>Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.<br>Copyright (C) 2005  NEC Corporation<br>Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.<br>
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.<br>This program is free software, covered by the GNU General Public License,<br>and you are welcome to change it and/or distribute copies of it under<br>certain conditions.  Enter "help copying" to see the conditions.<br>
This program has absolutely no warranty.  Enter "help warranty" for details.<br> <br>GNU gdb 6.1<br>Copyright 2004 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>Type "show copying" to see the conditions.<br>There is absolutely no warranty for GDB.  Type "show warranty" for details.<br>
This GDB was configured as "i686-pc-linux-gnu"...<br><br>crash: read error: kernel virtual address: c1399f10  type: "xtime"<br><br></i><br>I checked for the error and found this link which mentions few work-around/fixes for the issue with reading of /dev/mem<br>
<i><a href="http://www.mail-archive.com/crash-utility@redhat.com/msg01553.html">http://www.mail-archive.com/crash-utility@redhat.com/msg01553.html</a></i><br><br>I tried adding CONFIG_STRICT_DEVMEM to the .config file (This parameter was not already present in the config file)<br>
I got the following error while compiling the kernel<br><br><i>scripts/kconfig/mconf arch/x86/Kconfig<br>.config:3869:warning: trying to assign nonexistent symbol STRICT_DEVMEM</i><br><br>I tried to create the kretprobe module, it works fine for do_fork() but when I give devmem_is_allowed() as the functioin name I get the following error<br>
<br><i>[root@buzzsaw kprobes]# insmod kretprobe_devmem.ko <br>insmod: error inserting 'kretprobe_devmem.ko': -1 Operation not permitted</i><br><br>I am new to the area of kernel debugging. Please let me know how I can solve this issue. Thanks<br>

<pre></pre>-- <br>Regards,<br>Mani<br>