Re: [Xen-devel] [PATCH v2 08/23] x86: add multiboot2 protocol support

2015-08-14 Thread Jan Beulich
>>> On 13.08.15 at 21:22, wrote: > On Mon, Aug 10, 2015 at 03:17:48PM -0400, Konrad Rzeszutek Wilk wrote: >> On Mon, Jul 20, 2015 at 04:29:03PM +0200, Daniel Kiper wrote: >> > @@ -34,6 +57,42 @@ multiboot1_header_start: /*** MULTIBOOT1 HEADER >> > / >> > .long -(MULTIBOOT_HEA

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Daniel Kiper
On Tue, Aug 11, 2015 at 12:48:06PM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Jul 20, 2015 at 04:29:17PM +0200, Daniel Kiper wrote: > > Every multiboot protocol (regardless of version) compatible image must > > specify its load address (in ELF or multiboot header). Multiboot protocol > > compati

Re: [PATCH v2 23/23] x86: add multiboot2 protocol support for relocatable images

2015-08-14 Thread Daniel Kiper
On Tue, Aug 11, 2015 at 12:56:58PM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Jul 20, 2015 at 04:29:18PM +0200, Daniel Kiper wrote: > > Add multiboot2 protocol support for relocatable images. Only GRUB2 > > with relevant patches understands that feature. Older multiboot > > You may want to enume

Re: i386-pc target and no block lists

2015-08-14 Thread Olaf Hering
On Fri, Aug 14, Olaf Hering wrote: > /usr/lib64/grub2-chainloader/sbin/grub-install: error: will not proceed with > blocklists. Forgot to post also remaining output with --do-it-anyway: /usr/lib64/grub2-chainloader/sbin/grub-install: info: will leave the core image on the filesystem. /usr/lib6

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Jan Beulich
>>> On 14.08.15 at 13:52, wrote: > On Tue, Aug 11, 2015 at 12:48:06PM -0400, Konrad Rzeszutek Wilk wrote: >> On Mon, Jul 20, 2015 at 04:29:17PM +0200, Daniel Kiper wrote: >> > diff --git a/xen/include/asm-x86/page.h b/xen/include/asm-x86/page.h >> > index 87b3341..27481ac 100644 >> > --- a/xen/inc

Re: i386-pc target and no block lists

2015-08-14 Thread Andrei Borzenkov
And the question is? On Fri, Aug 14, 2015 at 3:32 PM, Olaf Hering wrote: > On Fri, Aug 14, Olaf Hering wrote: > >> /usr/lib64/grub2-chainloader/sbin/grub-install: error: will not proceed with >> blocklists. > > Forgot to post also remaining output with --do-it-anyway: > > /usr/lib64/grub2-chainl

Re: i386-pc target and no block lists

2015-08-14 Thread Olaf Hering
On Fri, Aug 14, Andrei Borzenkov wrote: > And the question is? The question was graylisted, and then forced to fail. Or whatever... Olaf ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

i386-pc target and no block lists

2015-08-14 Thread Olaf Hering
Last night I finally got around to update my grub1 chainloader to grub2. During install of the bootloader I ran into this issue: grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is d

Re: [PATCH v2 23/23] x86: add multiboot2 protocol support for relocatable images

2015-08-14 Thread Konrad Rzeszutek Wilk
On Fri, Aug 14, 2015 at 01:57:01PM +0200, Daniel Kiper wrote: > On Tue, Aug 11, 2015 at 12:56:58PM -0400, Konrad Rzeszutek Wilk wrote: > > On Mon, Jul 20, 2015 at 04:29:18PM +0200, Daniel Kiper wrote: > > > Add multiboot2 protocol support for relocatable images. Only GRUB2 > > > with relevant patch

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Daniel Kiper
On Fri, Aug 14, 2015 at 06:49:18AM -0600, Jan Beulich wrote: > >>> On 14.08.15 at 13:52, wrote: > > On Tue, Aug 11, 2015 at 12:48:06PM -0400, Konrad Rzeszutek Wilk wrote: > >> On Mon, Jul 20, 2015 at 04:29:17PM +0200, Daniel Kiper wrote: > >> > diff --git a/xen/include/asm-x86/page.h b/xen/include

Re: i386-pc target and no block lists

2015-08-14 Thread Andrei Borzenkov
On Fri, Aug 14, 2015 at 3:29 PM, Olaf Hering wrote: > Last night I finally got around to update my grub1 chainloader to grub2. > During install of the bootloader I ran into this issue: > > grub-install: warning: Embedding is not possible. GRUB can only be installed > in this setup by using block

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Jan Beulich
>>> On 14.08.15 at 15:59, wrote: > On Fri, Aug 14, 2015 at 06:49:18AM -0600, Jan Beulich wrote: >> >>> On 14.08.15 at 13:52, wrote: >> > On Tue, Aug 11, 2015 at 12:48:06PM -0400, Konrad Rzeszutek Wilk wrote: >> >> On Mon, Jul 20, 2015 at 04:29:17PM +0200, Daniel Kiper wrote: >> >> > diff --git a/

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Daniel Kiper
On Fri, Aug 14, 2015 at 08:32:05AM -0600, Jan Beulich wrote: > >>> On 14.08.15 at 15:59, wrote: > > On Fri, Aug 14, 2015 at 06:49:18AM -0600, Jan Beulich wrote: > >> >>> On 14.08.15 at 13:52, wrote: > >> > On Tue, Aug 11, 2015 at 12:48:06PM -0400, Konrad Rzeszutek Wilk wrote: > >> >> On Mon, Jul

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Jan Beulich
>>> On 14.08.15 at 16:37, wrote: > On Fri, Aug 14, 2015 at 08:32:05AM -0600, Jan Beulich wrote: >> >>> On 14.08.15 at 15:59, wrote: >> > On Fri, Aug 14, 2015 at 06:49:18AM -0600, Jan Beulich wrote: >> >> >>> On 14.08.15 at 13:52, wrote: >> >> > On Tue, Aug 11, 2015 at 12:48:06PM -0400, Konrad Rz

Re: [Xen-devel] [PATCH v2 22/23] x86: make Xen early boot code relocatable

2015-08-14 Thread Konrad Rzeszutek Wilk
> > > trampoline_bios_setup: > > > +mov %ebp,%esi > > > + > > > +/* Initialise GDT and basic data segments. */ > > > +add %ebp,sym_offset(gdt_boot_descr_addr)(%esi) > > > +lgdtsym_offset(gdt_boot_descr)(%esi) > > > + > > > +mov $BOOT_DS,%ecx

