Unable to generate vmcore file.

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

 



Hi All,

I have been trying to debug a kernel crash in my module and need the vmcore file for it.

It seems that I have correctly setup the machine (kdump etc.) but I am not getting any core in "/var/crash"

I run "echo c > /proc/sysrq".

Its a virtual machine so I do not get a lot of info on console.

Following is the machine information and the configuration files.

Please help.

MEMINFO
^^^^^^^^^^

[root@localhost ~]# cat /proc/meminfo
MemTotal:         756460 kB

CRASH KERNEL
^^^^^^^^^^^^^^^^^^^^

[root@localhost ~]# cat /proc/iomem | grep crash -i
  26000000-35ffffff : Crash kernel


Kernel Version
^^^^^^^^^^^^^^

[root@localhost ~]# uname -r
3.13.3-201.fc20.x86_64

grub.cfg entry
^^^^^^^^^^^^^^

[root@localhost ~]# cat /boot/grub2/grub.cfg | grep crashkernel
    linux    /vmlinuz-3.13.3-201.fc20.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora/root rhgb quiet LANG=en_US.UTF-8 crashkernel=256M

kdump service status
^^^^^^^^^^^^^^^^^^^^^^

[root@localhost ~]# systemctl status kdump
kdump.service - Crash recovery kernel arming
   Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled)
   Active: active (exited) since Wed 2014-02-19 09:11:37 EST; 1min 39s ago
  Process: 667 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)
 Main PID: 667 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/kdump.service

kdump.conf file
^^^^^^^^^^^^^^^^^

[root@localhost ~]# cat /etc/kdump.conf
#dracut_args --omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3"
path /var/crash
core_collector makedumpfile -c -d 31

Kernel boot cmdline
^^^^^^^^^^^^^^^^^^^

[root@localhost ~]# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.13.3-201.fc20.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora/root rhgb quiet LANG=en_US.UTF-8 crashkernel=256M

RPMs installed
^^^^^^^^^^^^^^^^^
[root@localhost ~]# rpm -qa | grep kernel | grep 13
kernel-debuginfo-3.13.3-201.fc20.x86_64
kernel-debuginfo-common-x86_64-3.13.3-201.fc20.x86_64
kernel-devel-3.13.3-201.fc20.x86_64
kernel-3.13.3-201.fc20.x86_64

-- [root@localhost ~]# rpm -qa | grep kexec
kexec-tools-2.0.4-18.fc20.x86_64


[root@localhost ~]# rpm -qa | grep kdump
system-config-kdump-2.0.14-1.fc20.noarch

Regards,
Rishi Agrawal
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux