From: Michael Neuling <mikey@neuling.org>
To: Bernhard Walle <bwalle@suse.de>
Cc: kexec@lists.infradead.org
Subject: Re: [PATCH] Add --reuse-cmdline
Date: Mon, 12 May 2008 14:43:57 -0500 [thread overview]
Message-ID: <17602.1210621437@neuling.org> (raw)
In-Reply-To: <20080512153849.74753e71@kopernikus.site>
In message <20080512153849.74753e71@kopernikus.site> you wrote:
> --Sig_/XVYJV.ZkU.f5R3y3b_UR6.k
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> at first thanks for looking at the patch.
>
> * Michael Neuling <mikey@neuling.org> [2008-05-09 12:13]:
> >=20
> > In message <20080508204943.GA24160@suse.de> you wrote:
> > > This patch adds an option "--reuse-cmdline" for people that are lazy in=
> typin
> > g
> > > --append=3D"$(cat /proc/cmdline)". The advantage of "--reuse-cmdline" i=
> s also t
> > hat
> > > it strips off BOOT_IMAGE (since it may not be correct any more) from li=
> lo and
> > > other boot loaders, and, more important, the crashkernel option in case=
> a
> > > panic kernel is loaded.
> > >=20
> > > If you like the option I can also add it for really all architectures. =
> Tested
> > only
> > > with x86-bzImage both the kexec and kdump case.
> >=20
> > For ppc64, the default is to reuse the command line. We should probably
> > merge functionality.
>
> Where is that functionality implemented? I couldn't find it. Does the
> kernel that automatically on PPC64? I know too litte about that
> architecture.
Sorry, I think I was mistaken. ppc64 only takes the "root=<blah>" from
the first kernel, provided it's not specified on the kexec command line
for the next kernel.
Anyway, the code is in kexec/arch/ppc64/fs2dt.c (search for "root=")
> > Either way, this should probably be a generic option, not x86 specific.
>
> Well, I thought first of it. But since the '--append' parameter is not
> generic, this makes no sense.
>
> Maybe it would make sense to change the command line handling in
> general to be global and not image specific, but first I need to
> understand how that works on PPC64 ... (and probably others).
Yeah, the cmdline should be generically and consistently handled rather
than what we have now.
Mikey
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2008-05-13 17:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 20:49 [PATCH] Add --reuse-cmdline Bernhard Walle
2008-05-08 22:02 ` Ben Woodard
2008-05-09 17:13 ` Michael Neuling
2008-05-12 13:38 ` Bernhard Walle
2008-05-12 19:43 ` Michael Neuling [this message]
2008-05-13 18:24 ` Lombard, David N
2008-05-21 11:30 ` 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=17602.1210621437@neuling.org \
--to=mikey@neuling.org \
--cc=bwalle@suse.de \
--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.