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-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-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 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

[Xen-devel] strange behavior with Multiboot2 on EFI

2018-06-12 Thread Kristaps Čivkulis
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 pointer tag and Image load base physical address tag. The problem is, Xen kernel gets stuck into i