Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2015 15:03:35 +0200
From:      =?UTF-8?B?R3VzdGF1IFDDqXJleg==?= <gperez@entel.upc.edu>
To:        =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <royger@FreeBSD.org>
Cc:        freebsd-xen@FreeBSD.org
Subject:   Fwd: Re: Unable to boot with the dom0 xen kernel
Message-ID:  <5523D5A7.5040809@entel.upc.edu>
In-Reply-To: <5523D56B.9040706@entel.upc.edu>
References:  <5523D56B.9040706@entel.upc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help



    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 






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5523D5A7.5040809>