root= cmdline modification in kexec (was Re: [PATCH] kexec ppc64: fix misaligned cmdline )

Mohan Kumar M mohan at
Wed Jun 6 01:31:35 EDT 2007

On Tue, Jun 05, 2007 at 06:22:18PM +1000, Michael Neuling wrote:
> OK Looks like we parse the new command line to see if there is a
> 'root=blah' parameter.  If yes, use that, otherwise we use what was on
> the last boot.

For PPC64, if the user does not pass the kernel parameter, it is taken
from the existing kernel parameter. In this case "crashkernel=X at Y"
parameter is removed. If user explicitly gives the parameter, it is

> Is this what other architectures are doing?  Is there any other special
> cases we need to look out for?

I am not sure about x86, I hope they expect that user has to _pass_ the
kernel parameter. They don't copy the kernel parameter from current

> Mikey
> _______________________________________________
> kexec mailing list
> kexec at

More information about the kexec mailing list