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

Gustau Pérez gperez at entel.upc.edu
Tue Apr 7 13:03:40 UTC 2015




    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..fc3c45b 100644
> --- a/xen/arch/x86/hvm/vmx/vmx.c
> +++ b/xen/arch/x86/hvm/vmx/vmx.c
> @@ -3102,8 +3102,7 @@ void vmx_vmexit_handler(struct cpu_user_regs *regs)
>          if ( exit_qualification & 0x10 )
>          {
>              /* INS, OUTS */
> -            if ( unlikely(is_pvh_vcpu(v)) /* PVH fixme */ ||
> -                 !handle_mmio() )
> +            if ( !handle_mmio() )
>                  hvm_inject_hw_exception(TRAP_gp_fault, 0);
>          }
>          else
>

   Sure. I applied the patch, recompiled the xen kernel,  and copied it
to /boot (as usual). I also raised the iommu debug level. Now the crash
is different:

           http://dpaste.com/1H4XBY5

    I don't if it has to do with the dom0_max_vcpus xen_cmdline option.
I lowered it to 2 (the machine has 1 package(s) x 4 core(s) x 2 SMT
threads) just in case.

   Any other thing you'd like me to check, let me know.

   Best,

   Gustau
     
> .
>
> Yes, this is possible from the serial console. Press Ctrl-A tree times 
> (to switch to the Xen console), and then 'R' (note the caps).
>
   PS: Thanks. I'm unable to bring in the xen console, perhaps because
I'm using the serial console, I don't know. I'll try the physical
console, just in case.

-- 
---------------------------------------------------------------------------
Prou top-posting :    http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :    http://en.wikipedia.org/wiki/Posting_style   

O O O Gustau Pérez i Querol
O O O Unitat de Gestió dels departaments
O O O Matemàtica Aplicada IV i Enginyeria Telemàtica

      Universitat Politècnica de Catalunya
      Edifici C3 - Despatx S101-B
 UPC  Campus Nord UPC
      C/ Jordi Girona, 1-3
      08034 - Barcelona 





More information about the freebsd-xen mailing list