From owner-freebsd-xen@FreeBSD.ORG Fri Mar 27 01:53:06 2009 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 7FCD6106566B for ; Fri, 27 Mar 2009 01:53:06 +0000 (UTC) (envelope-from syso.fml@no-route.org) Received: from core.kel1.no-route.org (core.kel1.no-route.org [217.70.192.207]) by mx1.freebsd.org (Postfix) with ESMTP id 424E98FC16 for ; Fri, 27 Mar 2009 01:53:06 +0000 (UTC) (envelope-from syso.fml@no-route.org) Received: from blowfish.kel.no-route.org (unknown [10.0.0.222]) by core.kel1.no-route.org (Postfix) with ESMTPSA id 64F551DDB0D for ; Fri, 27 Mar 2009 02:52:01 +0100 (CET) Message-ID: <49CC3173.8010700@no-route.org> Date: Fri, 27 Mar 2009 02:52:51 +0100 From: Sylwester Sosnowski User-Agent: some piece of software MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 7.1-RELEASE Xen DomU (HVM) success 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, 27 Mar 2009 01:53:06 -0000 Hi, I've successfully set up FreeBSD 7.1-RELEASE amd64 in a Xen DomU with HVM (Hardware Virtual Machine). For some reason the DomU didn't mount root if ACPI was disabled in the Xen configuration (acpi=0). The whole setup was pretty stable and fast. I've measured a network throughput (using a RTL8139+ virtual interface, ioemu, 100Mbit/s Fast Ethernet) of 94-96 Mbit/s between Dom0 and DomU. The clock source also seems to be stable. You can find my configuration and some dmesg output here[1]. If anyone is interested in following my work, feel free to contact me by E-Mail or by answering here. Regards, Sylwester From owner-freebsd-xen@FreeBSD.ORG Fri Mar 27 01:53:10 2009 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 B5BE7106566B for ; Fri, 27 Mar 2009 01:53:10 +0000 (UTC) (envelope-from syso.fml@no-route.org) Received: from core.kel1.no-route.org (core.kel1.no-route.org [217.70.192.207]) by mx1.freebsd.org (Postfix) with ESMTP id 78A918FC13 for ; Fri, 27 Mar 2009 01:53:10 +0000 (UTC) (envelope-from syso.fml@no-route.org) Received: from blowfish.kel.no-route.org (unknown [10.0.0.222]) by core.kel1.no-route.org (Postfix) with ESMTPSA id 704701DDAFE; Fri, 27 Mar 2009 02:32:10 +0100 (CET) Message-ID: <49CC2CCC.1090205@no-route.org> Date: Fri, 27 Mar 2009 02:33:00 +0100 From: Sylwester Sosnowski User-Agent: some piece of software MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 7.1-RELEASE Xen DomU (HVM) success 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, 27 Mar 2009 01:53:11 -0000 Hi, I've successfully set up FreeBSD 7.1-RELEASE amd64 in a Xen DomU with HVM (Hardware Virtual Machine). For some reason the DomU didn't mount root if ACPI was disabled in the Xen configuration (acpi=0). The whole setup was pretty stable and fast. I've measured a network throughput (using a RTL8139+ virtual interface, ioemu, 100Mbit/s Fast Ethernet) of 94-96 Mbit/s between Dom0 and DomU. The clock source also seems to be stable. You can find my configuration and some dmesg output here[1]. If anyone is interested in following my work, feel free to contact me by E-Mail or by answering here. Regards, Sylwester From owner-freebsd-xen@FreeBSD.ORG Fri Mar 27 02:36:15 2009 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 21D78106566B for ; Fri, 27 Mar 2009 02:36:15 +0000 (UTC) (envelope-from syso.fml@no-route.org) Received: from core.kel1.no-route.org (core.kel1.no-route.org [217.70.192.207]) by mx1.freebsd.org (Postfix) with ESMTP id D82D78FC1A for ; Fri, 27 Mar 2009 02:36:14 +0000 (UTC) (envelope-from syso.fml@no-route.org) Received: from blowfish.kel.no-route.org (unknown [10.0.0.222]) by core.kel1.no-route.org (Postfix) with ESMTPSA id 2A5F11DDAFE for ; Fri, 27 Mar 2009 03:35:09 +0100 (CET) Message-ID: <49CC3B8F.4010303@no-route.org> Date: Fri, 27 Mar 2009 03:35:59 +0100 From: Sylwester Sosnowski User-Agent: some piece of software MIME-Version: 1.0 To: freebsd-xen@freebsd.org References: <49CC3173.8010700@no-route.org> In-Reply-To: <49CC3173.8010700@no-route.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 7.1-RELEASE Xen DomU (HVM) success 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, 27 Mar 2009 02:36:15 -0000 Sorry I've forgot to attach the URL in the previous posting. http://tmp.no-route.org/~syso/freebsd-xen/ From owner-freebsd-xen@FreeBSD.ORG Fri Mar 27 14:35:08 2009 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 19F521065677 for ; Fri, 27 Mar 2009 14:35:08 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 9A55E8FC19 for ; Fri, 27 Mar 2009 14:35:07 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fk-out-0910.google.com with SMTP id b27so496928fka.11 for ; Fri, 27 Mar 2009 07:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=jpFRvcBOl7vZC0hDyOPH/EA4kPtOLrwm7s2nHkto6Yc=; b=qOmT2BvIAuNIC/wuitAfuRkpa3YWb9NJemrAjnkMDmROg++lsh13LRWVzh1HF+CHjU CEQfAcnJFG/0s9JrVEpvpypKyQPF7BhCihg55Gm90pwcsQsLlmCRmS0RKgQ0W+Cs/ezI 4kcuea3K5dvwBiJKUeUaV8wUULLBXO3Zih0TI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=rJF60I22ubeitdu4cnobyaB+idpyPp/eAfQe9y4q3dbSkFfRTpS5WnfeY4Hf8AvkhG CPYNAhyXFzeqMOZ6sUNO+ZWtSKEFYwkCNim5aNS9CfdjzWh35uORppdrFIAZqSFMHFAk F79I5yUNZ2sn9d0qZxfYDDmWzzoVJrXpTfOpw= Received: by 10.103.226.20 with SMTP id d20mr451396mur.8.1238162685681; Fri, 27 Mar 2009 07:04:45 -0700 (PDT) Received: from ?10.30.1.163? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id 12sm2981584muq.35.2009.03.27.07.04.44 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Mar 2009 07:04:45 -0700 (PDT) From: Mister Olli To: freebsd-xen@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain Date: Fri, 27 Mar 2009 15:03:22 +0100 Message-Id: <1238162602.24399.29.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: Subject: Compiling CURRENT with XEN config fails X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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, 27 Mar 2009 14:35:08 -0000 Hi, I just tried to compile CURRENT kernel with the XEN kernel config that is shipped with it, but it fails with the following error: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/xen/evtchn/evtchn.c /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 'bind_virq_to_irqhandler' /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 'bind_virq_to_irqhandler' was here /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler': /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in this function) /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is reported only once /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.) *** Error code 1 Stop in /usr/obj/usr/src/sys/XEN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. template-8_CURRENT# svn info http://svn.freebsd.org/base/head /usr/src Path: head URL: http://svn.freebsd.org/base/head Repository Root: http://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 190466 Node Kind: directory Last Changed Author: jamie Last Changed Rev: 190466 Last Changed Date: 2009-03-27 14:13:59 +0100 (Fri, 27 Mar 2009) Path: /usr/src URL: http://svn.freebsd.org/base/head Repository Root: http://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 190464 Node Kind: directory Schedule: normal Last Changed Author: dds Last Changed Rev: 190464 Last Changed Date: 2009-03-27 12:03:02 +0100 (Fri, 27 Mar 2009) Anybody knows how to fix this??? ;-)) greetz Olli