Kexec command line length

Neil Horman nhorman at tuxdriver.com
Tue Feb 12 16:11:57 EST 2008


On Thu, Jan 31, 2008 at 08:16:25AM +0100, Bernhard Walle wrote:
> * Vivek Goyal <vgoyal at redhat.com> [2008-01-30 22:45]:
> > 
> > No. 2.04 is really old. As per boot.txt, it was introduced in 2.6.14.
> > 
> > Anyway, thinking about it more, Large command lines were introduced in
> > 2.6.21 kernel (for both i386 and x86_64). cmdline_size was introduced
> > in 2.6.22 (for both i386 and x86_64). So how about following test
> > condition for both the arch.
> > 
> > if (boot_protocol >= 2.06)
> > 	error message based on cmdline_size field
> > else
> > 	Warn user if command line is more than 256 but continue to work.
> >   	Let the user know that it is not known if kernel being loaded
> > 	supports command line size greater than 256. Command line will
> > 	be truncated by destination kernel if it does not support large
> > 	command lines. User is taking a chance
> 
> Yes, I also think that's sufficient.
> 
> 
>         Bernhard
> 
So, has anyone heard out of Simon?  I've noted that he hasn't updated the git
tree for kexec-tools nor has he posted to the list is almost 3 weeks.  Anyone
know if he's ok?  Simon, if you're out there, give us a shout! :)

Thanks & Regards
Neil

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

-- 
/****************************************************
 * Neil Horman <nhorman at tuxdriver.com>
 * Software Engineer, Red Hat
 ****************************************************/



More information about the kexec mailing list