NetBSD-Bugs archive

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

port-xen/41401: pthreaded apps crash i386/xen kernel

>Number:         41401
>Category:       port-xen
>Synopsis:       pthreaded apps crash i386/xen kernel
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 10 14:20:01 +0000 2009
>Originator:     Jonathan A. Kollasch
>Release:        NetBSD 5.99.11 20090509
Architecture: i386
Machine: i386

x86_set_sdbase() tries to directly write to the GDT, which isn't directly 
accesible in the xen case.

dhcpcd - - - xennet0: leased for 86400 seconds
uvm_fault(0xc03e21c0, 0xc4a57000, 2) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 3 eip c02aee73 cs 9 eflags 10282 cr2 c4a570b0 ilevel 0
kernel: supervisor trap page fault, code=0
Stopped in pid 348.1 (dig) at   netbsd:x86_set_sdbase+0xb7:     movl    
db> bt
 at netbsd:x86_set_sdbase+0xb7
 at netbsd:cpu_lwp_setprivate+0x15
 at netbsd:sys__lwp_setprivate+0x1c
syscall(c591dd48,1f,1f,1f,1f,1c,bfa00000,bfbfeb90,bba5b24c,0) at 

the failing line is sys/arch/x86/x86/sys_machdep.c:1.18:628.

boot a i386 XEN3 kernel, run dig, or try to build perl

maybe not try to modify the gdt on xen?

Home | Main Index | Thread Index | Old Index