From owner-freebsd-xen@FreeBSD.ORG Sun Feb 28 22:00:04 2010 Return-Path: Delivered-To: freebsd-xen@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B547B106564A for ; Sun, 28 Feb 2010 22:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 785408FC12 for ; Sun, 28 Feb 2010 22:00:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1SM04ZO006315 for ; Sun, 28 Feb 2010 22:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1SM049T006314; Sun, 28 Feb 2010 22:00:04 GMT (envelope-from gnats) Date: Sun, 28 Feb 2010 22:00:04 GMT Message-Id: <201002282200.o1SM049T006314@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org From: =?iso-8859-1?Q?Wei=DF=2C_J=FCrgen?= Cc: Subject: Re: kern/143340: [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't work on solaris dom0's X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-8859-1?Q?Wei=DF=2C_J=FCrgen?= 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: Sun, 28 Feb 2010 22:00:04 -0000 The following reply was made to PR kern/143340; it has been noted by GNATS. From: =?iso-8859-1?Q?Wei=DF=2C_J=FCrgen?= To: "'bug-followup@FreeBSD.org'" , "'wonslung@gmail.com'" Cc: Subject: Re: kern/143340: [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't work on solaris dom0's Date: Sun, 28 Feb 2010 22:43:56 +0100 the current FreeBSD frontend of the xn network driver does not check the ca= pabilities of the backend driver.=20 The following patch checks the backend features feature-sg (scatter/gather) and feature-gso-tcpv4 (segmentation offload) and sets the frontend driver capabilities accordingly.=20 There is still the problem with receive and transmit checksum offload. I have no idea how to figure out what the backend supports. So for opensolaris it seems necessary to disable checksum offload manually by ifconfig xn0 -txcsum -rxcsum Maybe it would make sense to change the default for checksum offload if the backend does not support feature-sg and/or feature-gso-tcpv4. --- netfront.c.orig 2009-10-25 02:10:29.000000000 +0100 +++ netfront.c 2010-02-28 18:08:20.000000000 +0100 @@ -236,6 +236,7 @@ u_int irq; u_int copying_receiver; u_int carrier; + u_int sg_allowed; =09 /* Receive-ring batched refills. */ #define RX_MIN_TARGET 32 @@ -1432,7 +1433,7 @@ */ for (m =3D m_head, nfrags =3D 0; m; m =3D m->m_next) nfrags++; - if (nfrags > MAX_SKB_FRAGS) { + if (nfrags > (sc->sg_allowed ? MAX_SKB_FRAGS : 1)) { m =3D m_defrag(m_head, M_DONTWAIT); if (!m) { m_freem(m_head); @@ -1788,6 +1789,35 @@ ifp->if_drv_flags &=3D ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); } =20 +static void xennet_set_features(device_t dev, struct netfront_info *np) +{ + struct ifnet *ifp; + int val; + + device_printf(dev, "backend features:"); + + if (xenbus_scanf(XBT_NIL, xenbus_get_otherend_path(np->xbdev), "feature-s= g", NULL, "%d", &val) < 0) + val =3D 0; +=09 + np->sg_allowed =3D val; + + if (val) + printf(" feature-sg"); + + if (xenbus_scanf(XBT_NIL, xenbus_get_otherend_path(np->xbdev), "feature-g= so-tcpv4", NULL, "%d", &val) < 0) + val =3D 0; + + if (val =3D=3D 0) { + ifp =3D np->xn_ifp; + ifp->if_capabilities &=3D ~(IFCAP_TSO4|IFCAP_LRO); + ifp->if_capenable &=3D ~(IFCAP_TSO4|IFCAP_LRO); + ifp->if_hwassist &=3D ~(CSUM_TSO); + } else + printf(" feature-gso-tcp4"); + + printf("\n"); +} + /* START of Xenolinux helper functions adapted to FreeBSD */ int network_connect(struct netfront_info *np) @@ -1820,6 +1850,8 @@ if (error)=20 return (error); =09 + xennet_set_features(np->xbdev, np); + /* Step 1: Reinitialise variables. */ netif_release_tx_bufs(np); Juergen Weiss |Universitaet Mainz, Zentrum fuer Datenverarbeitung, weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-2= 6407 From owner-freebsd-xen@FreeBSD.ORG Mon Mar 1 11:07:13 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 8967F106566C for ; Mon, 1 Mar 2010 11:07:13 +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 770F88FC0C for ; Mon, 1 Mar 2010 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o21B7DgN017977 for ; Mon, 1 Mar 2010 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o21B7C9g017975 for freebsd-xen@FreeBSD.org; Mon, 1 Mar 2010 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Mar 2010 11:07:12 GMT Message-Id: <201003011107.o21B7C9g017975@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, 01 Mar 2010 11:07:13 -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/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/135179 xen [xen] Xen domU does not properly reboot 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/135008 xen [xen] FreeBSD-current/Xen timecounter jumps o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 11 problems total. From owner-freebsd-xen@FreeBSD.ORG Wed Mar 3 20:54:05 2010 Return-Path: Delivered-To: freebsd-xen@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25741065678; Wed, 3 Mar 2010 20:54:05 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C946A8FC26; Wed, 3 Mar 2010 20:54:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o23Ks56Y056574; Wed, 3 Mar 2010 20:54:05 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o23Ks5aE056570; Wed, 3 Mar 2010 20:54:05 GMT (envelope-from brucec) Date: Wed, 3 Mar 2010 20:54:05 GMT Message-Id: <201003032054.o23Ks5aE056570@freefall.freebsd.org> To: mister.olli@googlemail.com, brucec@FreeBSD.org, freebsd-xen@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: kern/135179: [xen] Xen domU does not properly reboot 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, 03 Mar 2010 20:54:06 -0000 Synopsis: [xen] Xen domU does not properly reboot State-Changed-From-To: open->closed State-Changed-By: brucec State-Changed-When: Wed Mar 3 20:53:06 UTC 2010 State-Changed-Why: Submitter reports that a configuration mistake caused the problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=135179 From owner-freebsd-xen@FreeBSD.ORG Thu Mar 4 20:36:04 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 59E78106566B for ; Thu, 4 Mar 2010 20:36:04 +0000 (UTC) (envelope-from k@kevinkevin.com) Received: from mail-qy0-f189.google.com (mail-qy0-f189.google.com [209.85.221.189]) by mx1.freebsd.org (Postfix) with ESMTP id 11D658FC14 for ; Thu, 4 Mar 2010 20:36:03 +0000 (UTC) Received: by qyk27 with SMTP id 27so2353284qyk.13 for ; Thu, 04 Mar 2010 12:35:57 -0800 (PST) Received: by 10.224.109.1 with SMTP id h1mr2577056qap.131.1267733309830; Thu, 04 Mar 2010 12:08:29 -0800 (PST) Received: from kkPC (76-10-166-187.dsl.teksavvy.com [76.10.166.187]) by mx.google.com with ESMTPS id 21sm777692iwn.11.2010.03.04.12.08.28 (version=SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 12:08:28 -0800 (PST) From: "kevin" To: Date: Thu, 4 Mar 2010 15:08:03 -0500 Message-ID: <02a001cabbd6$66639c40$332ad4c0$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acq71mRVomZlq4AhT32quOjTRuMwRw== Content-Language: en-us x-cr-hashedpuzzle: BaLO B+GR CE3y Ca87 Cl9C CyEz EwMU FUo/ F5Iq HY73 HmgM IAaC ITm2 IUYR JvjI Kn24; 1; ZgByAGUAZQBiAHMAZAAtAHgAZQBuAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {F10632A1-3B7F-4F50-89EC-302101B10914}; awBAAGsAZQB2AGkAbgBrAGUAdgBpAG4ALgBjAG8AbQA=; Thu, 04 Mar 2010 20:08:01 GMT; UgB1AG4AbgBpAG4AZwAgAEYAcgBlAGUAQgBTAEQAIABhAHMAIABhACAAZwB1AGUAcwB0ACAAdQBuAGQAZQByACAAeABlAG4A x-cr-puzzleid: {F10632A1-3B7F-4F50-89EC-302101B10914} Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Running FreeBSD as a guest under xen 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: Thu, 04 Mar 2010 20:36:04 -0000 Hello, I've just joined this list and am interested in the viability of running a Xen Guest (non HVM) of FreeBSD (7.2 or 8.0). I understand that 8.0-Current has limited support for xen, however I would like to know if this is possible to run FreeBSD as a paravirtualized Xen Guest. Much appreciated! From owner-freebsd-xen@FreeBSD.ORG Thu Mar 4 20:41:24 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 11FB310656A6 for ; Thu, 4 Mar 2010 20:41:24 +0000 (UTC) (envelope-from info@deployis.eu) Received: from mail.deployis.eu (mail.deployis.eu [217.20.135.253]) by mx1.freebsd.org (Postfix) with ESMTP id C94028FC18 for ; Thu, 4 Mar 2010 20:41:23 +0000 (UTC) Received: from bc9df14e.mobile.pool.telekom.hu ([188.157.241.78]:32885) by mail.deployis.eu with esmtpsa (Exim 4.69 #1 (Debian)) id 1NnHrF-0006Fm-0B from ; Thu, 04 Mar 2010 21:41:22 +0100 Message-ID: <4B901AEE.60904@deployis.eu> Date: Thu, 04 Mar 2010 21:41:18 +0100 From: Deploy IS INFO User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: kevin References: <02a001cabbd6$66639c40$332ad4c0$@com> In-Reply-To: <02a001cabbd6$66639c40$332ad4c0$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Running FreeBSD as a guest under xen 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: Thu, 04 Mar 2010 20:41:24 -0000 Hi, I've made test with 8-RELEASE and 32bit pv support works with only single cpu and there problems with network iirc. The 64bit hvm with pv driver works well and tested with 2 and 4 vpcpus. However with 4 cpus it got paniced at rc status. More tests will come as we'd like to give customers FreeBSD as an OS option on our VPS service. Regards, Andras kevin wrote: > Hello, > > > > I've just joined this list and am interested in the viability of running a > Xen Guest (non HVM) of FreeBSD (7.2 or 8.0). I understand that 8.0-Current > has limited support for xen, however I would like to know if this is > possible to run FreeBSD as a paravirtualized Xen Guest. > > > > Much appreciated! > > > > > > > > _______________________________________________ > 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 Thu Mar 4 21:29: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 03CB51065670 for ; Thu, 4 Mar 2010 21:29:58 +0000 (UTC) (envelope-from k@kevinkevin.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id BA47D8FC1A for ; Thu, 4 Mar 2010 21:29:57 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 8so642392qwh.7 for ; Thu, 04 Mar 2010 13:29:47 -0800 (PST) Received: by 10.224.8.75 with SMTP id g11mr1650064qag.285.1267738187046; Thu, 04 Mar 2010 13:29:47 -0800 (PST) Received: from kkPC (76-10-166-187.dsl.teksavvy.com [76.10.166.187]) by mx.google.com with ESMTPS id 21sm825596iwn.7.2010.03.04.13.29.45 (version=SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 13:29:45 -0800 (PST) From: "kevin" To: "'Deploy IS INFO'" References: <02a001cabbd6$66639c40$332ad4c0$@com> <4B901AEE.60904@deployis.eu> In-Reply-To: <4B901AEE.60904@deployis.eu> Date: Thu, 4 Mar 2010 16:29:19 -0500 Message-ID: <02b101cabbe1$c11a6a50$434f3ef0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acq72w32pn89yMOcQg+e3s3aFsLbnwABqBoA Content-Language: en-us Cc: freebsd-xen@freebsd.org Subject: RE: Running FreeBSD as a guest under xen 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: Thu, 04 Mar 2010 21:29:58 -0000 Thanks for the response. Pass a message my way on this list as soon as your tests are complete! I'd like to know as well for similar reasons. Thanks again. -----Original Message----- From: Deploy IS INFO [mailto:info@deployis.eu] Sent: Thursday, March 04, 2010 3:41 PM To: kevin Cc: freebsd-xen@freebsd.org Subject: Re: Running FreeBSD as a guest under xen Hi, I've made test with 8-RELEASE and 32bit pv support works with only single cpu and there problems with network iirc. The 64bit hvm with pv driver works well and tested with 2 and 4 vpcpus. However with 4 cpus it got paniced at rc status. More tests will come as we'd like to give customers FreeBSD as an OS option on our VPS service. Regards, Andras kevin wrote: > Hello, > > > > I've just joined this list and am interested in the viability of running a > Xen Guest (non HVM) of FreeBSD (7.2 or 8.0). I understand that 8.0-Current > has limited support for xen, however I would like to know if this is > possible to run FreeBSD as a paravirtualized Xen Guest. > > > > Much appreciated! > > > > > > > > _______________________________________________ > 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 Mar 5 13:55:55 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 AC052106564A for ; Fri, 5 Mar 2010 13:55:55 +0000 (UTC) (envelope-from Anthony.Francis@eu.citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [62.200.22.115]) by mx1.freebsd.org (Postfix) with ESMTP id 444978FC21 for ; Fri, 5 Mar 2010 13:55:54 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,587,1262563200"; d="scan'208,217";a="9802360" Received: from lonpmailmx02.citrite.net ([10.30.224.163]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/RC4-MD5; 05 Mar 2010 13:55:53 +0000 Received: from LONPMAILBOX01.citrite.net ([10.30.224.160]) by LONPMAILMX02.citrite.net ([10.30.224.163]) with mapi; Fri, 5 Mar 2010 13:55:53 +0000 From: Anthony Francis To: "freebsd-xen@freebsd.org" Date: Fri, 5 Mar 2010 13:55:41 +0000 Thread-Topic: Running FreeBSD as a guest under xen Thread-Index: Acq8a4sqxm7OtsGbRaikhs9/ma2Wzw== Message-ID: <2BAFFF2BACC5E545B3264F3CBD52919054382153A0@LONPMAILBOX01.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: AZUX Anrq A/CH B5wj B9ym CYNM C67v DJCl D+4B FBsO FJe6 FTxX Hxmk IjFM In++ Iscu; 1; ZgByAGUAZQBiAHMAZAAtAHgAZQBuAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {C0F3FC6B-897F-412C-8175-500A42C4AE09}; YQBuAHQAaABvAG4AeQAuAGYAcgBhAG4AYwBpAHMAQABlAHUALgBjAGkAdAByAGkAeAAuAGMAbwBtAA==; Fri, 05 Mar 2010 13:55:41 GMT; UgB1AG4AbgBpAG4AZwAgAEYAcgBlAGUAQgBTAEQAIABhAHMAIABhACAAZwB1AGUAcwB0ACAAdQBuAGQAZQByACAAeABlAG4A x-cr-puzzleid: {C0F3FC6B-897F-412C-8175-500A42C4AE09} acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Running FreeBSD as a guest under xen 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, 05 Mar 2010 13:55:55 -0000 Hi Andras, For those of us that are new to FreeBSD, can you please point or provide us= with some basic instructions for enabling the PV support on 32-bit and 64-= bit 8-Release? Best regards, Anthony From owner-freebsd-xen@FreeBSD.ORG Fri Mar 5 14:16:32 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 8CD41106566C for ; Fri, 5 Mar 2010 14:16:32 +0000 (UTC) (envelope-from got.andras@deployis.eu) Received: from mail.deployis.eu (mail.deployis.eu [217.20.135.253]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE6C8FC29 for ; Fri, 5 Mar 2010 14:16:32 +0000 (UTC) Received: from [80.95.75.131] (port=45911 helo=[192.168.2.192]) by mail.deployis.eu with esmtpsa (Exim 4.69 #1 (Debian)) id 1NnYKK-0004gB-VU from ; Fri, 05 Mar 2010 15:16:29 +0100 Message-ID: <4B91123B.10409@deployis.eu> Date: Fri, 05 Mar 2010 15:16:27 +0100 From: =?ISO-8859-1?Q?G=F3t_Andr=E1s?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Anthony Francis References: <2BAFFF2BACC5E545B3264F3CBD52919054382153A0@LONPMAILBOX01.citrite.net> In-Reply-To: <2BAFFF2BACC5E545B3264F3CBD52919054382153A0@LONPMAILBOX01.citrite.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-xen@freebsd.org" Subject: Re: Running FreeBSD as a guest under xen 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, 05 Mar 2010 14:16:32 -0000 Hi Anthony, We figured out the following method for doing automated FreeBSD installs: - Make a HVM installation of a FreeBSD 8, download source and compile XEN or XENHVM kernels (XEN on i386 and XENHVM on amd64 in the kernel config directory). Install, reboot and that's it, the next steps are for automating and other features. I didn't do any benchmarks but both way was very usable the OS. - Make another BSD install (appr. a 300-500MB partition) and copy the compiled BSD kernel, which boots off but the kernel will use an other partition for the rootfs. - The "boot install" is an oldschool bsd slice with labels, as I couldn't yet figure out booting it somehow else. (Suggestions are welcome, of course.) - The real root file system could be easily set up with and installworld just from compiled system above. This extra setup is a must have for us as this way I was able to do lvm snapshots of UFS. On the i386 I finished testing off quite soon as SMP is simple does not work and there were maybe some other issues. The amd64 is promising with a 2 way SMP working well but a reliable 4 would be nicer of course. Keep in mind, that with i386 you'll also get xenconsole, but it didn't worked with amd64 sot the VNC console was used. I'll continue testing later this month (I hope...). Best regards, Andras Anthony Francis wrote: > Hi Andras, > > For those of us that are new to FreeBSD, can you please point or provide us with some basic instructions for enabling the PV support on 32-bit and 64-bit 8-Release? > > Best regards, > > Anthony > _______________________________________________ > 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 Mar 5 14:25:52 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 47F551065670 for ; Fri, 5 Mar 2010 14:25:52 +0000 (UTC) (envelope-from Anthony.Francis@eu.citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [62.200.22.115]) by mx1.freebsd.org (Postfix) with ESMTP id D99338FC2B for ; Fri, 5 Mar 2010 14:25:51 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,587,1262563200"; d="scan'208";a="9803075" Received: from lonpmailmx01.citrite.net ([10.30.224.162]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/RC4-MD5; 05 Mar 2010 14:25:50 +0000 Received: from LONPMAILBOX01.citrite.net ([10.30.224.160]) by LONPMAILMX01.citrite.net ([10.30.224.162]) with mapi; Fri, 5 Mar 2010 14:25:50 +0000 From: Anthony Francis To: =?iso-8859-1?Q?G=F3t_Andr=E1s?= Date: Fri, 5 Mar 2010 14:25:44 +0000 Thread-Topic: Running FreeBSD as a guest under xen Thread-Index: Acq8bnUswbYSerQDQeunYz3AY+uaXgAAFPLA Message-ID: <2BAFFF2BACC5E545B3264F3CBD52919054382153A5@LONPMAILBOX01.citrite.net> References: <2BAFFF2BACC5E545B3264F3CBD52919054382153A0@LONPMAILBOX01.citrite.net> <4B91123B.10409@deployis.eu> In-Reply-To: <4B91123B.10409@deployis.eu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-xen@freebsd.org" Subject: RE: Running FreeBSD as a guest under xen 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, 05 Mar 2010 14:25:52 -0000 Hi Andras, Thank you for the prompt response. I have managed to install both 32b and 64b VMs in HVM mode but I am lacking= to the knowledge and understand to compile the XEN and XENHVM kernels. Is= this something you can tell me how to do? Are both XEN and XENHVM paravirtualised kernels or are there other options = for FreeBSD 8.0? If I got answers to these questions I will try this very soon. Best regards, Anthony -----Original Message----- From: G=F3t Andr=E1s [mailto:got.andras@deployis.eu]=20 Sent: 05 March 2010 14:16 To: Anthony Francis Cc: freebsd-xen@freebsd.org Subject: Re: Running FreeBSD as a guest under xen Hi Anthony, We figured out the following method for doing automated FreeBSD installs: - Make a HVM installation of a FreeBSD 8, download source and compile=20 XEN or XENHVM kernels (XEN on i386 and XENHVM on amd64 in the kernel=20 config directory). Install, reboot and that's it, the next steps are for=20 automating and other features. I didn't do any benchmarks but both way=20 was very usable the OS. - Make another BSD install (appr. a 300-500MB partition) and copy the=20 compiled BSD kernel, which boots off but the kernel will use an other=20 partition for the rootfs. - The "boot install" is an oldschool bsd slice with labels, as I=20 couldn't yet figure out booting it somehow else. (Suggestions are=20 welcome, of course.) - The real root file system could be easily set up with and installworld=20 just from compiled system above. This extra setup is a must have for us=20 as this way I was able to do lvm snapshots of UFS. On the i386 I finished testing off quite soon as SMP is simple does not=20 work and there were maybe some other issues. The amd64 is promising with=20 a 2 way SMP working well but a reliable 4 would be nicer of course. Keep in mind, that with i386 you'll also get xenconsole, but it didn't=20 worked with amd64 sot the VNC console was used. I'll continue testing later this month (I hope...). Best regards, Andras Anthony Francis wrote: > Hi Andras, >=20 > For those of us that are new to FreeBSD, can you please point or provide = us with some basic instructions for enabling the PV support on 32-bit and 6= 4-bit 8-Release? >=20 > Best regards, >=20 > Anthony > _______________________________________________ > 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 Sat Mar 6 00:12:16 2010 Return-Path: Delivered-To: freebsd-xen@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8E6B1065706; Sat, 6 Mar 2010 00:12:16 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 902408FC1D; Sat, 6 Mar 2010 00:12:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o260CGUG052800; Sat, 6 Mar 2010 00:12:16 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o260CGXr052796; Sat, 6 Mar 2010 00:12:16 GMT (envelope-from brucec) Date: Sat, 6 Mar 2010 00:12:16 GMT Message-Id: <201003060012.o260CGXr052796@freefall.freebsd.org> To: adrian@FreeBSD.org, brucec@FreeBSD.org, freebsd-xen@FreeBSD.org, brucec@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: kern/135008: [xen] FreeBSD-current/Xen timecounter jumps 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, 06 Mar 2010 00:12:16 -0000 Synopsis: [xen] FreeBSD-current/Xen timecounter jumps State-Changed-From-To: open->closed State-Changed-By: brucec State-Changed-When: Sat Mar 6 00:11:03 UTC 2010 State-Changed-Why: Fixed in r193033. Responsible-Changed-From-To: freebsd-xen->brucec Responsible-Changed-By: brucec Responsible-Changed-When: Sat Mar 6 00:11:03 UTC 2010 Responsible-Changed-Why: Track. http://www.freebsd.org/cgi/query-pr.cgi?pr=135008 From owner-freebsd-xen@FreeBSD.ORG Sat Mar 6 11:29: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 BD8EC106567D for ; Sat, 6 Mar 2010 11:29:28 +0000 (UTC) (envelope-from bruce.cran@gmail.com) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by mx1.freebsd.org (Postfix) with ESMTP id 253AC8FE43 for ; Sat, 6 Mar 2010 11:28:27 +0000 (UTC) Received: by bwz24 with SMTP id 24so3045307bwz.13 for ; Sat, 06 Mar 2010 03:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=o+dEatS+MiO6yBnYagKwo3L0IA5QHo5jZRVpDnNQgzY=; b=D7Yu2Hc8ZhAT5tFqlv2owq7qyxID0bCwhbdXQvTByHJGCdTERhY9Y7Z8P3O6LUFoGf sI8Oon1rQWKydSn1SzpRBadZ0SXrWPElVNUji83sJe4bEO670ooHt4r3WD9xtWRYlBOe v6SkbJO4IqbLKhYdmddXrpcH+2MP5Fob4y34I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=liN0bOzbvCR+ZLg3rc6aE5MaXNL9h2tVJrQEu+hklcKfGQMcuY9TjiiaNlx5DzSzpL GoC5o06sT49DE+jH3ro/mYi7r5Kxd/Sppj0ekNoNsSHOtOTN4JaekWcIgjsMV+sAPkve 3MMKKLio5029N/3b5CRiy0rDzy6Ty3KZbLFMA= MIME-Version: 1.0 Received: by 10.204.9.6 with SMTP id j6mr1478553bkj.37.1267873096768; Sat, 06 Mar 2010 02:58:16 -0800 (PST) Date: Sat, 6 Mar 2010 10:58:16 +0000 Message-ID: <9b136f541003060258w6946f122xf4a75081ad9b3b36@mail.gmail.com> From: Bruce Cran To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Broken links in the documentation 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, 06 Mar 2010 11:29:28 -0000 Hi, I've been attempting to setup Xen on a Slackware installation, but have found that the documentation seems to be in need of an update in several places. In section 22.2.2.2 of the handbook (http://www.freebsd.org/doc/handbook/virtualization-guest.html) it points to a few files on www.fsmware.com but their DNS servers seems to be broken. http://wiki.xensource.com/xenwiki/FreeBSDdomU should probably also be updated to point to http://www.freebsd.org/doc/handbook/virtualization-guest.html since those instructions seem to be newer than the copy of xenbsdsetup.txt I found at http://www.oav.net/mirrors/xenbsdsetup.txt Finally, the official user manual keeps pointing users to download binaries at http://www.xensource.com/downloads/ but that's now a 404. -- Bruce Cran