All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to generate vmcore file.
       [not found] <mailman.1.1392829202.27676.kernelnewbies@kernelnewbies.org>
@ 2014-02-20  8:03 ` palik imre
  2014-02-20  9:56   ` Rishi Agrawal
  0 siblings, 1 reply; 4+ messages in thread
From: palik imre @ 2014-02-20  8:03 UTC (permalink / raw)
  To: kernelnewbies

> From: Rishi Agrawal <rishi.b.agrawal@gmail.com>


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


...

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

What kind of virtual machine?? Some of them don't support kdump.

Imre

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Unable to generate vmcore file.
  2014-02-20  8:03 ` Unable to generate vmcore file palik imre
@ 2014-02-20  9:56   ` Rishi Agrawal
  2014-02-20  9:57     ` Rishi Agrawal
  0 siblings, 1 reply; 4+ messages in thread
From: Rishi Agrawal @ 2014-02-20  9:56 UTC (permalink / raw)
  To: kernelnewbies

Its a VMWare 2.0 machine.

One more thing I want to add ... the same machine was collecting the core
in cases of crash in my modules, but it was then updated to the latest
kernel and now it does not do it.




On Thu, Feb 20, 2014 at 1:33 PM, palik imre <imre_palik@yahoo.co.uk> wrote:

> > From: Rishi Agrawal <rishi.b.agrawal@gmail.com>
>
>
> > I have been trying to debug a kernel crash in my module and need the
> vmcore
> > file for it.
>
>
> ...
>
> > Its a virtual machine so I do not get a lot of info on console.
>
> What kind of virtual machine?  Some of them don't support kdump.
>
> Imre
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140220/788fd52f/attachment-0001.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Unable to generate vmcore file.
  2014-02-20  9:56   ` Rishi Agrawal
@ 2014-02-20  9:57     ` Rishi Agrawal
  0 siblings, 0 replies; 4+ messages in thread
From: Rishi Agrawal @ 2014-02-20  9:57 UTC (permalink / raw)
  To: kernelnewbies

Adding kexec mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140220/95f3804d/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Unable to generate vmcore file.
@ 2014-02-19 14:56 Rishi Agrawal
  0 siblings, 0 replies; 4+ messages in thread
From: Rishi Agrawal @ 2014-02-19 14:56 UTC (permalink / raw)
  To: kernelnewbies

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 at localhost ~]# cat /proc/meminfo
MemTotal:         756460 kB

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

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


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

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

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

[root at 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 at 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 at 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 at 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 at 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 at localhost ~]# rpm -qa | grep kexec
kexec-tools-2.0.4-18.fc20.x86_64


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

Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140219/ca7bf82d/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-20  9:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1.1392829202.27676.kernelnewbies@kernelnewbies.org>
2014-02-20  8:03 ` Unable to generate vmcore file palik imre
2014-02-20  9:56   ` Rishi Agrawal
2014-02-20  9:57     ` Rishi Agrawal
2014-02-19 14:56 Rishi Agrawal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.