<div dir="ltr"><div><div></div>Hi All,<br><br>I have been trying to debug a kernel crash in my module and need the vmcore file for it.<br><br></div><div>It seems that I have correctly setup the machine (kdump etc.) but I am not getting any core in "/var/crash"<br>
<br></div><div>I run "echo c > /proc/sysrq".<br><br></div><div>Its a virtual machine so I do not get a lot of info on console.<br><br></div><div>Following is the machine information and the configuration files.<br>
<br></div><div>Please help.<br></div><div><br></div><div>MEMINFO<br>^^^^^^^^^^<br></div><div><br>[root@localhost ~]# cat /proc/meminfo <br>MemTotal: 756460 kB<br><br></div><div>CRASH KERNEL<br>^^^^^^^^^^^^^^^^^^^^<br>
</div><div><br>[root@localhost ~]# cat /proc/iomem | grep crash -i<br> 26000000-35ffffff : Crash kernel<br><br><br></div>Kernel Version<br>^^^^^^^^^^^^^^<br><div><div><br>[root@localhost ~]# uname -r<br>3.13.3-201.fc20.x86_64<br>
<br></div><div>grub.cfg entry<br>^^^^^^^^^^^^^^<br></div><div><br>[root@localhost ~]# cat /boot/grub2/grub.cfg | grep crashkernel<br> linux /vmlinuz-3.13.3-201.fc20.x86_64 root=/dev/mapper/fedora-root ro <a href="http://rd.lvm.lv">rd.lvm.lv</a>=fedora/swap vconsole.font=latarcyrheb-sun16 <a href="http://rd.lvm.lv">rd.lvm.lv</a>=fedora/root rhgb quiet LANG=en_US.UTF-8 crashkernel=256M<br>
<br></div><div>kdump service status<br>^^^^^^^^^^^^^^^^^^^^^^<br></div><div><br>[root@localhost ~]# systemctl status kdump<br>kdump.service - Crash recovery kernel arming<br> Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled)<br>
Active: active (exited) since Wed 2014-02-19 09:11:37 EST; 1min 39s ago<br> Process: 667 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)<br> Main PID: 667 (code=exited, status=0/SUCCESS)<br> CGroup: /system.slice/kdump.service<br>
<br></div><div>kdump.conf file<br>^^^^^^^^^^^^^^^^^<br></div><div><br>[root@localhost ~]# cat /etc/kdump.conf <br>#dracut_args --omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3"<br>path /var/crash<br>
core_collector makedumpfile -c -d 31<br><br></div><div>Kernel boot cmdline<br>^^^^^^^^^^^^^^^^^^^<br></div><div><br>[root@localhost ~]# cat /proc/cmdline <br>BOOT_IMAGE=/vmlinuz-3.13.3-201.fc20.x86_64 root=/dev/mapper/fedora-root ro <a href="http://rd.lvm.lv">rd.lvm.lv</a>=fedora/swap vconsole.font=latarcyrheb-sun16 <a href="http://rd.lvm.lv">rd.lvm.lv</a>=fedora/root rhgb quiet LANG=en_US.UTF-8 crashkernel=256M<br>
<br></div><div>RPMs installed<br></div><div>^^^^^^^^^^^^^^^^^<br>[root@localhost ~]# rpm -qa | grep kernel | grep 13<br>kernel-debuginfo-3.13.3-201.fc20.x86_64<br>kernel-debuginfo-common-x86_64-3.13.3-201.fc20.x86_64<br>
kernel-devel-3.13.3-201.fc20.x86_64<br>
kernel-3.13.3-201.fc20.x86_64<br><br>-- [root@localhost ~]# rpm -qa | grep kexec<br>kexec-tools-2.0.4-18.fc20.x86_64<br><br><br>[root@localhost ~]# rpm -qa | grep kdump<br>system-config-kdump-2.0.14-1.fc20.noarch<br><br>
Regards,<br>
Rishi Agrawal<br>
</div></div></div>