Re: i386-pc target and no block lists

2015-08-14 Thread Lennart Sorensen
On Fri, Aug 14, 2015 at 02:29:23PM +0200, Olaf Hering wrote: > Last night I finally got around to update my grub1 chainloader to grub2. > During install of the bootloader I ran into this issue: > > grub-install: warning: Embedding is not possible. GRUB can only be installed > in this setup by us

Re: i386-pc target and no block lists

2015-08-14 Thread Andrei Borzenkov
On 14.08.2015 19:44, Lennart Sorensen wrote: Certainly Debian by default installs grub to the MBR (aka the disk), not to the partition. I would be surprised if any other distribution does it differently. openSUSE suggests partition by default. It makes sense for dual boot with Windows as

Re: i386-pc target and no block lists

2015-08-14 Thread Lennart Sorensen
On Fri, Aug 14, 2015 at 08:22:28PM +0300, Andrei Borzenkov wrote: > > > On 14.08.2015 19:44, Lennart Sorensen wrote: > > > >Certainly Debian by default installs grub to the MBR (aka the disk), > >not to the partition. I would be surprised if any other distribution > >does it differently. > > >

Re: [Xen-devel] [PATCH v2 08/23] x86: add multiboot2 protocol support

2015-08-14 Thread Andrew Cooper
On 14/08/15 11:03, Jan Beulich wrote: On 13.08.15 at 21:22, wrote: On Mon, Aug 10, 2015 at 03:17:48PM -0400, Konrad Rzeszutek Wilk wrote: On Mon, Jul 20, 2015 at 04:29:03PM +0200, Daniel Kiper wrote: @@ -34,6 +57,42 @@ multiboot1_header_start: /*** MULTIBOOT1 HEADER / .l

Re: Kernel panics (in QEMU) when booting with GRUB2 + OVMF + QEMU.

2015-08-14 Thread Andrei Borzenkov
On 14.08.2015 09:45, Mark Lee wrote: To all, I've encountered a bug when using GRUB2 + OVMF + QEMU on Arch Linux 64 bit. The issue can be reproduced when running the latest git code from grub as well. ISSUE: Kernel panics (in QEMU) when booting with GRUB2 + OVMF + QEMU. Once kernel is loaded,