All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
To: Bernhard Walle <bwalle@suse.de>
Cc: jlan@sgi.com, kexec@lists.infradead.org
Subject: Re: [makedumpfile] config file -- OSRELEASE
Date: Wed, 30 May 2007 20:13:28 +0900	[thread overview]
Message-ID: <20070530201328oomichi@mail.jp.nec.com> (raw)
In-Reply-To: <20070529193058.GA4229@suse.de>


Hi Bernhard,

2007/05/29 21:30:58 +0200, Bernhard Walle <bwalle@suse.de> wrote:
>is there any reason why the kernel version saved in the configuration
>file is the version of the running kernel and not the version for
>which the config file is for?

The reason is that makedumpfile gets a running kernel's page_size as
a 1st-kernel's page_size. If they are different, makedumpfile cannot
analyze /proc/vmcore and it fails. So I think a configuration file
should be created while 1st-kernel is running.


>It's a big problem because my plan was to ship the configuration files
>with the kernel RPMs in SLES. However, we don't build the kernels on
>systems which run the kernel that is just built -- so that's not
>possible.

It is a good idea to ship the configuration files with the kernel RPMs. 
I think you can do it with current implementation, because you need
only one configuration file for one kernel image.

I think you can ship configuration files as follows:

1. Build a kernel file and a debuginfo file.
2. Boot the system with the above kernel file.
3. Generate a configration file from a debuginfo file.
4. Ship the configration file with the kernel RPM.

Any problem to follow the method above ?


Thanks
Ken'ichi Ohmichi

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  parent reply	other threads:[~2007-05-30 11:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29 19:30 [makedumpfile] config file -- OSRELEASE Bernhard Walle
2007-05-29 19:46 ` Jay Lan
2007-05-30 11:13 ` Ken'ichi Ohmichi [this message]
2007-05-31  8:57   ` Bernhard Walle
2007-05-31 19:14     ` Eric W. Biederman
2007-06-01  9:07       ` Ken'ichi Ohmichi
2007-06-01  9:52         ` Bernhard Walle
2007-06-01 13:40           ` Eric W. Biederman
2007-06-01 13:48             ` Bernhard Walle

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=20070530201328oomichi@mail.jp.nec.com \
    --to=oomichi@mxs.nes.nec.co.jp \
    --cc=bwalle@suse.de \
    --cc=jlan@sgi.com \
    --cc=kexec@lists.infradead.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 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.