Subject: NetBSD, XEN2_DOMU, USER_LDT, Wine, Panic
To: None <port-xen@NetBSD.org>
From: Kernel Panic <cinap_lenrek@gmx.de>
List: port-xen
Date: 04/05/2007 16:02:41
Hello,
Try to get WINE from pkgsrc running in a XEN2/NetBSD DOMU.
I have no real understanding how XEN internally works.
Maybe its tecnical impossible what WINE is trying todo here under XEN :-/.
Enabling the following option...:
options USER_LDT # user-settable LDT; used by WINE
...causes the NetBSD DOMU to panic:
panic: gdt_get_slot botch 1
Stopped in pid 562.1 (wine) at netbsd:cpu_Debugger+0x4: popl %ebp
cpu_Debugger(c03fd737,cb6b7e98,0,1,232) at netbsd:cpu_Debugger+0x4
panic(c03fd5d3,2,0,801727,2000) at netbsd:panic+0x135
gdt_get_slot1(1,0,cb6b7f1c,c038bd6d,ca8697b8) at netbsd:gdt_get_slot1+0xe4
ldt_alloc(ca8697b8,cb560000,2000,89d9,1) at netbsd:ldt_alloc+0x18
i386_set_ldt(cb5a0298,bfbfe250,cb6b7f5c,1,cb5a0298) at
netbsd:i386_set_ldt+0x24d
sys_sysarch(cb5a0298,cb6b7f64,cb6b7f5c,cb53c804,3) at
netbsd:sys_sysarch+0x5d
syscall_plain() at netbsd:syscall_plain+0x19b
--- syscall (number 165) ---
0xbda23f03:
ds 0x11
es 0x11
fs 0x31
gs 0x11
edi 0xc03fd5d3 copyright+0x10d13
esi 0x100
ebp 0xcb6b7e5c
ebx 0xcb6b7e98
edx 0
ecx 0xfffffffe
eax 0x1
eip 0xc037baf4 cpu_Debugger+0x4
cs 0x9
eflags 0x202
esp 0xcb6b7e5c
ss 0x11
netbsd:cpu_Debugger+0x4: popl %ebp
Stopped in pid 562.1 (wine) at netbsd:cpu_Debugger+0x4: popl %ebp
Here seems to be a good reason this option was commented out right? ;-)
Can someone explain this to me?