[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Xen fails to boot inside QEMU on x86, no VMX



Hi all,

Running Xen inside QEMU x86 without KVM acceleartion and without VMX
emulation leads to the failure appended below.

This trivial workaround "fixes" the problem:

diff --git a/xen/arch/x86/extable.c b/xen/arch/x86/extable.c
index 72f30d9..a67d6c1 100644
--- a/xen/arch/x86/extable.c
+++ b/xen/arch/x86/extable.c
@@ -168,7 +168,6 @@ static int __init stub_selftest(void)
                        _ASM_EXTABLE(.Lret%=, .Lfix%=)
                        : [exn] "+m" (res)
                        : [stb] "r" (addr), "a" (tests[i].rax));
-        ASSERT(res == tests[i].res.raw);
     }
 
     return 0;


Any suggestions?

Cheers,

Stefano

---

(XEN) traps.c:1550: GPF (0000): ffff82d0bffff041 [ffff82d0bffff041] -> 
ffff82d0803654b2
(XEN) traps.c:1550: GPF (0000): ffff82d0bffff040 [ffff82d0bffff040] -> 
ffff82d0803654b2
(XEN) Assertion 'res == tests[i].res.raw' failed at extable.c:171
(XEN) ----[ Xen-4.11-unstable  x86_64  debug=y   Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82d0803fb175>] extable.c#stub_selftest+0xc8/0xee
(XEN) RFLAGS: 0000000000000287   CONTEXT: hypervisor
(XEN) rax: 00000000000d0000   rbx: cccccccccccccccc   rcx: 0000000000000040
(XEN) rdx: ffff830000000000   rsi: 00000007c7ffffff   rdi: ffff83013de1b040
(XEN) rbp: ffff82d08046fda8   rsp: ffff82d08046fd58   r8:  ffff83013de24000
(XEN) r9:  00000000000000f3   r10: 0000000000000004   r11: 0000000000000002
(XEN) r12: ffff82d0804148b0   r13: ffff82d0805a8028   r14: ffff82d0bffff040
(XEN) r15: ffff82d08046ffff   cr0: 000000008005003b   cr4: 00000000000006e0
(XEN) cr3: 00000000bd660000   cr2: 0000000000000000
(XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: e008
(XEN) Xen code around <ffff82d0803fb175> (extable.c#stub_selftest+0xc8/0xee):
(XEN)  c8 49 39 44 24 10 74 02 <0f> 0b 49 83 c4 18 48 8d 05 5e 97 01 00 49 39 c4
(XEN) Xen stack trace from rsp=ffff82d08046fd58:
(XEN)    ffff82d0805a7428 0000000000000040 ffff82d08046fd88 00000000000d0000
(XEN)    ffff82d08046fd98 ffff82d08041ae38 ffff82d08041af98 0000000000000002
(XEN)    ffff82d080452820 0000000000000001 ffff82d08046fdc8 ffff82d0803e01e0
(XEN)    0000000000000002 ffff83013de35fe0 ffff82d08046fef8 ffff82d080404537
(XEN)    0000000000000000 00000000003a8180 0000000000000167 00000000000001ff
(XEN)    0000000000000002 0000000000000002 0000000000000002 0000000000000001
(XEN)    0000000000000001 0000000000000001 0000000000000001 0000000000000000
(XEN)    00000000000001db 00000000000001eb ffff82d080440d68 0000001500000000
(XEN)    000000000192b000 0000000000140000 000000013de48000 0000000000000000
(XEN)    ffff83000009ef70 0000000000000001 ffff83000009efa0 ffff83000009efb0
(XEN)    0000000000000000 0000000000000000 0000000800000000 000000010000006e
(XEN)    0000000000000003 00000000000002f8 0000000000000000 0000000000000000
(XEN)    0000000000000048 0000000000000000 0000000000000000 00000000bd5d922e
(XEN)    00000000bbf24fe0 ffff82d0802000f3 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN) Xen call trace:
(XEN)    [<ffff82d0803fb175>] extable.c#stub_selftest+0xc8/0xee
(XEN)    [<ffff82d0803e01e0>] do_initcalls+0x22/0x31
(XEN)    [<ffff82d080404537>] __start_xen+0x20a0/0x24ee
(XEN)    [<ffff82d0802000f3>] __high_start+0x53/0x60

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.