Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-07-03 Thread Daniel Kiper
On Thu, Jun 28, 2018 at 12:26:01PM +0300, Kristaps Čivkulis wrote: > Roger provided Xen kernel binary for me and it worked. I don't know > why I couldn't build it properly on FreeBSD. Please try to execute "make distclean" before the build. This will cleanup whole Xen source tree. Sometimes it hap

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-28 Thread Kristaps Čivkulis
Roger provided Xen kernel binary for me and it worked. I don't know why I couldn't build it properly on FreeBSD. >> menuentry 'Xen kernel' { >> set root='(hd0,1)' >> multiboot2 /xen > > I think that you should add at least this to Xen command line: > dom0_mem=1g,max:1g guest_logl

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-23 Thread Daniel Kiper
On Fri, Jun 22, 2018 at 05:32:39PM +0300, Kristaps Čivkulis wrote: > What I did so far: > Installed Arch Linux inside of Qemu virtual machine. > > Inside of virtual machine I added these lines to /etc/default/grub > > GRUB_TERMINAL="serial" > GRUB_SERIAL_COMMAND="serial --speed=9600 --unit=0 --word

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-22 Thread Kristaps Čivkulis
What I did so far: Installed Arch Linux inside of Qemu virtual machine. Inside of virtual machine I added these lines to /etc/default/grub GRUB_TERMINAL="serial" GRUB_SERIAL_COMMAND="serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1" and called grub-mkconfig -o /boot/grub/grub.cfg Now

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-15 Thread Daniel Kiper
On Fri, Jun 15, 2018 at 10:06:15AM +0200, Roger Pau Monné wrote: > Adding Daniel Kiper. > > On Wed, Jun 13, 2018 at 02:09:45AM +0300, Kristaps Čivkulis wrote: > > Hello, > > > > I am implementing Multiboot2 support for FreeBSD loader to load Xen > > kernel. Currently I pass EFI 64-bit system table

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-15 Thread Roger Pau Monné
Adding Daniel Kiper. On Wed, Jun 13, 2018 at 02:09:45AM +0300, Kristaps Čivkulis wrote: > Hello, > > I am implementing Multiboot2 support for FreeBSD loader to load Xen > kernel. Currently I pass EFI 64-bit system table pointer tag, EFI boot > services not terminated tag, EFI 64-bit image handle

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-14 Thread Kristaps Čivkulis
Is there some way to easily print stack dump with QEMU? Adding -d guest_errors prints only register state. 2018-06-14 13:24 GMT+03:00 Jan Beulich : On 14.06.18 at 12:11, wrote: >>> As you should have a xen.efi available from that same build, could >>> you try running that (from the EFI shel

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-14 Thread Jan Beulich
>>> On 14.06.18 at 12:11, wrote: >> As you should have a xen.efi available from that same build, could >> you try running that (from the EFI shell) instead? Sadly there's no way >> to bypass the call in the multiboot2 case, while with xen.efi you could >> pass "/basevideo" to prevent the call fro

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-14 Thread Kristaps Čivkulis
> As you should have a xen.efi available from that same build, could > you try running that (from the EFI shell) instead? Sadly there's no way > to bypass the call in the multiboot2 case, while with xen.efi you could > pass "/basevideo" to prevent the call from being made. When I launched QEMU I p

Re: [Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-13 Thread Jan Beulich
>>> On 13.06.18 at 01:09, wrote: > I am implementing Multiboot2 support for FreeBSD loader to load Xen > kernel. Currently I pass EFI 64-bit system table pointer tag, EFI boot > services not terminated tag, EFI 64-bit image handle pointer tag and > Image load base physical address tag. > > The pr