From owner-freebsd-xen@FreeBSD.ORG Mon Mar 29 11:07:08 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 6DD521065688 for ; Mon, 29 Mar 2010 11:07:08 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C14D8FC1F for ; Mon, 29 Mar 2010 11:07:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2TB7828058168 for ; Mon, 29 Mar 2010 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2TB77Es058166 for freebsd-xen@FreeBSD.org; Mon, 29 Mar 2010 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Mar 2010 11:07:07 GMT Message-Id: <201003291107.o2TB77Es058166@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-xen@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org 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: Mon, 29 Mar 2010 11:07:08 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/144629 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143398 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143340 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143069 xen [xen] [panic] Xen Kernel Panic - Memory modified after o kern/141328 xen [xen] [panic] gstat exit causes kernel panic from unma o kern/140313 xen [xen] [panic] FreeBSD8 RC2 as PV domU crashes during c o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. o kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 10 problems total. From owner-freebsd-xen@FreeBSD.ORG Wed Mar 31 17:18:28 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 8244B106566B for ; Wed, 31 Mar 2010 17:18:28 +0000 (UTC) (envelope-from w3.comete@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id A4CE88FC12 for ; Wed, 31 Mar 2010 17:18:27 +0000 (UTC) Received: by bwz8 with SMTP id 8so259799bwz.3 for ; Wed, 31 Mar 2010 10:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language:x-cr-hashedpuzzle:x-cr-puzzleid; bh=z/lQU8sr+Df6n413yl5dbVxX5RJCzXqYAE+BjLgITuw=; b=wMpyYv+9pDK66pAz+7UEuuYKIt1tPQGAzonV9r+ZtN+tNhbjTdyZ+LN3wSYBjNgRE0 1HzdpUzir956QTrxC8ggfVIk0GYdGdlbBdZAnZwSpMw+mCqTECpMtksjWGuvxaGvDnUt SVP/xbiVeSfB9DCgt79w07zx3rcIZNp2Io/9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language:x-cr-hashedpuzzle :x-cr-puzzleid; b=d6+1EC1Xy+i09v70jSTYTVrDoxlcf/U78dosPnbYifiMIKHYSXkPqosN4e2VaVPuGv zTi7ItmSs8hep3H9gAp3L9Y5GRT02lX0nuWbUrR9e7B+r7/AIijthfDsKhLIQR33eiy+ RHgnWdOmCW7WkDeyKipE7lDhYscaPSWfSNd10= Received: by 10.204.48.144 with SMTP id r16mr3649005bkf.176.1270054197317; Wed, 31 Mar 2010 09:49:57 -0700 (PDT) Received: from OmegaLap ([62.160.90.245]) by mx.google.com with ESMTPS id 14sm3559272bwz.6.2010.03.31.09.49.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Mar 2010 09:49:56 -0700 (PDT) Sender: Guillaume Seigneuret From: "Guillaume Seigneuret" To: Date: Wed, 31 Mar 2010 18:49:53 +0200 Message-ID: <00ba01cad0f2$30fed2f0$92fc78d0$@fr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrQ8i7MmeSaw3VsTQC9Z+ZWqM7zVg== Content-Language: fr x-cr-hashedpuzzle: AlkP Awbz A7Cq BUvz CjPQ Cmk1 Dti6 E9Zb FC3e Ff/p Gl75 Gm1d In6T Jm4B Jshb KQ+O; 1; ZgByAGUAZQBiAHMAZAAtAHgAZQBuAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {52296040-2173-4784-B97E-056B80DDCE1F}; ZwBzAEAAbwBtAGUAZwBhAGMAdQBiAGUALgBmAHIA; Wed, 31 Mar 2010 16:49:51 GMT; WABlAG4AIAA4ACAAJgAgADkAIABEAG8AbQBVACAAawBlAHIAbgBlAGwAIABwAGEAbgBpAGMAIAB3AGkAdABoACAAMgAgAG8AcgAgAG0AbwByAGUAIAB2AGkAcgB0AHUAYQBsACAAQwBQAFUA x-cr-puzzleid: {52296040-2173-4784-B97E-056B80DDCE1F} Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Xen 8 & 9 DomU kernel panic with 2 or more virtual CPU 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: Wed, 31 Mar 2010 17:18:28 -0000 Dear all, When I try to make FreeBSD work in Xen domU with multiple vcups, I got a kernel panic. If someone have a clue . I got the following error : 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 9.0-CURRENT #1: Tue Mar 23 20:38:17 CET 2010 drgkill@RedProxy2:/usr/obj/usr/src/sys/XEN i386 WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2526.982 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (2526.98-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = 5 Features=0xbfebfbff Features2=0x98e3fd AMD Features=0x28100000 AMD Features2=0x1 TSC: P-state invariant Data TLB: 4 KB pages, 4-way set associative, 64 entries 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size L2 cache: 256 kbytes, 8-way associative, 64 bytes/line real memory = 536870912 (512 MB) Physical memory chunk(s): 0x00000000007f0000 - 0x000000001f638fff, 518295552 bytes (126537 pages) avail memory = 515362816 (491 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. mem: Pentium Pro MTRR support enabled nfslock: pseudo-device null: random: io: crypto: Grant table initialized xenbus0: on motherboard xc0: on motherboard kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x21:0xc0389142 stack pointer = 0x29:0xc06c6ad8 frame pointer = 0x29:0xc06c6af0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (swapper) [ thread pid 0 tid 100000 ] Stopped at intr_execute_handlers+0x12: movl 0x8(%ebx),%eax db> db> db> show alllocks Process 0 (kernel) thread 0xc044f430 (100000) exclusive sleep mutex Giant (Giant) r = 0 (0xc0450c50) locked @ /usr/src/sys/kern/kern_module.c:117 Or : Started domain RedProxy2 (id=23) 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 9.0-CURRENT #1: Tue Mar 23 20:38:17 CET 2010 drgkill@RedProxy2:/usr/obj/usr/src/sys/XEN i386 WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2526.984 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (2526.98-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = 5 Features=0xbfebfbff Features2=0x98e3fd AMD Features=0x28100000 AMD Features2=0x1 TSC: P-state invariant Data TLB: 4 KB pages, 4-way set associative, 64 entries 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size L2 cache: 256 kbytes, 8-way associative, 64 bytes/line real memory = 536870912 (512 MB) Physical memory chunk(s): 0x00000000007f0000 - 0x000000001f638fff, 518295552 bytes (126537 pages) avail memory = 515362816 (491 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) SMP: Added CPU 1 (AP) gdtpfn=219746 pdptpfn=5cc05 panic: HYPERVISOR_vcpu_op(VCPUOP_initialise, cpu, &ctxt): /usr/src/sys/i386/xen/mp_machdep.c:927 cpuid = 0 KDB: enter: panic Here are the kernel informations : uname -a FreeBSD RedProxy2 9.0-CURRENT FreeBSD 9.0-CURRENT Kernel conf : # # XEN -- Kernel configuration for i386 XEN DomU # # $FreeBSD: src/sys/i386/conf/XEN,v 1.13 2010/03/13 09:21:00 ed Exp $ cpu I686_CPU ident XEN makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols makeoptions MODULES_OVERRIDE="" options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption #options SCHED_4BSD options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AUDIT # Security event auditing # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. options DEADLKRES # Enable the deadlock resolver options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed options PAE nooption NATIVE option XEN nodevice atpic nodevice isa options MCLSHIFT=12 # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC #device atkbdc # AT keyboard controller #device atkbd # AT keyboard device psm # PS/2 mouse device pci #device kbdmux # keyboard multiplexer # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter device pf device pfsync device pflog device carp option IPSEC option IPSEC_ESP device crypto options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build Informations about the Xen domU : Xen 3.4 amd 64 with 2.6.32-3-xen-amd64 linux kernel. Thanks by advance. Regards, Guillaume Seigneuret From owner-freebsd-xen@FreeBSD.ORG Wed Mar 31 23:39:03 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 7C6851065670 for ; Wed, 31 Mar 2010 23:39:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 31C098FC13 for ; Wed, 31 Mar 2010 23:39:02 +0000 (UTC) Received: by gwj17 with SMTP id 17so430114gwj.13 for ; Wed, 31 Mar 2010 16:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=fp+DDOY9RLEU9xjOgMy44CuKJ+N1Rn9+nAYYoD6s6rg=; b=faUeJmmIqHjKWjQbFczGI4WLlRp2HKsdRe7UnP8B5KISAzJ3gwbJYTj0IggmYyYrNX dc0EVW/3JwvCObNAX7Xe8zLKSWp3z74nIKgXYszHyTV3ihYF8CW7BrP700tahUBKUk0N e4Ir7DUV+MMUWwhv3jPZ6snBbc5GsoZ4sIlrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=jS4RCzBaSl2TP/Nf0fyYvmarr+CQbqNW3kkqdK6N4DP6Wikso+86zehsYOfQ2QNHgf PDdFuYegtDOmbLJTTABJcUuLUYq7S5IsBoGOe6+HCWpzJJetHhHzzI6WpquF/MBXFPdH iMVJURw89Bv1jxyMNk7TKkSYxyzzatds3oUn4= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.231.171.79 with HTTP; Wed, 31 Mar 2010 16:39:02 -0700 (PDT) In-Reply-To: <00ba01cad0f2$30fed2f0$92fc78d0$@fr> References: <00ba01cad0f2$30fed2f0$92fc78d0$@fr> Date: Thu, 1 Apr 2010 07:39:02 +0800 X-Google-Sender-Auth: e88e29cdd8fa5eb6 Received: by 10.101.137.20 with SMTP id p20mr818740ann.152.1270078742320; Wed, 31 Mar 2010 16:39:02 -0700 (PDT) Message-ID: From: Adrian Chadd To: Guillaume Seigneuret Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: Xen 8 & 9 DomU kernel panic with 2 or more virtual CPU 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: Wed, 31 Mar 2010 23:39:03 -0000 The last time I checked, FreeBSD/DomU was highly buggy, and this includes SMP support. I never managed to get around to figuring out what wasn't being locked correctly. :/ Adrian On 1 April 2010 00:49, Guillaume Seigneuret wrote: > Dear all, > > > > When I try to make FreeBSD work in Xen domU with multiple vcups, I got a > kernel panic. If someone have a clue . > > > > I got the following error : > > > > 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 > > =A0 =A0 =A0 =A0The Regents of the University of California. All rights re= served. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 9.0-CURRENT #1: Tue Mar 23 20:38:17 CET 2010 > > =A0 =A0drgkill@RedProxy2:/usr/obj/usr/src/sys/XEN i386 > > WARNING: WITNESS option enabled, expect reduced performance. > > Xen reported: 2526.982 MHz processor. > > Timecounter "ixen" frequency 1000000000 Hz quality 0 > > CPU: Intel(R) Xeon(R) CPU =A0 =A0 =A0 =A0 =A0 X3440 =A0@ 2.53GHz (2526.98= -MHz 686-class > CPU) > > =A0Origin =3D "GenuineIntel" =A0Id =3D 0x106e5 =A0Family =3D 6 =A0Model = =3D 1e =A0Stepping =3D > 5 > > > Features=3D0xbfebfbff ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > > Features2=3D0x98e3fd CM,SSE4.1,SSE4.2,POPCNT> > > =A0AMD Features=3D0x28100000 > > =A0AMD Features2=3D0x1 > > =A0TSC: P-state invariant > > > > Data TLB: 4 KB pages, 4-way set associative, 64 entries > > 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size > > L2 cache: 256 kbytes, 8-way associative, 64 bytes/line > > real memory =A0=3D 536870912 (512 MB) > > Physical memory chunk(s): > > 0x00000000007f0000 - 0x000000001f638fff, 518295552 bytes (126537 pages) > > avail memory =3D 515362816 (491 MB) > > APIC: Using the MPTable enumerator. > > SMP: Added CPU 0 (BSP) > > ULE: setup cpu 0 > > [XEN] IPI cpu=3D0 irq=3D128 vector=3DRESCHEDULE_VECTOR (0) > > [XEN] IPI cpu=3D0 irq=3D129 vector=3DCALL_FUNCTION_VECTOR (1) > > Event-channel device installed. > > mem: > > Pentium Pro MTRR support enabled > > nfslock: pseudo-device > > null: > > random: > > io: > > crypto: > > Grant table initialized > > xenbus0: on motherboard > > xc0: on motherboard > > kernel trap 12 with interrupts disabled > > Fatal trap 12: page fault while in kernel mode > > cpuid =3D 0; apic id =3D 00 > > fault virtual address =A0 =3D 0x8 > > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not prese= nt > > instruction pointer =A0 =A0 =3D 0x21:0xc0389142 > > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc06c6ad8 > > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc06c6af0 > > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type 0x1= b > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 1, pres 1, def32 1= , gran 1 > > processor eflags =A0 =A0 =A0 =A0=3D resume, IOPL =3D 0 > > current process =A0 =A0 =A0 =A0 =3D 0 (swapper) > > [ thread pid 0 tid 100000 ] > > Stopped at =A0 =A0 =A0intr_execute_handlers+0x12: =A0 =A0 movl =A0 =A00x8= (%ebx),%eax > > db> > > db> > > db> show alllocks > > Process 0 (kernel) thread 0xc044f430 (100000) > > exclusive sleep mutex Giant (Giant) r =3D 0 (0xc0450c50) locked @ > /usr/src/sys/kern/kern_module.c:117 > > > > > > Or : > > > > Started domain RedProxy2 (id=3D23) > > 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 > > =A0 =A0 =A0 =A0The Regents of the University of California. All rights re= served. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 9.0-CURRENT #1: Tue Mar 23 20:38:17 CET 2010 > > =A0 =A0drgkill@RedProxy2:/usr/obj/usr/src/sys/XEN i386 > > WARNING: WITNESS option enabled, expect reduced performance. > > Xen reported: 2526.984 MHz processor. > > Timecounter "ixen" frequency 1000000000 Hz quality 0 > > CPU: Intel(R) Xeon(R) CPU =A0 =A0 =A0 =A0 =A0 X3440 =A0@ 2.53GHz (2526.98= -MHz 686-class > CPU) > > =A0Origin =3D "GenuineIntel" =A0Id =3D 0x106e5 =A0Family =3D 6 =A0Model = =3D 1e =A0Stepping =3D > 5 > > > Features=3D0xbfebfbff ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > > Features2=3D0x98e3fd CM,SSE4.1,SSE4.2,POPCNT> > > =A0AMD Features=3D0x28100000 > > =A0AMD Features2=3D0x1 > > =A0TSC: P-state invariant > > > > Data TLB: 4 KB pages, 4-way set associative, 64 entries > > 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size > > L2 cache: 256 kbytes, 8-way associative, 64 bytes/line > > real memory =A0=3D 536870912 (512 MB) > > Physical memory chunk(s): > > 0x00000000007f0000 - 0x000000001f638fff, 518295552 bytes (126537 pages) > > avail memory =3D 515362816 (491 MB) > > APIC: Using the MPTable enumerator. > > SMP: Added CPU 0 (BSP) > > SMP: Added CPU 1 (AP) > > gdtpfn=3D219746 pdptpfn=3D5cc05 > > panic: HYPERVISOR_vcpu_op(VCPUOP_initialise, cpu, &ctxt): > /usr/src/sys/i386/xen/mp_machdep.c:927 > > cpuid =3D 0 > > KDB: enter: panic > > > > Here are the kernel informations : > > uname -a > > FreeBSD RedProxy2 9.0-CURRENT FreeBSD 9.0-CURRENT > > > > Kernel conf : > > # > > # XEN -- Kernel configuration for i386 XEN DomU > > # > > # $FreeBSD: src/sys/i386/conf/XEN,v 1.13 2010/03/13 09:21:00 ed Exp $ > > > > cpu =A0 =A0 =A0 =A0I686_CPU > > ident =A0 =A0 =A0XEN > > > > makeoptions =A0 =A0DEBUG=3D-g =A0 =A0 =A0 =A0 # Build kernel with gdb(1) = debug symbols > > makeoptions =A0 =A0MODULES_OVERRIDE=3D"" > > > > options =A0 =A0SCHED_ULE =A0 =A0 =A0 =A0 =A0 =A0# ULE scheduler > > options =A0 =A0PREEMPTION =A0 =A0 =A0 =A0 =A0 # Enable kernel thread pree= mption > > #options =A0 SCHED_4BSD > > > > options =A0 =A0INET =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # InterNETworking > > options =A0 =A0INET6 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# IPv= 6 communications protocols > > options =A0 =A0SCTP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Stream Control Tran= smission Protocol > > options =A0 =A0FFS =A0 =A0 =A0 =A0 =A0# Berkeley Fast Filesystem > > options =A0 =A0SOFTUPDATES =A0 =A0 =A0 =A0 =A0# Enable FFS soft updates s= upport > > options =A0 =A0UFS_ACL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Suppo= rt for access control lists > > options =A0 =A0UFS_DIRHASH =A0 =A0 =A0 =A0 =A0# Improve performance on bi= g directories > > options =A0 =A0UFS_GJOURNAL =A0 =A0 =A0 =A0 # Enable gjournal-based UFS j= ournaling > > options =A0 =A0NFSCLIENT =A0 =A0 =A0 =A0 =A0 =A0# Network Filesystem Clie= nt > > options =A0 =A0NFSSERVER =A0 =A0 =A0 =A0 =A0 =A0# Network Filesystem Serv= er > > options =A0 =A0NFSLOCKD =A0 =A0 =A0 =A0 =A0 =A0 # Network Lock Manager > > options =A0 =A0NFS_ROOT =A0 =A0 =A0 =A0 =A0 =A0 # NFS usable as /, requir= es NFSCLIENT > > options =A0 =A0MSDOSFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# MSDOS= Filesystem > > options =A0 =A0CD9660 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # ISO 9= 660 Filesystem > > options =A0 =A0PROCFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Proce= ss filesystem (requires > PSEUDOFS) > > options =A0 =A0PSEUDOFS =A0 =A0 =A0 =A0 =A0 =A0 # Pseudo-filesystem frame= work > > options =A0 =A0GEOM_PART_GPT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# GUID Partit= ion Tables. > > options =A0 =A0GEOM_LABEL =A0 =A0 =A0 =A0 =A0 # Provides labelization > > options =A0 =A0COMPAT_FREEBSD4 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Compatible wi= th FreeBSD4 > > options =A0 =A0COMPAT_FREEBSD5 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Compatible wi= th FreeBSD5 > > options =A0 =A0COMPAT_FREEBSD6 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Compatible wi= th FreeBSD6 > > options =A0 =A0COMPAT_FREEBSD7 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Compatible wi= th FreeBSD7 > > options =A0 =A0KTRACE =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # ktrac= e(1) support > > options =A0 =A0STACK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# sta= ck(9) support > > options =A0 =A0SYSVSHM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# SYSV-= style shared memory > > options =A0 =A0SYSVMSG =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# SYSV-= style message queues > > options =A0 =A0SYSVSEM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# SYSV-= style semaphores > > options =A0 =A0_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time ext= ensions > > options =A0 =A0KBD_INSTALL_CDEV =A0 =A0 # install a CDEV entry in /dev > > options =A0 =A0AUDIT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Sec= urity event auditing > > > > # Debugging for use in -current > > options =A0 =A0KDB =A0 =A0 =A0 =A0 =A0# Enable kernel debugger support. > > options =A0 =A0DDB =A0 =A0 =A0 =A0 =A0# Support DDB. > > options =A0 =A0GDB =A0 =A0 =A0 =A0 =A0# Support remote GDB. > > options =A0 =A0DEADLKRES =A0 =A0 =A0 =A0 =A0 =A0# Enable the deadlock res= olver > > options =A0 =A0INVARIANTS =A0 =A0 =A0 =A0 =A0 # Enable calls of extra san= ity checking > > options =A0 =A0INVARIANT_SUPPORT =A0 =A0# Extra sanity checks of internal > structures, required by INVARIANTS > > options =A0 =A0WITNESS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Enabl= e checks to detect deadlocks > and cycles > > options =A0 =A0WITNESS_SKIPSPIN =A0 =A0 # Don't run witness on spinlocks = for speed > > > > options =A0 =A0PAE > > nooption =A0 NATIVE > > option =A0 =A0 XEN > > nodevice =A0 atpic > > nodevice =A0 isa > > options =A0 =A0MCLSHIFT=3D12 > > > > # To make an SMP kernel, the next two lines are needed > > options =A0 =A0SMP =A0 =A0 =A0 =A0 =A0# Symmetric MultiProcessor Kernel > > device =A0 =A0 apic =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # I/O APIC > > > > > > #device =A0 =A0atkbdc =A0 =A0 =A0 =A0 =A0 =A0 =A0 # AT keyboard controlle= r > > #device =A0 =A0atkbd =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# AT keyboard > > device =A0 =A0 psm =A0# PS/2 mouse > > device =A0 =A0 pci > > > > #device =A0 =A0kbdmux =A0 =A0 =A0 =A0 =A0 =A0 =A0 # keyboard multiplexer > > > > # Pseudo devices. > > device =A0 =A0 loop =A0 =A0 =A0 =A0 # Network loopback > > device =A0 =A0 random =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Entropy device > > device =A0 =A0 ether =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Ethernet support > > device =A0 =A0 tun =A0# Packet tunnel. > > device =A0 =A0 pty =A0# Pseudo-ttys (telnet etc) > > device =A0 =A0 md =A0 # Memory "disks" > > device =A0 =A0 gif =A0# IPv6 and IPv4 tunneling > > device =A0 =A0 faith =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# IPv6-to-IPv4 relayi= ng (translation) > > > > # The `bpf' device enables the Berkeley Packet Filter. > > # Be aware of the administrative consequences of enabling this! > > # Note that 'bpf' is required for DHCP. > > device =A0 =A0 bpf =A0# Berkeley packet filter > > > > device =A0 =A0 pf > > device =A0 =A0 pfsync > > device =A0 =A0 pflog > > device =A0 =A0 carp > > > > option =A0 =A0 IPSEC > > option =A0 =A0 IPSEC_ESP > > device =A0 =A0 crypto > > > > options =A0 =A0 =A0 =A0 ALTQ > > options =A0 =A0 =A0 =A0 ALTQ_CBQ =A0 =A0 =A0 =A0# Class Bases Queuing (CB= Q) > > options =A0 =A0 =A0 =A0 ALTQ_RED =A0 =A0 =A0 =A0# Random Early Detection = (RED) > > options =A0 =A0 =A0 =A0 ALTQ_RIO =A0 =A0 =A0 =A0# RED In/Out > > options =A0 =A0 =A0 =A0 ALTQ_HFSC =A0 =A0 =A0 # Hierarchical Packet Sched= uler (HFSC) > > options =A0 =A0 =A0 =A0 ALTQ_PRIQ =A0 =A0 =A0 # Priority Queuing (PRIQ) > > options =A0 =A0 =A0 =A0 ALTQ_NOPCC =A0 =A0 =A0# Required for SMP build > > > > Informations about the Xen domU : > > > > Xen 3.4 amd 64 with 2.6.32-3-xen-amd64 linux kernel. > > > > > > Thanks by advance. > > > > Regards, > > > Guillaume Seigneuret > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > From owner-freebsd-xen@FreeBSD.ORG Fri Apr 2 03:50:43 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 E27F51065675 for ; Fri, 2 Apr 2010 03:50:43 +0000 (UTC) (envelope-from chen.tingjia@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 997778FC21 for ; Fri, 2 Apr 2010 03:50:43 +0000 (UTC) Received: by gyg10 with SMTP id 10so395295gyg.13 for ; Thu, 01 Apr 2010 20:50:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=BdQlk00ylQ0d4G3RXNvMZqy/yOnXVBi6TVFJtCrzcXg=; b=Ns78EMUhIRhFuPJ/7MaBO1qXXtK5mZ3zCSEgN1tNxaWEXZH0iSYynuczc0xxvRlI93 U2kkCgdtlowVuZpB8D100c7jUyrmMX6xjsQtozVa4ebaD6bZUQe+SGXL/YzOhIZej/1t fwOfhobUWjyKd3RGP/XUWI2ULs+ZpNp4m4+f8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WyLaSKkLimEieD+97qmHVDei+MJRPwitWEwj/FC0kl8byg1wbLNw84xMTHvqQAERQW IMJyFPlYoRYEj63VsQR394oZbOISswDvccdXnkBKJRUVmiobGY/WWhV3/b2Z++TrEEIu ladA2tF+pJfNtcp5MqhYG5JBc58cH2eSjhOFw= MIME-Version: 1.0 Received: by 10.100.112.11 with HTTP; Thu, 1 Apr 2010 20:20:31 -0700 (PDT) Date: Fri, 2 Apr 2010 11:20:31 +0800 Received: by 10.101.101.2 with SMTP id d2mr4488892anm.240.1270178431157; Thu, 01 Apr 2010 20:20:31 -0700 (PDT) Message-ID: From: Tingjia Chen To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Where to get PV drivers for FreeBSD 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: Fri, 02 Apr 2010 03:50:44 -0000 Hi, All: I'm using Xen as my virtualization software, and DomU is FreeBSD. For IO performance, I need to install PV driver. But where to get the driver? -- Caron