From: Simon Horman <horms@verge.net.au>
To: tachibana@mxm.nes.nec.co.jp
Cc: Don Zickus <dzickus@redhat.com>,
Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>,
Neil Horman <nhorman@redhat.com>, Dan Aloni <da-x@monatomic.org>,
Bernhard Walle <bwalle@suse.de>,
kexec-ml <kexec@lists.infradead.org>,
lkml <linux-kernel@vger.kernel.org>,
Vivek Goyal <vgoyal@in.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 2/3] [kexec-tools] Pass vmcoreinfo's address and size
Date: Fri, 19 Oct 2007 12:38:42 +0900 [thread overview]
Message-ID: <20071019033842.GG692@verge.net.au> (raw)
In-Reply-To: <20071018181407tachibana@mail.jp.nec.com>
On Thu, Oct 18, 2007 at 06:14:07PM +0900, tachibana@mxm.nes.nec.co.jp wrote:
>
> Hi Simon,
>
> On Thu, 18 Oct 2007 14:37:41 +0900, Simon Horman <horms@verge.net.au> wrote:
> > On Wed, Oct 17, 2007 at 02:16:19PM +0900, Ken'ichi Ohmichi wrote:
> > >
> > > Hi Simon,
> > >
> > > Simon Horman wrote:
> > > > On Wed, Aug 22, 2007 at 09:13:39PM +0900, Ken'ichi Ohmichi wrote:
> > > >> [2/3] [kexec-tools] Pass vmcoreinfo's address and size
> > > >> The patch is for kexec-tools-testing-20070330.
> > > >> (http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/)
> > > >> kexec command gets the address and size of the vmcoreinfo data from
> > > >> /sys/kernel/vmcoreinfo, and passes them to the second kernel through
> > > >> ELF header of /proc/vmcore. When the second kernel is booting, the
> > > >> kernel gets them from the ELF header and creates vmcoreinfo's PT_NOTE
> > > >> segment into /proc/vmcore.
> > > >
> > > > Sorry for the long delay, I completely missed this patch.
> > > >
> > > > The kexec-tools change seems ok to me. What is the status of
> > > > the kernel portion of the change?
> > >
> > > The kernel portion is merged into linux-2.6.23-mm1.
> > > According to Andrew's mail "-mm merge plans for 2.6.24", its status is
> > > "The infamous misc. Will re-review and will merge basically all of them".
> > >
> > > http://www.ussg.iu.edu/hypermail/linux/kernel/0710.0/0313.html
> > >
> > >
> > > > Do you still want the kexec-tools portion applied?
> > >
> > > Yes, I hope so.
> >
> > Thanks, applied :-)
>
> Thank you for applying ;-)
>
> But it has the compatibility problem that the kexec command fails on
> kernels which don't have /sys/kernel/vmcoreinfo:
>
> # ls /sys/kernel/
> debug kexec_crash_loaded kexec_loaded security uevent_helper
> uevent_seqnum
> #
> (There is not /sys/kernel/vmcoreinfo.)
>
> #
> # kexec -p --args-linux vmlinuz --initrd=initrd.img
> Could not open "/sys/kernel/vmcoreinfo": No such file or directory
> #
>
> To fix the problem, could you please apply the attached patch ?
> The fixed part is the same as the patch in the following mail.
Thanks, applied.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: tachibana@mxm.nes.nec.co.jp
Cc: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>,
Don Zickus <dzickus@redhat.com>, Neil Horman <nhorman@redhat.com>,
Dan Aloni <da-x@monatomic.org>, Bernhard Walle <bwalle@suse.de>,
kexec-ml <kexec@lists.infradead.org>,
lkml <linux-kernel@vger.kernel.org>,
Vivek Goyal <vgoyal@in.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 2/3] [kexec-tools] Pass vmcoreinfo's address and size
Date: Fri, 19 Oct 2007 12:38:42 +0900 [thread overview]
Message-ID: <20071019033842.GG692@verge.net.au> (raw)
In-Reply-To: <20071018181407tachibana@mail.jp.nec.com>
On Thu, Oct 18, 2007 at 06:14:07PM +0900, tachibana@mxm.nes.nec.co.jp wrote:
>
> Hi Simon,
>
> On Thu, 18 Oct 2007 14:37:41 +0900, Simon Horman <horms@verge.net.au> wrote:
> > On Wed, Oct 17, 2007 at 02:16:19PM +0900, Ken'ichi Ohmichi wrote:
> > >
> > > Hi Simon,
> > >
> > > Simon Horman wrote:
> > > > On Wed, Aug 22, 2007 at 09:13:39PM +0900, Ken'ichi Ohmichi wrote:
> > > >> [2/3] [kexec-tools] Pass vmcoreinfo's address and size
> > > >> The patch is for kexec-tools-testing-20070330.
> > > >> (http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/)
> > > >> kexec command gets the address and size of the vmcoreinfo data from
> > > >> /sys/kernel/vmcoreinfo, and passes them to the second kernel through
> > > >> ELF header of /proc/vmcore. When the second kernel is booting, the
> > > >> kernel gets them from the ELF header and creates vmcoreinfo's PT_NOTE
> > > >> segment into /proc/vmcore.
> > > >
> > > > Sorry for the long delay, I completely missed this patch.
> > > >
> > > > The kexec-tools change seems ok to me. What is the status of
> > > > the kernel portion of the change?
> > >
> > > The kernel portion is merged into linux-2.6.23-mm1.
> > > According to Andrew's mail "-mm merge plans for 2.6.24", its status is
> > > "The infamous misc. Will re-review and will merge basically all of them".
> > >
> > > http://www.ussg.iu.edu/hypermail/linux/kernel/0710.0/0313.html
> > >
> > >
> > > > Do you still want the kexec-tools portion applied?
> > >
> > > Yes, I hope so.
> >
> > Thanks, applied :-)
>
> Thank you for applying ;-)
>
> But it has the compatibility problem that the kexec command fails on
> kernels which don't have /sys/kernel/vmcoreinfo:
>
> # ls /sys/kernel/
> debug kexec_crash_loaded kexec_loaded security uevent_helper
> uevent_seqnum
> #
> (There is not /sys/kernel/vmcoreinfo.)
>
> #
> # kexec -p --args-linux vmlinuz --initrd=initrd.img
> Could not open "/sys/kernel/vmcoreinfo": No such file or directory
> #
>
> To fix the problem, could you please apply the attached patch ?
> The fixed part is the same as the patch in the following mail.
Thanks, applied.
next prev parent reply other threads:[~2007-10-19 3:39 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 12:08 [PATCH 0/3] vmcoreinfo support for dump filtering Ken'ichi Ohmichi
2007-08-22 12:08 ` Ken'ichi Ohmichi
2007-08-22 12:11 ` [PATCH 1/3] [linux] Add vmcoreinfo Ken'ichi Ohmichi
2007-08-22 12:11 ` Ken'ichi Ohmichi
2007-08-22 12:13 ` [PATCH 2/3] [kexec-tools] Pass vmcoreinfo's address and size Ken'ichi Ohmichi
2007-08-22 12:13 ` Ken'ichi Ohmichi
2007-10-17 2:33 ` Simon Horman
2007-10-17 2:33 ` Simon Horman
2007-10-17 5:16 ` Ken'ichi Ohmichi
2007-10-17 5:16 ` Ken'ichi Ohmichi
2007-10-17 5:27 ` Andrew Morton
2007-10-17 5:27 ` Andrew Morton
2007-10-17 13:37 ` Simon Horman
2007-10-17 13:37 ` Simon Horman
2007-10-18 5:37 ` Simon Horman
2007-10-18 5:37 ` Simon Horman
2007-10-18 9:14 ` tachibana
2007-10-18 9:14 ` tachibana
2007-10-19 3:38 ` Simon Horman [this message]
2007-10-19 3:38 ` Simon Horman
2007-08-22 12:16 ` [PATCH 3/3] [makedumpfile] Extract vmcoreinfo from /proc/vmcore Ken'ichi Ohmichi
2007-08-22 12:16 ` Ken'ichi Ohmichi
2007-08-22 22:40 ` [PATCH 0/3] vmcoreinfo support for dump filtering Andrew Morton
2007-08-22 22:40 ` Andrew Morton
2007-08-23 10:20 ` Ken'ichi Ohmichi
2007-08-23 10:20 ` Ken'ichi Ohmichi
2007-08-23 5:47 ` Vivek Goyal
2007-08-23 5:47 ` Vivek Goyal
2007-09-03 8:15 ` Ken'ichi Ohmichi
2007-09-03 8:15 ` Ken'ichi Ohmichi
2007-10-17 17:19 ` Tony Luck
2007-10-17 17:19 ` Tony Luck
2007-10-17 17:19 ` Tony Luck
2007-10-17 20:20 ` Andrew Morton
2007-10-17 20:20 ` Andrew Morton
2007-10-17 20:20 ` Andrew Morton
2007-10-17 21:32 ` Luck, Tony
2007-10-17 21:32 ` Luck, Tony
2007-10-17 21:32 ` Luck, Tony
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=20071019033842.GG692@verge.net.au \
--to=horms@verge.net.au \
--cc=akpm@linux-foundation.org \
--cc=bwalle@suse.de \
--cc=da-x@monatomic.org \
--cc=dzickus@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nhorman@redhat.com \
--cc=oomichi@mxs.nes.nec.co.jp \
--cc=tachibana@mxm.nes.nec.co.jp \
--cc=vgoyal@in.ibm.com \
/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.