[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] problem using compiled kernel -- Sisu
On 27/07/2010 21:37, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:
>> what info are missing?
> You're missing the fact that grub2 is broken..
> Please read grub2 related entries from:
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.
>>>> (XEN) Command line: loglvl=all guest_loglvl=all sync_console
>>>> console_to_ring com1=115200,8n1 console=com1
> See, dom0_mem is missing from there..
> The same thing happens with dom0 kernel, you lose the first parameter
> -- Pasi
> Xen-devel mailing list
Xen-devel mailing list