From: thayumker@gmail.com (Thayumanavar S)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Debug Kernel Crash
Date: Fri, 1 Apr 2011 12:47:10 +0530 [thread overview]
Message-ID: <AANLkTikdVcXnTgDyG5xQTOPERPcptr1FCG_MKSdcWupx@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimR-jGZCEFnzzYMV7BAOcsSJFgJ+6b-pkciASDN@mail.gmail.com>
>> does /var/crash or kdump target directory as mentioned in
>> /etc/kdump.conf exists?
>
>
> One thing i forgot to mention is in my root there is not configuration file
> /etc/sysconfig/kdump or
> /etc/kdump.conf, is this anything to do with this and not even /var/crash, i
> got the latest kexec-tool
> source from the git and build it.
This file will be provided the kexec-tools rpm of any distribution. I
am not sure whether the git repo has it or not.
It would be easier (say if you are on redhat, you can yum install
kexec-tools, yum install kernel-kdump, boot it in kdump kernel) if
your distribution rpms to set it up.
You need to append crashkernel=128M at 16M on kernel command line and
boot it into the kdump kernel ( that you might have built with certain
kexec related options enabled). Also you create directory /var/crash
if it does not exist and you need to regenerate or create a new
initrd for the second kernel( that will boot when crash happens).
thx,thayumanavar s.
prev parent reply other threads:[~2011-04-01 7:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 4:05 Debug Kernel Crash swathi suresh
2011-03-31 7:34 ` swathi suresh
2011-03-31 15:28 ` Thayumanavar S
2011-04-01 3:37 ` swathi suresh
2011-04-01 7:17 ` Thayumanavar S [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikdVcXnTgDyG5xQTOPERPcptr1FCG_MKSdcWupx@mail.gmail.com \
--to=thayumker@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).