From owner-freebsd-xen@FreeBSD.ORG Sat Dec 18 13:56:58 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E97D1065739 for ; Sat, 18 Dec 2010 13:56:58 +0000 (UTC) (envelope-from tobiasztworek@gmail.com) Received: from mail-bw0-f48.google.com (mail-bw0-f48.google.com [209.85.214.48]) by mx1.freebsd.org (Postfix) with ESMTP id BA3618FC08 for ; Sat, 18 Dec 2010 13:56:57 +0000 (UTC) Received: by bwz8 with SMTP id 8so1471664bwz.7 for ; Sat, 18 Dec 2010 05:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=PxAdQ8cZK3gxxKjzPwTu/qssGRQyeSPS8Wdtuun/1hA=; b=HmnbhCT45ue20HeYFxhU6P5B7Oad32mpIgAP7lA9JItfksW/gIUBIVt6Sn6/vdRU+C PXwvgj08zb8Q/CZDnv6I0rVbl2QHNVy4Ao+lZLfKu9brRM+SlkMsa0xvBhwVAc5vbhAj nTlu3sPXpjZtAPDPfHEX0MRPmgXZXErpog+dk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=lkIca+WwHrow0aw4KnqhJCL44i+uoqmvzkLgIuqTH5kGa9VHSF3TLFFyePRbicw1r+ 7yDeqkd7Addii7zFAs2Xql1785dMBTz9OHsX2rBBOjwlNuXFjH6HJtge1L0lueKW9NL0 o6gfmfnAzb3B8g/uxxJQAlk/tmkTK4Pt6ybs8= Received: by 10.204.24.65 with SMTP id u1mr1761020bkb.5.1292678907505; Sat, 18 Dec 2010 05:28:27 -0800 (PST) Received: from [10.1.1.4] (87-205-82-59.adsl.inetia.pl [87.205.82.59]) by mx.google.com with ESMTPS id d27sm2431265bkw.2.2010.12.18.05.28.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Dec 2010 05:28:26 -0800 (PST) Message-ID: <4D0CB6FA.1010307@gmail.com> Date: Sat, 18 Dec 2010 14:28:26 +0100 From: Tobiasz Tworek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 8.2 PR PANIC PVM on Citrix XenServer X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2010 13:56:58 -0000 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@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 Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff 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: random: mem: Pentium Pro MTRR support enabled nfslock: pseudo-device io: xs_probe: Probe retuns 0 xenstore0: on motherboard Grant table initialized [XEN] xen_rtc_probe: probing Hypervisor RTC clock rtc0: on motherboard [XEN] xen_rtc_attach: attaching Hypervisor RTC clock rtc0: registered as a time-of-day clock (resolution 1000000us) xc0: 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