Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-14 Thread Gustau Pérez
On 14/04/2015 11:51, Roger Pau Monné wrote: > Thanks, could you add ioapic_ack=old to your xen_cmdline and try again? Adding ioapic_ack=old seems to prevent the problem with the interruptions. Anything else you want me to test? Best ___ free

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-14 Thread Roger Pau Monné
Hello, Re-adding freebsd-xen ;). El 14/04/15 a les 11.33, Gustau Pérez ha escrit: > > > On 14/04/2015 10:36, Roger Pau Monné wrote: >>> >>>Hello, >>> >>>I've tried the IN/OUT patch (I haven't tested the acpi shutdown patch >>> yet) but the problem remains the same. In the serial console

Fwd: Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-14 Thread Gustau Pérez
On 14/04/2015 10:36, Roger Pau Monné wrote: >> >>Hello, >> >>I've tried the IN/OUT patch (I haven't tested the acpi shutdown patch >> yet) but the problem remains the same. In the serial console I can see >> different interruption problems (USB_ERR_TIMEOUTS, mpt0, bce0, etc). > Can you

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-14 Thread Roger Pau Monné
Hello, El 14/04/15 a les 9.40, Gustau Pérez ha escrit: > > >> The interrupt timeouts are probably related to the IOMMU errata, the >> ACPI poweroff problem is because we need to negotiate the shutdown with >> the hypervisor, which we currently don't do. I have a very hacky patch >> for FreeBSD t

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-14 Thread Gustau Pérez
> The interrupt timeouts are probably related to the IOMMU errata, the > ACPI poweroff problem is because we need to negotiate the shutdown with > the hypervisor, which we currently don't do. I have a very hacky patch > for FreeBSD that should fix it, but I haven't found time to properly > integr

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-08 Thread Gustau Pérez
> The interrupt timeouts are probably related to the IOMMU errata, the > ACPI poweroff problem is because we need to negotiate the shutdown with > the hypervisor, which we currently don't do. I have a very hacky patch > for FreeBSD that should fix it, but I haven't found time to properly > integr

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-08 Thread Roger Pau Monné
Hello, El 07/04/15 a les 17.51, Gustau Pérez ha escrit: >Removing the assert prevents the panic and thus the machine boots. > However I believe the assert was there for a reason, wouldn't it break > somewhere else? > >OTOH, I see the machine has problems handling the interruption from > a

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Gustau Pérez
On 07/04/2015 16:46, Roger Pau Monné wrote: > > Ah, I've forgot about the ASSERT in handle_mmio. It looks like at least > one of the drivers for your hardware uses the INS or OUTS instruction > which is not yet correctly handled by PVH guests. You can try the > following patch, which removes t

Re: Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Roger Pau Monné
Hello, El 07/04/15 a les 15.03, Gustau Pérez ha escrit: >Hi there, >> can you apply the >> following patch to the Xen source tree and recompile the Xen kernel, >> (there's no need to recompile the tools): >> >> diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c >> index e1

Fwd: Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Gustau Pérez
Resending it to the mailing list, just in case. Hi there, > can you apply the > following patch to the Xen source tree and recompile the Xen kernel, > (there's no need to recompile the tools): > > diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c > index e1c55ce..

Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Roger Pau Monné
Hello, El 07/04/15 a les 13.11, Gustau Pérez ha escrit: > >Hi Roger, If you don't have a serial console you should use console=vga in your xen_cmdline. Additionally if you have a usb debug port you could use that as console with console=dbgp [1]. >>>Thank you. I did not hav

Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Gustau Pérez
Hi Roger, >>> If you don't have a serial console you >>> should use console=vga in your xen_cmdline. Additionally if you have a >>> usb debug port you could use that as console with console=dbgp [1]. >>Thank you. I did not have a console at $home (the laptop has no >> physical serial port)

Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Roger Pau Monné
Hello, El 07/04/15 a les 10.25, Gustau Pérez ha escrit: >I'm using the cmdline in the xen wiki. No special tweaking yet. I've just realized the xen_cmdline on the wiki page has the output set to serial only, I've now updated it to send output to both com1 and VGA. > >> If you don't have a s

Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Gustau Pérez
Hi, On 07/04/2015 09:28, Roger Pau Monné wrote: >this morning I updated my sources to r281106, recompiled just the > bootloader, installed it under /boot, installed the bootloader with: > >gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 > In order to update the loader yo

Re: Unable to boot with the dom0 xen kernel

2015-04-07 Thread Roger Pau Monné
Hello, El 06/04/15 a les 10.00, Gustau Pérez ha escrit: > >> Could you update your boot loader to r280954 (or any later version) >> and try again? I've recently committed some small bug fixes for it. > >Hi, > >this morning I updated my sources to r281106, recompiled just the > bootloade

Re: Unable to boot with the dom0 xen kernel

2015-04-06 Thread Gustau Pérez
> Could you update your boot loader to r280954 (or any later version) > and try again? I've recently committed some small bug fixes for it. Hi, this morning I updated my sources to r281106, recompiled just the bootloader, installed it under /boot, installed the bootloader with: gpa

Re: Unable to boot with the dom0 xen kernel

2015-04-05 Thread Gustau Pérez
, > I'm replying from my phone, sorry for the format\brevity. > > El dia 03/04/2015 23:37, "Gustau Pérez" < > > Could you update your boot loader to r280954 (or any later version) and try > > again? I've recently committed some small bug fixes for it. > > Thanks, Roger. > Hi, I'll try

Re: Unable to boot with the dom0 xen kernel

2015-04-05 Thread Roger Pau Monné
Hello, I'm replying from my phone, sorry for the format\brevity. El dia 03/04/2015 23:37, "Gustau Pérez" va escriure: > > >Hi, > >I'm trying to test xen but after following the instructions here: > >http://wiki.xen.org/wiki/FreeBSD_Dom0 > >the machine is unable to boot. I see