Current-Users archive

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

NetBSD fatal page fault in supervisor mode on XEN 4.5 / cpu-pools



Hi,


may be somebody has seen similiar crashes in the past and/or any solution?

This is a NetBSD:

	NetBSD xxxxxxxxxx 6.1.5 NetBSD 6.1.5 (XEN3_DOMU) amd64

running as PV DomU under XEN with a Linux Dom0.

It seems the system is running stable with just one Xen cpu pool.

After dividing the two "stone" machine by xen cpupool-numa-split and assigning 
the DomU to the second resulting cpupool the systems seems to get instable 
after a "while" (hours).

I'm not shure if it is related to the cpupool mechanics - so i brought the xen 
HV back to the "initial" state with the one default cpupool Pool0 and see what 
get happen in the next...


...some thin meat for the coders:

uvm_fault(0xffffffff805f06a0, 0xffffa00162768000, 2) -> 5
fatal page fault in supervisor mode
trap type 6 code 2 rip ffffffff801ef8ad cs e030 rflags 10202 cr2  
ffffa00162768000 cpl 0 rsp ffffa00166827930
kernel: page fault trap, code=0
Stopped in pid 16824.1 (sh) at  netbsd:execve_loadvm+0x1f2:     movb    
%dl,0(%r
12)
execve_loadvm() at netbsd:execve_loadvm+0x1f2
execve1() at netbsd:execve1+0x20
syscall() at netbsd:syscall+0xc4
ds          cda0
es          48c1
fs          0
gs          d150
rdi         ffffa00019597280
rsi         fffffffe
rbp         ffffa001668279e0
rbx         ffffa00016cc7b40
rdx         2f
rcx         ffffffff805dcda0    exec_pool+0x20
rax         ffffa0001b0df4d8
r8          c
r9          0
r10         1
r11         118
r12         ffffa00162768000
r13         ffffa001668279f0
r14         ffffa00019597280
r15         ffffa00014ade038
rip         ffffffff801ef8ad    execve_loadvm+0x1f2
cs          e030
rflags      10202
rsp         ffffa00166827930
ss          e02b
netbsd:execve_loadvm+0x1f2:     movb    %dl,0(%r12)
db{4}> sync

dump to dev 142,1 not possible
rebooting...

Xen Host:
==========
host                   : xen2
release                : 3.19.0-xen-niels
version                : #1 SMP Tue Feb 10 14:47:32 CET 2015
machine                : x86_64
nr_cpus                : 32
max_cpu_id             : 63
nr_nodes               : 2
cores_per_socket       : 8
threads_per_core       : 2
cpu_mhz                : 2893
hw_caps                : 
bfebfbff:xxxxxxx00:00000000:xxxxxx:1xxxxxxx:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 32733
free_memory            : 19393
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 5
xen_extra              : .0
xen_version            : 4.5.0
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=0xffxxxxxxxxxxxxxxxxxx
xen_changeset          :
xen_commandline        : dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all 
dom0_max_vcpus=2 dom0_vcpus_pin
cc_compiler            : x86_64-pc-linux-gnu-gcc (Hardened 4.9.2 p1.0, 
pie-0.6.2)
cc_compile_by          :
cc_compile_domain      : (none)
cc_compile_date        : Tue Feb 10 15:01:54 CET 2015
xend_config_format     : 4


DomU conf:
===========

kernel="./netbsd-XEN3_DOMU"

memory = 8096

name = "netbsd2"

disk = [
        'phy:/dev/vgxen/netbsd-root,xvda,w',
        'phy:/dev/vgxen/netbsd-swap,xvdb,w',
        'phy:/dev/vgxen/netbsd-home,xvdc,w',
        'phy:/dev/vgxen/netbsd-var,xvdd,w'
]


boot='cda'

vif = [ 'mac=00:0D:EE:50:XX:YY, bridge=xenbr0, vifname=netbsd2',
        'mac=00:0D:EE:50:ZZ:XX, bridge=xenint0, vifname=netbsd2int' ]

###pool="Pool-node1"
vcpus=10
cpus = "16-25"



many thanks and best regards,



Niels.

-- 
 ---
 Niels Dettenbach
 Syndicat IT & Internet
 http://www.syndicat.com
 PGP: https://syndicat.com/pub_key.asc
 ---
 

Attachment: signature.asc
Description: This is a digitally signed message part.



Home | Main Index | Thread Index | Old Index