FreeBSD 8.2 PR PANIC PVM on Citrix XenServer

Tobiasz Tworek tobiasztworek at gmail.com
Sat Dec 18 13:56:58 UTC 2010


Hellow,

I have build XEN kernel from RELANG_8 on Citrix XenServer 5.6 and got 
panic after reboot :-(
My screen output:

**********************************************************************************

WARNING: loader(8) metadata is missing!
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-PRERELEASE #0: Sat Dec 18 11:56:45 CET 2010
     root at freebsd82:/usr/obj/usr/src/sys/XEN i386
WARNING: WITNESS option enabled, expect reduced performance.
Xen reported: 3013.706 MHz processor.
Timecounter "ixen" frequency 1000000000 Hz quality 0
CPU: AMD Athlon(tm) II X4 640 Processor (3013.71-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x100f53  Family = 10  Model = 5  
Stepping = 3
   
Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x802009<SSE3,MON,CX16,POPCNT>
   AMD 
Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
   AMD 
Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
   TSC: P-state invariant
Data TLB: 48 entries, fully associative
Instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way 
associative
L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 536870912 (512 MB)
Physical memory chunk(s):
0x000000000076d000 - 0x000000001f638fff, 518832128 bytes (126668 pages)
avail memory = 515936256 (492 MB)
APIC: Using the MPTable enumerator.
SMP: Added CPU 0 (BSP)
ULE: setup cpu 0
[XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0)
[XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1)
Event-channel device installed.
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
mem: <memory>
Pentium Pro MTRR support enabled
nfslock: pseudo-device
io: <I/O>
xs_probe: Probe retuns 0
xenstore0: <XenStore> on motherboard
Grant table initialized
[XEN] xen_rtc_probe: probing Hypervisor RTC clock
rtc0: <Xen Hypervisor Clock> on motherboard
[XEN] xen_rtc_attach: attaching Hypervisor RTC clock
rtc0: registered as a time-of-day clock (resolution 1000000us)
xc0: <Xen Console> on motherboard
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
kernel trap 9 with interrupts disabled


Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer= 0x21:0xc0320f11
stack pointer        = 0x29:0xc21ffc8c
frame pointer        = 0x29:0xc21ffc94
code segment= base 0x0, limit 0xfffff, type 0x1b
= DPL 1, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process= 11 (idle: cpu0)
[thread pid 11 tid 100003 ]
Stopped at      spinlock_exit+0xe1:     hlt
db>

db> show alllocks
Process 0 (kernel) thread 0xc03d33f0 (100000)
exclusive sx xenstore request (xenstore request) r = 0 (0xc05509b8) 
locked @ /usr/src/sys/xen/xenstore/xenstore.c:870
shared sx xenstore suspend (xenstore suspend) r = 0 (0xc0550a1c) locked 
@ /usr/src/sys/xen/xenstore/xenstore.c:1587


*********************************************************************************************

Any sugestions ?? What i have done wrong or what can i do to run freebsd 
in xenserver in pvm mode ?

I am using this guide 
(http://forums.citrix.com/thread.jspa?threadID=257379&start=15&tstart=0) 
to change hvm to pvm mode...

Tobiasz Tworek

FreeBSD User from Poland


More information about the freebsd-xen mailing list