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

Re: [Xen-devel] Building PVH mini-os with libc support

On 28/12/17 18:33, Bruno Alvisio wrote:
(d360) Bootstrapping...

(XEN) Dom360 callback via changed to Direct Vector 0x20

(d360) Xen Minimal OS (hvm)!

(XEN) d360v0 Triple fault - invoking HVM shutdown action 1

(XEN) *** Dumping Dom360 vcpu#0 state: ***

(XEN) ----[ Xen-4.10.0-rc  x86_64  debug=y   Not tainted ]----

(XEN) CPU:    7

(XEN) RIP:    0008:[<0000000000056fc8>]

(XEN) RFLAGS: 0000000000010006   CONTEXT: hvm guest (d360v0)

(XEN) rax: 00000000000bfe75   rbx: 00000000000bfe75   rcx: 0000000000000000

(XEN) rdx: 0000000000000017   rsi: 00000000000bfe60   rdi: 0000000000000000

(XEN) rbp: 00000000000bfec0   rsp: 00000000000bfe60   r8:  0000000000000000

(XEN) r9:  0000000000089982   r10: 0000000000000016   r11: 0000000000000000

(XEN) r12: 0000000000000017   r13: 0000000000000016   r14: 0000000000000000

(XEN) r15: 0d8b4c1575ff8548   cr0: 0000000080000011   cr4: 0000000000000220

(XEN) cr3: 0000000000099000   cr2: 0000000000000000

(XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000

(XEN) ds: 0033   es: 0033   fs: 0033   gs: 0033   ss: 0000   cs: 0008



Any help on this would be greatly appreciated.

You will need to disassemble your minios kernel and see which instruction is at 0x56fc8.  (Chances are, it will be `jmp %r15`).

The content of %r15 looks like x86 opcode, which is reminiscent of the XTF relocatability bugs.  Make doubly sure you are compiling with -fno-pic and link with -no-pie.

Xen-devel mailing list



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