mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: joe shmoe <joeshmoeypeter@yahoo.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: kdump/kexec vmcore size doubles each time
Date: Thu, 19 Jul 2012 15:08:44 -0700 (PDT)	[thread overview]
Message-ID: <1342735724.60460.YahooMailNeo@web160604.mail.bf1.yahoo.com> (raw)

Hi,
I am trying to configure kexec/kdump on 2.6.35-14. 


$> kexec --version
kexec-tools-testing 20080330 released 30th March 2007


I did manage to configure kdump to use raw device (/dev/sda7) for saving the dump from within the initrd.

When the production kernel boots, it copies core from /dev/sda7 to /var/crash/ path.
I see that the size of data copied over from /dev/sda7 to /var/crash almost doubles with every crash (370MB to 620MB to 1.2 GB to 2.1GB). 


The size returns back to normal, should there be a "normal" reboot cycle anytime. After that every subsequent crash again doubles the size. This is very baffling. 

On a related note, I wanted to understand if there are any known issues with having swap device as a dump location. Does kdump start 
early enough to ensure that vmcore can be safely copied off swap 
/dev/sda7 and THEN mkswap/swapon commands set up the swap space?


Thanks much.

             reply	other threads:[~2012-07-19 22:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 22:08 joe shmoe [this message]
2012-07-20  9:36 ` Daniel Kiper
2012-07-23 23:48   ` joe shmoe
2012-07-24 14:06     ` Daniel Kiper

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=1342735724.60460.YahooMailNeo@web160604.mail.bf1.yahoo.com \
    --to=joeshmoeypeter@yahoo.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®