WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] problem using compiled kernel -- Sisu

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] problem using compiled kernel -- Sisu
From: Mike Viau <viaum@xxxxxxxxxxxxxxx>
Date: Wed, 28 Jul 2010 00:51:15 -0400
Delivery-date: Tue, 27 Jul 2010 21:52:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <C8750999.1BCB4%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100727203755.GQ17817@xxxxxxxxxxx>, <C8750999.1BCB4%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> On Tue, 27 Jul 2010 22:09:29 +0100 <keir.fraser@xxxxxxxxxxxxx> wrote:
>
> This is a tricky issue actually. Strictly it is Xen which throws away the
> first parameter on each command line. This is because the Multiboot protocol
> behaviour, as established by GRUB1, is that the command line passed to us
> includes the name of the kernel binary (e.g. xen.gz loglvl=all sync_console)
> and so we strip that off. But GRUB2 has arbitrarily changed behaviour to
> only pass parameters in the command-line string. Hence lopping the first
> item in the string actually lops a parameter. The workaround is to stick
> something dummy as the first parameter, such as a period. This behaviour
> change between GRUB1 and GRUB2 is a pain in the arse.
>
> -- Keir
>

Thanks Keir for this explanation, and to Sander Eikelenboom for the link on grub's boot information format.

-M


Look 'em in the eye: FREE Messenger video chat Chat Now!
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel