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

[Xen-users] BUG Xen-4.6-1-pre kernel 4.3.0 PV domU with more than 460GB Memory (512GB System memory) crash with Unhandled invalid opcode fault/trap [#6, ec=0000]



Hello,

I have problems to create ( xl create ... ) a PV domU with more than 460GB on a 512GB System. The domU crash with Unhandled invalid opcode fault/trap [#6, ec=0000] verry early while creating page-tables My own analyse shows that the crash happens in the first call of check_pt_base(...). (see hypervisor.log output from modified kernel)
The earlier handled page tables (calls to set_page_prot_flags) are working.

I tried it with different kernel 4.1.8 (12) 4.3.0 and different hypervisors 4.4 (ubuntu 14.04 LTS package) and 4.6.1-pre (git self compiled). The kernels are self compiled (git kernel source linux-stable/... ) and extended with aufs support (aufs4.x-rcN 20151102 for the 4.3.0 kernel) .

Starting of domUs with reduced memory (> xl create ... memory="$((450*1024))") on startup
and later resizing (> xl mem-set ... "$((489*1024))") to 489GB works.

At this point I have no idear, because I am not familar with the kernel and hypervisor (page table) memory management.

I hop the information helps.

If you nee further information please let me know.

Thanks and best wishes

Andreas



> xl info:

xl info
host                   : s876d0cn09
release                : 4.3.0-xenaufs4xrcn.sfb876-02+
version                : #1 SMP Mon Nov 9 06:33:44 CET 2015
machine                : x86_64
nr_cpus                : 48
max_cpu_id             : 239
nr_nodes               : 2
cores_per_socket       : 12
threads_per_core       : 2
cpu_mhz                : 2693
hw_caps : bfebfbff:2c100800:00000000:00007f00:77bee3ff:00000000:00000001:00000281
virt_caps              : hvm hvm_directio
total_memory           : 524209
free_memory            : 8543
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 6
xen_extra              : .1-pre
xen_version            : 4.6.1-pre
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Thu Oct 29 15:22:50 2015 +0000 git:40d7a74-dirty
xen_commandline : placeholder bootscrub=0 dom0_mem=max:16G,min:4G,8G conring_size=65536 console_to_ring com1=115200,8n1 vga=text-80x50,keep console=com1,vga loglvl=all guest_loglvl=all dom0_max_vcpus=8 dom0_vcpus_pin cpufreq=xen,performance,verbose cpuidle
cc_compiler            : gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
cc_compile_by          : root
cc_compile_domain      : cs.tu-dortmund.de
cc_compile_date        : Thu Nov  5 22:03:52 CET 2015
xend_config_format     : 4




domU config:

maxmem          = '508928'
memory          = '500736'




hypervisor.log:

2015-11-09 07:20:09] (d2) mapping kernel into physical memory
[2015-11-09 07:20:09] (XEN) d2v0 Unhandled invalid opcode fault/trap [#6, ec=0000] [2015-11-09 07:20:09] (XEN) domain_crash_sync called from entry.S: fault at ffff82d08023b0a9 create_bounce_frame+0x139/0x148
[2015-11-09 07:20:09] (XEN) Domain 2 (vcpu#0) crashed on cpu#47:
[2015-11-09 07:20:09] (XEN) ----[ Xen-4.6.1-pre x86_64 debug=y Not tainted ]----
[2015-11-09 07:20:09] (XEN) CPU:    47
[2015-11-09 07:20:09] (XEN) RIP:    e033:[<ffffffff81dce2c4>]
[2015-11-09 07:20:09] (XEN) RFLAGS: 0000000000000282 EM: 1 CONTEXT: pv guest (d2v0) [2015-11-09 07:20:09] (XEN) rax: ffffffffffffffea rbx: ffffffffc2a9a000 rcx: 000077ff80000000 [2015-11-09 07:20:09] (XEN) rdx: 00000000deadbeef rsi: 00000000deadbeef rdi: 00000000deadbeef [2015-11-09 07:20:09] (XEN) rbp: ffffffff81c03ee0 rsp: ffffffff81c03e98 r8: 0000000080000000 [2015-11-09 07:20:09] (XEN) r9: 000000426d09a067 r10: 00000000deadbeef r11: 000000426d09c067 [2015-11-09 07:20:09] (XEN) r12: 0000000000000002 r13: 0000000042a9a000 r14: 0000000000042cb6 [2015-11-09 07:20:09] (XEN) r15: 0000000000042a9b cr0: 000000008005003b cr4: 00000000001526e0
[2015-11-09 07:20:09] (XEN) cr3: 000000803e010000   cr2: 0000000000000000
[2015-11-09 07:20:09] (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e02b cs: e033
[2015-11-09 07:20:09] (XEN) Guest stack trace from rsp=ffffffff81c03e98:
[2015-11-09 07:20:09] (XEN) 000077ff80000000 000000426d09c067 ffffffff81dce2c4 000000010000e030 [2015-11-09 07:20:09] (XEN) 0000000000010082 ffffffff81c03ed0 000000000000e02b ffffffffc2a9a000 [2015-11-09 07:20:09] (XEN) 0000000000000000 ffffffff81c03f40 ffffffff81dcee30 000077ff80000000 [2015-11-09 07:20:09] (XEN) 0000000080000000 ffffffffc2a9a000 ffffffffc2a9b000 ffffffffc2a9c000 [2015-11-09 07:20:09] (XEN) ffffffff81c03f60 00000000ffffffff 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 ffffffff81c03ff8 ffffffff81dccb00 000306e400000000 [2015-11-09 07:20:09] (XEN) ff98220306200800 000000001f898b75 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 00010102464c457f 0000000000000000 00000001003e0003 [2015-11-09 07:20:09] (XEN) 0000000000000900 0000000000000040 0000000000001158 0038004000000000 [2015-11-09 07:20:09] (XEN) 0010001100400004 0000000500000001 0000000000000000 0000000000000000 [2015-11-09 07:20:09] (XEN) 0000000000000000 0000000000001089 0000000000001089 0000000000001000 [2015-11-09 07:20:09] (XEN) 0000000400000002 0000000000000360 0000000000000360 0000000000000360 [2015-11-09 07:20:09] (XEN) 0000000000000110 0000000000000110 0000000000000008 0000000400000004 [2015-11-09 07:20:09] (XEN) 00000000000007b0 00000000000007b0 00000000000007b0 000000000000003c [2015-11-09 07:20:09] (XEN) 000000000000003c 0000000000000004 000000046474e550 00000000000007ec [2015-11-09 07:20:09] (XEN) 00000000000007ec 00000000000007ec 000000000000002c 000000000000002c

root@s876d0cn09:/var/log/xen# /usr/local/lib/xen/bin/xenctx -S -s System.map-4.3.0-xenaufs4xrcn.sfb876-02+ 2 cpu#47
rip: ffffffff81dce2c4 set_page_prot_flags+0x4e
flags: 00000282 i s nz
rsp: ffffffff81c03e98
rax: ffffffffffffffea   rcx: 000077ff80000000   rdx: 00000000deadbeef
rbx: ffffffffc2a9a000   rsi: 00000000deadbeef   rdi: 00000000deadbeef
rbp: ffffffff81c03ee0    r8: 0000000080000000    r9: 000000426d09a067
r10: 00000000deadbeef   r11: 000000426d09c067   r12: 0000000000000002
r13: 0000000042a9a000   r14: 0000000000042cb6   r15: 0000000000042a9b
 cs: e033        ss: e02b        ds: 0000        es: 0000
 fs: 0000 @ 0000000000000000
 gs: 0000 @ ffffffff81db1000/0000000000000000 __init_begin/
Code (instr addr ffffffff81dce2c4)
00 75 14 48 89 df 48 89 c6 4c 89 e2 e8 00 2f 23 ff 85 c0 74 02 <0f> 0b 5b 41 5c 5d c3 55 48 8b 05


Stack:
 000077ff80000000 000000426d09c067 ffffffff81dce2c4 000000010000e030
 0000000000010082 ffffffff81c03ed0 000000000000e02b ffffffffc2a9a000
 0000000000000000 ffffffff81c03f40 ffffffff81dcee30 000077ff80000000
 0000000080000000 ffffffffc2a9a000 ffffffffc2a9b000 ffffffffc2a9c000
 ffffffff81c03f60 00000000ffffffff 0000000000000000 0000000000000000

Stack Trace:
                  * [<ffffffff81dce2c4>] set_page_prot_flags+0x4e <--
ffffffff81c03e98:     000077ff80000000
ffffffff81c03ea0:     000000426d09c067
ffffffff81c03ea8:   [<ffffffff81dce2c4>] set_page_prot_flags+0x4e
ffffffff81c03eb0:     000000010000e030
ffffffff81c03eb8:     0000000000010082
ffffffff81c03ec0:     ffffffff81c03ed0
ffffffff81c03ec8:     000000000000e02b
ffffffff81c03ed0:     ffffffffc2a9a000
ffffffff81c03ed8:     0000000000000000
ffffffff81c03ee0:     ffffffff81c03f40
ffffffff81c03ee8:   [<ffffffff81dcee30>] xen_setup_kernel_pagetable+0x300
ffffffff81c03ef0:     000077ff80000000
ffffffff81c03ef8:     0000000080000000
ffffffff81c03f00:     ffffffffc2a9a000
ffffffff81c03f08:     ffffffffc2a9b000
ffffffff81c03f10:     ffffffffc2a9c000
ffffffff81c03f18:     ffffffff81c03f60
ffffffff81c03f20:     00000000ffffffff
ffffffff81c03f28:     0000000000000000
ffffffff81c03f30:     0000000000000000
ffffffff81c03f38:     0000000000000000
ffffffff81c03f40:     ffffffff81c03ff8
ffffffff81c03f48:   [<ffffffff81dccb00>] xen_start_kernel+0x2d2
ffffffff81c03f50:     000306e400000000
ffffffff81c03f58:     ff98220306200800
ffffffff81c03f60:     000000001f898b75
ffffffff81c03f68:     0000000000000000
ffffffff81c03f70:     0000000000000000
ffffffff81c03f78:     0000000000000000
ffffffff81c03f80:     0000000000000000
ffffffff81c03f88:     0000000000000000
ffffffff81c03f90:     0000000000000000
ffffffff81c03f98:     0000000000000000
ffffffff81c03fa0:     0000000000000000
ffffffff81c03fa8:     0000000000000000
ffffffff81c03fb0:     0000000000000000
ffffffff81c03fb8:     0000000000000000
ffffffff81c03fc0:     0000000000000000
ffffffff81c03fc8:     0000000000000000
ffffffff81c03fd0:     0000000000000000
ffffffff81c03fd8:     0000000000000000
ffffffff81c03fe0:     0000000000000000
ffffffff81c03fe8:     0000000000000000
ffffffff81c03ff0:     0000000000000000
ffffffff81c03ff8:     0000000000000000

To find a solution my self I modified
.../xen/enlighten.c .../xen/mmu.c and .../xen/setup.c

adding some xen_raw_printk

replacing HYPERVISOR_update_va_mapping in mmu.c by HYPERVISOR_update_va_mapping_ag HYPERVISOR_update_va_mapping_ag is copy from the header file extended with some xen_raw_printk calls

If I use the modified kernel I have the same Problem but with the following messages in hypervisor.log

> xl create .... "on_crash='preserve' memory="$((450*1024))" # works including later resizing the domU to 489GB

[2015-11-09 07:58:15] (d5) mapping kernel into physical memory
[2015-11-09 07:58:15] (d5) AG: xen_start_info->nr_pages: 117964800
[2015-11-09 07:58:15] (d5) AG: xen_setup_kernel_pagetable(*pgd: 0xffffffffbdc9a000, max_pfn 117964800) [2015-11-09 07:58:15] (d5) AG: xen_setup_kernel_pagetable pt_base: 0x3dc9a, pt_end: 0x3de8d [2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c10000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c10000, pfn: 0x1c10, prot: 0x8000000000000161, pfn_pte: 0x803d810061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c10000, new_val.pte 0x803d810061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c10000, new_val.pte 0x803d810061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c11000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c11000, pfn: 0x1c11, prot: 0x8000000000000161, pfn_pte: 0x803d811061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c11000, new_val.pte 0x803d811061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c11000, new_val.pte 0x803d811061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c13000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c13000, pfn: 0x1c13, prot: 0x8000000000000161, pfn_pte: 0x803d813061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c13000, new_val.pte 0x803d813061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c13000, new_val.pte 0x803d813061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81f6f000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81f6f000, pfn: 0x1f6f, prot: 0x8000000000000161, pfn_pte: 0x210736f061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81f6f000, new_val.pte 0x210736f061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81f6f000, new_val.pte 0x210736f061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c12000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c12000, pfn: 0x1c12, prot: 0x8000000000000161, pfn_pte: 0x803d812061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c12000, new_val.pte 0x803d812061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c12000, new_val.pte 0x803d812061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c14000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c14000, pfn: 0x1c14, prot: 0x8000000000000161, pfn_pte: 0x803d814061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c14000, new_val.pte 0x803d814061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c14000, new_val.pte 0x803d814061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c15000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c15000, pfn: 0x1c15, prot: 0x8000000000000161, pfn_pte: 0x803d815061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c15000, new_val.pte 0x803d815061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c15000, new_val.pte 0x803d815061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c16000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c16000, pfn: 0x1c16, prot: 0x8000000000000161, pfn_pte: 0x803d816061, flag
[2015-11-09 07:58:15] (d5) s: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c16000, new_val.pte 0x803d816061, flags: 0x0 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c16000, new_val.pte 0x803d816061, flags: 0x0
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: xen_setup_kernel_pagetable: ARRAY_SIZE(addr): 3, addr: 0xffffffff81c03f00 [2015-11-09 07:58:15] (d5) AG mmu.c: xen_setup_kernel_pagetable: i: 0 &pt_base: 0xffffffff81c03ef0, &pt_end: 0xffffffff81c03ef8, addr[i]: 0xffffffffbdc9a0
[2015-11-09 07:58:15] (d5) 00
[2015-11-09 07:58:15] (d5) AG: mmu.c: 1. check_pt_base:
[2015-11-09 07:58:15] (d5) AG mmu.c: 2. check_pt_base: *pt_base: 0x3dc9a, PFN_DOWN(__pa(addr)): 0x3dc9a, addr: 0xffffffffbdc9a000 [2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffffbdc9a000, prot: 0x8000000000000163, flags: 0x2 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffffbdc9a000, pfn: 0x3dc9a, prot: 0x8000000000000163, pfn_pte: 0x796f89a063, fla
[2015-11-09 07:58:15] (d5) gs: 0x2
[2015-11-09 07:58:15] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffffbdc9a000, new_val.pte 0x796f89a063, flags: 0x2 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffffbdc9a000, new_val.pte 0x796f89a063, flags: 0x2
[2015-11-09 07:58:15] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:15] (d5) AG: mmu.c: 4. check_pt_base:
[2015-11-09 07:58:15] (d5) AG mmu.c: xen_setup_kernel_pagetable: i: 1 &pt_base: 0xffffffff81c03ef0, &pt_end: 0xffffffff81c03ef8, addr[i]: 0xffffffffbdc9b0
[2015-11-09 07:58:15] (d5) 00
[2015-11-09 07:58:15] (d5) AG: mmu.c: 1. check_pt_base:
[2015-11-09 07:58:15] (d5) AG mmu.c: 2. check_pt_base: *pt_base: 0x3dc9b, PFN_DOWN(__pa(addr)): 0x3dc9b, addr: 0xffffffffbdc9b000 [2015-11-09 07:58:15] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffffbdc9b000, prot: 0x8000000000000163, flags: 0x2 [2015-11-09 07:58:15] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffffbdc9b000, pfn: 0x3dc9b, prot: 0x8000000000000163, pfn_pte: 0x796f89b063, fla
[2015-11-09 07:58:16] (d5) gs: 0x2
[2015-11-09 07:58:16] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:16] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffffbdc9b000, new_val.pte 0x796f89b063, flags: 0x2 [2015-11-09 07:58:16] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffffbdc9b000, new_val.pte 0x796f89b063, flags: 0x2
[2015-11-09 07:58:16] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:16] (d5) AG: mmu.c: 4. check_pt_base:
[2015-11-09 07:58:16] (d5) AG mmu.c: xen_setup_kernel_pagetable: i: 2 &pt_base: 0xffffffff81c03ef0, &pt_end: 0xffffffff81c03ef8, addr[i]: 0xffffffffbdc9c0
[2015-11-09 07:58:16] (d5) 00
[2015-11-09 07:58:16] (d5) AG: mmu.c: 1. check_pt_base:
[2015-11-09 07:58:16] (d5) AG mmu.c: 2. check_pt_base: *pt_base: 0x3dc9c, PFN_DOWN(__pa(addr)): 0x3dc9c, addr: 0xffffffffbdc9c000 [2015-11-09 07:58:16] (d5) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffffbdc9c000, prot: 0x8000000000000163, flags: 0x2 [2015-11-09 07:58:16] (d5) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffffbdc9c000, pfn: 0x3dc9c, prot: 0x8000000000000163, pfn_pte: 0x796f89c063, fla
[2015-11-09 07:58:16] (d5) gs: 0x2
[2015-11-09 07:58:16] (d5) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 07:58:16] (d5) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffffbdc9c000, new_val.pte 0x796f89c063, flags: 0x2 [2015-11-09 07:58:16] (d5) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffffbdc9c000, new_val.pte 0x796f89c063, flags: 0x2
[2015-11-09 07:58:16] (d5) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 07:58:16] (d5) AG: mmu.c: 4. check_pt_base:
[2015-11-09 07:58:16] (d5) AG:   8. xen_setup_kernel_pagetable
[2015-11-09 07:58:16] (d5) AG:   9. xen_setup_kernel_pagetable
[2015-11-09 07:58:16] (d5) AG:  10. xen_setup_kernel_pagetable
[2015-11-09 07:58:16] (d5) about to get started...


> xl create .... "on_crash='preserve' # failed to start domU

[2015-11-09 08:11:32] (d6) mapping kernel into physical memory
[2015-11-09 08:11:32] (d6) AG: xen_start_info->nr_pages: 128188416
[2015-11-09 08:11:32] (d6) AG: xen_setup_kernel_pagetable(*pgd: 0xffffffffc2a9a000, max_pfn 128188416) [2015-11-09 08:11:32] (d6) AG: xen_setup_kernel_pagetable pt_base: 0x42a9a, pt_end: 0x42cb6 [2015-11-09 08:11:32] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c10000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c10000, pfn: 0x1c10, prot: 0x8000000000000161, pfn_pte: 0x803e010061, flag
[2015-11-09 08:11:32] (d6) s: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c10000, new_val.pte 0x803e010061, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c10000, new_val.pte 0x803e010061, flags: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c11000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c11000, pfn: 0x1c11, prot: 0x8000000000000161, pfn_pte: 0x803e011061, flag
[2015-11-09 08:11:32] (d6) s: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c11000, new_val.pte 0x803e011061, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c11000, new_val.pte 0x803e011061, flags: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c13000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c13000, pfn: 0x1c13, prot: 0x8000000000000161, pfn_pte: 0x803e013061, flag
[2015-11-09 08:11:32] (d6) s: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c13000, new_val.pte 0x803e013061, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c13000, new_val.pte 0x803e013061, flags: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81f6f000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81f6f000, pfn: 0x1f6f, prot: 0x8000000000000161, pfn_pte: 0x210736f061, flag
[2015-11-09 08:11:32] (d6) s: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81f6f000, new_val.pte 0x210736f061, flags: 0x0 [2015-11-09 08:11:32] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81f6f000, new_val.pte 0x210736f061, flags: 0x0
[2015-11-09 08:11:32] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:32] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c12000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c12000, pfn: 0x1c12, prot: 0x8000000000000161, pfn_pte: 0x803e012061, flag
[2015-11-09 08:11:33] (d6) s: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c12000, new_val.pte 0x803e012061, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c12000, new_val.pte 0x803e012061, flags: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c14000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c14000, pfn: 0x1c14, prot: 0x8000000000000161, pfn_pte: 0x803e014061, flag
[2015-11-09 08:11:33] (d6) s: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c14000, new_val.pte 0x803e014061, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c14000, new_val.pte 0x803e014061, flags: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c15000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c15000, pfn: 0x1c15, prot: 0x8000000000000161, pfn_pte: 0x803e015061, flag
[2015-11-09 08:11:33] (d6) s: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c15000, new_val.pte 0x803e015061, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c15000, new_val.pte 0x803e015061, flags: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffff81c16000, prot: 0x8000000000000161, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffff81c16000, pfn: 0x1c16, prot: 0x8000000000000161, pfn_pte: 0x803e016061, flag
[2015-11-09 08:11:33] (d6) s: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffff81c16000, new_val.pte 0x803e016061, flags: 0x0 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffff81c16000, new_val.pte 0x803e016061, flags: 0x0
[2015-11-09 08:11:33] (d6) AG mmu.c: 4. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: xen_setup_kernel_pagetable: ARRAY_SIZE(addr): 3, addr: 0xffffffff81c03f00 [2015-11-09 08:11:33] (d6) AG mmu.c: xen_setup_kernel_pagetable: i: 0 &pt_base: 0xffffffff81c03ef0, &pt_end: 0xffffffff81c03ef8, addr[i]: 0xffffffffc2a9a0
[2015-11-09 08:11:33] (d6) 00
[2015-11-09 08:11:33] (d6) AG: mmu.c: 1. check_pt_base:
[2015-11-09 08:11:33] (d6) AG mmu.c: 2. check_pt_base: *pt_base: 0x42a9a, PFN_DOWN(__pa(addr)): 0x42a9a, addr: 0xffffffffc2a9a000 [2015-11-09 08:11:33] (d6) AG mmu.c: 1. set_page_prot_flags: addr: 0xffffffffc2a9a000, prot: 0x8000000000000163, flags: 0x2 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. set_page_prot_flags: addr: 0xffffffffc2a9a000, pfn: 0x42a9a, prot: 0x8000000000000163, pfn_pte: 0x24aec9a063, fla
[2015-11-09 08:11:33] (d6) gs: 0x2
[2015-11-09 08:11:33] (d6) AG mmu.c: 3. set_page_prot_flags:
[2015-11-09 08:11:33] (d6) AG mmu.c: 1. HYPERVISOR_update_va_mapping_ag: va: 0xffffffffc2a9a000, new_val.pte 0x24aec9a063, flags: 0x2 [2015-11-09 08:11:33] (d6) AG mmu.c: 2. HYPERVISOR_update_va_mapping_ag _hypercall3: va: 0xffffffffc2a9a000, new_val.pte 0x24aec9a063, flags: 0x2 [2015-11-09 08:11:33] (XEN) d6v0 Unhandled invalid opcode fault/trap [#6, ec=0000] [2015-11-09 08:11:33] (XEN) domain_crash_sync called from entry.S: fault at ffff82d08023b0a9 create_bounce_frame+0x139/0x148
[2015-11-09 08:11:33] (XEN) Domain 6 (vcpu#0) crashed on cpu#47:
[2015-11-09 08:11:33] (XEN) ----[ Xen-4.6.1-pre x86_64 debug=y Not tainted ]----
[2015-11-09 08:11:33] (XEN) CPU:    47
[2015-11-09 08:11:33] (XEN) RIP:    e033:[<ffffffff81dce4a5>]
[2015-11-09 08:11:33] (XEN) RFLAGS: 0000000000000282 EM: 1 CONTEXT: pv guest (d6v0) [2015-11-09 08:11:33] (XEN) rax: ffffffffffffffea rbx: ffffffffc2a9a000 rcx: 0000000000000078 [2015-11-09 08:11:33] (XEN) rdx: 00000000deadbeef rsi: 00000000deadbeef rdi: 00000000deadbeef [2015-11-09 08:11:33] (XEN) rbp: ffffffff81c03ee0 rsp: ffffffff81c03e78 r8: 0000000000000010 [2015-11-09 08:11:33] (XEN) r9: 000000000000fffe r10: 0000000000000000 r11: 000000000000000f [2015-11-09 08:11:33] (XEN) r12: 0000000000042a9a r13: 8000000000000163 r14: 0000000000000002 [2015-11-09 08:11:33] (XEN) r15: 00000024aec9a063 cr0: 000000008005003b cr4: 00000000001526e0
[2015-11-09 08:11:33] (XEN) cr3: 000000803e010000   cr2: 0000000000000000
[2015-11-09 08:11:33] (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e02b cs: e033
[2015-11-09 08:11:33] (XEN) Guest stack trace from rsp=ffffffff81c03e78:
[2015-11-09 08:11:33] (XEN) 0000000000000078 000000000000000f ffffffff81dce4a5 000000010000e030 [2015-11-09 08:11:33] (XEN) 0000000000010082 ffffffff81c03eb8 000000000000e02b ffffffff81dce4a1 [2015-11-09 08:11:33] (XEN) 0000000000000000 ffffffffc2a9a000 0000000042a9a000 000077ff80000000 [2015-11-09 08:11:33] (XEN) 0000000080000000 ffffffff81c03f40 ffffffff81dcefa4 0000000000042a9a [2015-11-09 08:11:33] (XEN) 0000000000042cb6 ffffffffc2a9a000 ffffffffc2a9b000 ffffffffc2a9c000 [2015-11-09 08:11:33] (XEN) ffffffff81c03f60 00000000ffffffff 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 ffffffff81c03ff8 ffffffff81dccb19 000306e400000000 [2015-11-09 08:11:33] (XEN) ff98220306200800 000000001f898b75 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 00010102464c457f 0000000000000000 00000001003e0003 [2015-11-09 08:11:33] (XEN) 0000000000000900 0000000000000040 0000000000001158 0038004000000000 [2015-11-09 08:11:33] (XEN) 0010001100400004 0000000500000001 0000000000000000 0000000000000000 [2015-11-09 08:11:33] (XEN) 0000000000000000 0000000000001089 0000000000001089 0000000000001000 [2015-11-09 08:11:33] (XEN) 0000000400000002 0000000000000360 0000000000000360 0000000000000360 [2015-11-09 08:11:33] (XEN) 0000000000000110 0000000000000110 0000000000000008 0000000400000004 [2015-11-09 08:11:33] (XEN) 00000000000007b0 00000000000007b0 00000000000007b0 000000000000003c [2015-11-09 08:11:33] (XEN) 000000000000003c 0000000000000004 000000046474e550 00000000000007ec

/usr/local/lib/xen/bin/xenctx -S -s System.map-4.3.0-xenaufs4xrcn.sfb876-03+ 6 cpu#47
rip: ffffffff81dce4a5 set_page_prot_flags+0xd1
flags: 00000282 i s nz
rsp: ffffffff81c03e78
rax: ffffffffffffffea   rcx: 0000000000000078   rdx: 00000000deadbeef
rbx: ffffffffc2a9a000   rsi: 00000000deadbeef   rdi: 00000000deadbeef
rbp: ffffffff81c03ee0    r8: 0000000000000010    r9: 000000000000fffe
r10: 0000000000000000   r11: 000000000000000f   r12: 0000000000042a9a
r13: 8000000000000163   r14: 0000000000000002   r15: 00000024aec9a063
 cs: e033        ss: e02b        ds: 0000        es: 0000
 fs: 0000 @ 0000000000000000
 gs: 0000 @ ffffffff81db1000/0000000000000000 __init_begin/
Code (instr addr ffffffff81dce4a5)
1f 6a ff 48 89 df 4c 89 fe 4c 89 f2 e8 1f 2d 23 ff 85 c0 74 02 <0f> 0b 48 c7 c7 b8 1b a7 81 31 c0


Stack:
 0000000000000078 000000000000000f ffffffff81dce4a5 000000010000e030
 0000000000010082 ffffffff81c03eb8 000000000000e02b ffffffff81dce4a1
 0000000000000000 ffffffffc2a9a000 0000000042a9a000 000077ff80000000
 0000000080000000 ffffffff81c03f40 ffffffff81dcefa4 0000000000042a9a
 0000000000042cb6 ffffffffc2a9a000 ffffffffc2a9b000 ffffffffc2a9c000

Stack Trace:
                  * [<ffffffff81dce4a5>] set_page_prot_flags+0xd1 <--
ffffffff81c03e78:     0000000000000078
ffffffff81c03e80:     000000000000000f
ffffffff81c03e88:   [<ffffffff81dce4a5>] set_page_prot_flags+0xd1
ffffffff81c03e90:     000000010000e030
ffffffff81c03e98:     0000000000010082
ffffffff81c03ea0:     ffffffff81c03eb8
ffffffff81c03ea8:     000000000000e02b
ffffffff81c03eb0:   [<ffffffff81dce4a1>] set_page_prot_flags+0xcd
ffffffff81c03eb8:     0000000000000000
ffffffff81c03ec0:     ffffffffc2a9a000
ffffffff81c03ec8:     0000000042a9a000
ffffffff81c03ed0:     000077ff80000000
ffffffff81c03ed8:     0000000080000000
ffffffff81c03ee0:     ffffffff81c03f40
ffffffff81c03ee8:   [<ffffffff81dcefa4>] xen_setup_kernel_pagetable+0x384
ffffffff81c03ef0:     0000000000042a9a
ffffffff81c03ef8:     0000000000042cb6
ffffffff81c03f00:     ffffffffc2a9a000
ffffffff81c03f08:     ffffffffc2a9b000
ffffffff81c03f10:     ffffffffc2a9c000
ffffffff81c03f18:     ffffffff81c03f60
ffffffff81c03f20:     00000000ffffffff
ffffffff81c03f28:     0000000000000000
ffffffff81c03f30:     0000000000000000
ffffffff81c03f38:     0000000000000000
ffffffff81c03f40:     ffffffff81c03ff8
ffffffff81c03f48:   [<ffffffff81dccb19>] xen_start_kernel+0x2eb
ffffffff81c03f50:     000306e400000000
ffffffff81c03f58:     ff98220306200800
ffffffff81c03f60:     000000001f898b75
ffffffff81c03f68:     0000000000000000
ffffffff81c03f70:     0000000000000000
ffffffff81c03f78:     0000000000000000
ffffffff81c03f80:     0000000000000000
ffffffff81c03f88:     0000000000000000
ffffffff81c03f90:     0000000000000000
ffffffff81c03f98:     0000000000000000
ffffffff81c03fa0:     0000000000000000
ffffffff81c03fa8:     0000000000000000
ffffffff81c03fb0:     0000000000000000
ffffffff81c03fb8:     0000000000000000
ffffffff81c03fc0:     0000000000000000
ffffffff81c03fc8:     0000000000000000
ffffffff81c03fd0:     0000000000000000
ffffffff81c03fd8:     0000000000000000
ffffffff81c03fe0:     0000000000000000
ffffffff81c03fe8:     0000000000000000
ffffffff81c03ff0:     0000000000000000
ffffffff81c03ff8:     0000000000000000




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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