From owner-freebsd-xen@FreeBSD.ORG Mon Nov 30 05:40:24 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 B1C521065670 for ; Mon, 30 Nov 2009 05:40:24 +0000 (UTC) (envelope-from kmatthew.macy@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id 405B88FC1A for ; Mon, 30 Nov 2009 05:40:23 +0000 (UTC) Received: by yxe14 with SMTP id 14so2748037yxe.7 for ; Sun, 29 Nov 2009 21:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=ev1EFkloeutHliXveVRRnC6Jyc99VDPOELbtJ/xU6A4=; b=cN+QU5kAfAOSJJ94u02qhckx/kW7pTuBSCXmM/N/T/NVM1BSHm1tI5JnkJ3KhLoNDE g6/BO6qzy2jVmwip2u6j4sxN7WmjQ8p3UE1FMzAUR2sQP7ygTi2YvGiPKY0zK00KZOkw gcwS2uJzpp5+nkth04xnOOolVne/lFSZIpBrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Qhp8VDLlcpnbE7u3Bm+2hIIBSL9ZEh2TgaGMP77qyM+plS3DXg5y3rY+UaLXoSrq3T FHBbPbsxwyg6OCgMGAhoKdffOPCp3DsAAhxHtuReDAXp+OfAurCmSAzpE1rkLesq2uV/ RlYRr3FHWbNkdZO32X3qI+mnRj2tCXq8yuo2M= Received: by 10.150.4.11 with SMTP id 11mr6438532ybd.135.1259559622738; Sun, 29 Nov 2009 21:40:22 -0800 (PST) Received: from ?192.168.1.4? (c-24-23-249-193.hsd1.ca.comcast.net [24.23.249.193]) by mx.google.com with ESMTPS id 4sm1511700ywg.28.2009.11.29.21.40.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 21:40:22 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: "K. Macy" In-Reply-To: <4B0043B5.20601@tenebras.com> Date: Sun, 29 Nov 2009 21:40:20 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4AEF23FE.90604@gladserv.com> <4AF02B06.8090209@gladserv.com> <1258276895.3614.15.camel@glow> <4B0043B5.20601@tenebras.com> To: kudzu@tenebras.com X-Mailer: Apple Mail (2.1077) Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD Xen domU ? 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, 30 Nov 2009 05:40:24 -0000 On Nov 15, 2009, at 10:08 AM, Michael Sierchio wrote: >=20 > I second the notion - could someone please articulate what > the problems are with running FreeBSD as a DomU? >=20 > Being able to run a 8.x instance on EC2 would be very helpful. >=20 Amazon runs a very old Redhat version of Xen and they aren't forthcoming = about the specific version, presumably out of security concerns. 3.0.3 doesn't support linear page tables and thus requires some pmap = futzing. Apart from that I don't have enough specifics to go on. If = someone told me the precise version and gave me the corresponding RH = patches I'd be much more interested. Sorry for the inconvenience. -Kip From owner-freebsd-xen@FreeBSD.ORG Mon Nov 30 05:56:21 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 754A2106568B for ; Mon, 30 Nov 2009 05:56:21 +0000 (UTC) (envelope-from kmatthew.macy@gmail.com) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by mx1.freebsd.org (Postfix) with ESMTP id 201528FC18 for ; Mon, 30 Nov 2009 05:56:20 +0000 (UTC) Received: by ywh42 with SMTP id 42so2950828ywh.28 for ; Sun, 29 Nov 2009 21:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=mOAuFmnpcyxvHmm32Jw3COhr5Npb3XXf/e/7da1RkZA=; b=mYXIAuc0sQlEcY41pc+Fs22NqktZYB84O1h1QGSfMuz+idejUbhlgeq60mLF7WmMW0 AiS2jbnI9/LceSZYMNuRe7Ts4FdqjGPmXLCbIUyxl8Fna5bmT1YsP6TCRwksgV/JVHKI SyS3D8uQKsbO0loIqN2gAFnBiY50d1CQfzorA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=boWPERjcS8FCVd8wIo9yGaPqVje7tR0Gw5BahYH0Q0I2+y/I7xRtm4TwJZwYfuQkFe 3bsCzMNHHKTrKWvluJgORFuIHZa2NxU+PVP4ZXGcBXkIO6pPBu1PMx6mVqX4PXcnq+Pb coV4yj79NbGyqKr/ZV8ddEeVxtA/MDMXU0MwM= Received: by 10.150.250.2 with SMTP id x2mr6429505ybh.65.1259558937936; Sun, 29 Nov 2009 21:28:57 -0800 (PST) Received: from ?192.168.1.4? (c-24-23-249-193.hsd1.ca.comcast.net [24.23.249.193]) by mx.google.com with ESMTPS id 7sm1493539ywc.21.2009.11.29.21.28.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 21:28:57 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: "K. Macy" In-Reply-To: Date: Sun, 29 Nov 2009 21:28:55 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <6C9C02EB-2591-499F-B6E3-E2F24393E57A@gmail.com> References: To: Gian Paolo Buono X-Mailer: Apple Mail (2.1077) Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD 8 paravirtualizzed and Live Migration 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, 30 Nov 2009 05:56:21 -0000 It isn't a major undertaking, but I've never taken the time to make save = / restore work properly. Sorry. -Kip On Nov 27, 2009, at 4:59 AM, Gian Paolo Buono wrote: > Hi, >=20 > I have installed on XenServer 5.5 FreeBSD 8 paravirtualizzed as = domU... >=20 > You can possible live migration from member's pool ? >=20 > By > Gian Paolo > _______________________________________________ > 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 Mon Nov 30 11:07:05 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 A031610656A3 for ; Mon, 30 Nov 2009 11:07:05 +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 8D68B8FC19 for ; Mon, 30 Nov 2009 11:07: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 nAUB75lC043610 for ; Mon, 30 Nov 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAUB75NF043608 for freebsd-xen@FreeBSD.org; Mon, 30 Nov 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Nov 2009 11:07:05 GMT Message-Id: <200911301107.nAUB75NF043608@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, 30 Nov 2009 11:07:05 -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/140313 xen [xen] [panic] FreeBSD8 RC2 as PV domU crashes during c o kern/136251 xen [xen] [patch] xn0 doesn't DHCP 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 8 problems total. From owner-freebsd-xen@FreeBSD.ORG Tue Dec 1 12:07:31 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 10A741065693 for ; Tue, 1 Dec 2009 12:07:31 +0000 (UTC) (envelope-from luke.marsden@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8EB258FC17 for ; Tue, 1 Dec 2009 12:07:30 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so1279752eye.9 for ; Tue, 01 Dec 2009 04:07:29 -0800 (PST) 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:message-id:subject:from:to:cc :content-type; bh=A/jqqvaqD3fpYoZC/N/8QBTUp77ybXASaMHuyYyygqo=; b=GftEfqqFRlxutymz1x0LEm6j5G9UHuVqZe0Tm95OuUcAeuQ9EcHBT+QRG1XagzTOxl hEQUM08SYS/qbMD1ZU5y5KWyeeVTphcmm1OazsFdwsEjJ47liQm/F7pLB04wdggu61Tx 0Hl6jkH4GMXOgvOWRFp2QJrAXuD9tMCE0PDmc= 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; b=wSb776UOe0CEkXT2nnuNUc85FjzQGezJFSm3rbYz3UMHFY64IUuSVi6RIKM594yVQm P5VYR3/TcomsozB9MlPh3Iu79FVX5+mIteh7Q4G0WW7fcyIPqEfI+DBNue8OM2yuoYJD +L0hD3UHiCz1GHSfB9M8OJVrEmV+84LUmj96U= MIME-Version: 1.0 Sender: luke.marsden@gmail.com Received: by 10.216.89.213 with SMTP id c63mr1952572wef.211.1259667452321; Tue, 01 Dec 2009 03:37:32 -0800 (PST) In-Reply-To: References: <4AEF23FE.90604@gladserv.com> <4AF02B06.8090209@gladserv.com> <1258276895.3614.15.camel@glow> <4B0043B5.20601@tenebras.com> Date: Tue, 1 Dec 2009 11:37:32 +0000 X-Google-Sender-Auth: e44e6cf174415481 Message-ID: From: Luke Marsden To: "K. Macy" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD Xen domU ? 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: Tue, 01 Dec 2009 12:07:31 -0000 Hi Kip, Thanks for your reply. I'll see what I can do about getting the precise version (which I believe is indeed 3.0.3) and patches for you. Amazon say on http://aws.amazon.com/ec2/ that "we work with our partners and community to provide you with the most choice possible. You are also empowered to use our bundling tools to upload your own operating systems"... so I'll attempt to hold them to that :) I'm also happy to contribute a paid EC2 account for development (within reason) since if we can't precisely replicate locally the environment they run then I imagine the next-best thing would be for you to have access to one of their instances which you can upload OS images to and debug FreeBSD as an EC2 DomU that way. Would you be interested in that? Let me know if there's anything else I can do to help / facilitate. I'll post again when I've got in touch with Amazon. Cheers, Luke Marsden Hybrid Logic Ltd. On Mon, Nov 30, 2009 at 5:40 AM, K. Macy wrote: > > On Nov 15, 2009, at 10:08 AM, Michael Sierchio wrote: > > > > > I second the notion - could someone please articulate what > > the problems are with running FreeBSD as a DomU? > > > > Being able to run a 8.x instance on EC2 would be very helpful. > > > > Amazon runs a very old Redhat version of Xen and they aren't forthcoming > about the specific version, presumably out of security concerns. > > 3.0.3 doesn't support linear page tables and thus requires some pmap > futzing. Apart from that I don't have enough specifics to go on. If someone > told me the precise version and gave me the corresponding RH patches I'd be > much more interested. Sorry for the inconvenience. > > > -Kip > > _______________________________________________ > 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 Tue Dec 1 16:55:44 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 C14C81065672 for ; Tue, 1 Dec 2009 16:55:44 +0000 (UTC) (envelope-from josh@multipart-mixed.com) Received: from joshcarter.com (67-207-137-80.slicehost.net [67.207.137.80]) by mx1.freebsd.org (Postfix) with ESMTP id 9FB2A8FC22 for ; Tue, 1 Dec 2009 16:55:44 +0000 (UTC) Received: from [192.168.3.53] (unknown [63.172.79.253]) by joshcarter.com (Postfix) with ESMTPSA id D4381C84C4; Tue, 1 Dec 2009 16:35:23 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Josh Carter In-Reply-To: Date: Tue, 1 Dec 2009 09:35:22 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4AEF23FE.90604@gladserv.com> <4AF02B06.8090209@gladserv.com> <1258276895.3614.15.camel@glow> <4B0043B5.20601@tenebras.com> To: Luke Marsden , freebsd-xen@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Subject: Re: FreeBSD Xen domU ? 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: Tue, 01 Dec 2009 16:55:44 -0000 Hi all, On Dec 1, 2009, at 4:37 AM, Luke Marsden wrote: > Thanks for your reply. I'll see what I can do about getting the = precise > version (which I believe is indeed 3.0.3) and patches for you. Amazon = say on > http://aws.amazon.com/ec2/ that "we work with our partners and = community to > provide you with the most choice possible. You are also empowered to = use our > bundling tools to upload your own operating systems"... so I'll = attempt to > hold them to that :) I've been in contact with Jeff Barr at Amazon over the past couple = months and he's trying to put me in contact with an "appropriate = technical resource" to support FreeBSD efforts toward a EC2-compatible = system. Right now my company has a full-time expert working on FreeBSD on Xen, = but our focus is initially IO performance. We're running 64-bit HVM with = PV drivers. Given that Amazon runs Windows on EC2 they should have the = ability to run HVM, but the preferable solution is PV. I don't know when = PV will become a priority for somebody; for us (and some others I know) = it wouldn't matter until IO runs a lot faster. In any case, help from Amazon would be welcome. There are a number of = companies interested in FreeBSD on Xen in various configurations, and = efforts from any party benefit everyone else. -Josh From owner-freebsd-xen@FreeBSD.ORG Tue Dec 1 17:30:06 2009 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 55031106566B for ; Tue, 1 Dec 2009 17:30:06 +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 2A4AF8FC14 for ; Tue, 1 Dec 2009 17:30:06 +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 nB1HU6eE056968 for ; Tue, 1 Dec 2009 17:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB1HU6ob056965; Tue, 1 Dec 2009 17:30:06 GMT (envelope-from gnats) Date: Tue, 1 Dec 2009 17:30:06 GMT Message-Id: <200912011730.nB1HU6ob056965@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/136251: commit references a PR X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service 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: Tue, 01 Dec 2009 17:30:06 -0000 The following reply was made to PR kern/136251; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/136251: commit references a PR Date: Tue, 1 Dec 2009 17:29:34 +0000 (UTC) Author: gibbs Date: Tue Dec 1 17:29:25 2009 New Revision: 199997 URL: http://svn.freebsd.org/changeset/base/199997 Log: Add media ioctl support and link notifications so that devd will attempt to run dhclient on a netfront (xn) device that is setup for DHCP in /etc/rc.conf. PR: kern/136251 (fixed differently than the submitted patch) Modified: head/sys/dev/xen/netfront/netfront.c Modified: head/sys/dev/xen/netfront/netfront.c ============================================================================== --- head/sys/dev/xen/netfront/netfront.c Tue Dec 1 16:31:59 2009 (r199996) +++ head/sys/dev/xen/netfront/netfront.c Tue Dec 1 17:29:25 2009 (r199997) @@ -155,6 +155,9 @@ static void netif_disconnect_backend(str static int setup_device(device_t dev, struct netfront_info *info); static void end_access(int ref, void *page); +static int xn_ifmedia_upd(struct ifnet *ifp); +static void xn_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr); + /* Xenolinux helper functions */ int network_connect(struct netfront_info *); @@ -240,7 +243,9 @@ struct netfront_info { /* Receive-ring batched refills. */ #define RX_MIN_TARGET 32 #define RX_MAX_TARGET NET_RX_RING_SIZE - int rx_min_target, rx_max_target, rx_target; + int rx_min_target; + int rx_max_target; + int rx_target; /* * {tx,rx}_skbs store outstanding skbuffs. The first entry in each @@ -253,19 +258,20 @@ struct netfront_info { grant_ref_t grant_rx_ref[NET_TX_RING_SIZE + 1]; #define TX_MAX_TARGET min(NET_RX_RING_SIZE, 256) - device_t xbdev; - int tx_ring_ref; - int rx_ring_ref; - uint8_t mac[ETHER_ADDR_LEN]; + device_t xbdev; + int tx_ring_ref; + int rx_ring_ref; + uint8_t mac[ETHER_ADDR_LEN]; struct xn_chain_data xn_cdata; /* mbufs */ - struct mbuf_head xn_rx_batch; /* head of the batch queue */ + struct mbuf_head xn_rx_batch; /* head of the batch queue */ int xn_if_flags; struct callout xn_stat_ch; - u_long rx_pfn_array[NET_RX_RING_SIZE]; - multicall_entry_t rx_mcl[NET_RX_RING_SIZE+1]; - mmu_update_t rx_mmu[NET_RX_RING_SIZE]; + u_long rx_pfn_array[NET_RX_RING_SIZE]; + multicall_entry_t rx_mcl[NET_RX_RING_SIZE+1]; + mmu_update_t rx_mmu[NET_RX_RING_SIZE]; + struct ifmedia sc_media; }; #define rx_mbufs xn_cdata.xn_rx_chain @@ -1622,6 +1628,7 @@ xn_ifinit_locked(struct netfront_info *s ifp->if_drv_flags |= IFF_DRV_RUNNING; ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; + if_link_state_change(ifp, LINK_STATE_UP); callout_reset(&sc->xn_stat_ch, hz, xn_tick, sc); @@ -1761,7 +1768,7 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, /* FALLTHROUGH */ case SIOCSIFMEDIA: case SIOCGIFMEDIA: - error = EINVAL; + error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); break; default: error = ether_ioctl(ifp, cmd, data); @@ -1785,6 +1792,7 @@ xn_stop(struct netfront_info *sc) xn_free_tx_ring(sc); ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); + if_link_state_change(ifp, LINK_STATE_DOWN); } /* START of Xenolinux helper functions adapted to FreeBSD */ @@ -1903,6 +1911,11 @@ create_netdev(device_t dev) np->xbdev = dev; XN_LOCK_INIT(np, xennetif); + + ifmedia_init(&np->sc_media, 0, xn_ifmedia_upd, xn_ifmedia_sts); + ifmedia_add(&np->sc_media, IFM_ETHER|IFM_MANUAL, 0, NULL); + ifmedia_set(&np->sc_media, IFM_ETHER|IFM_MANUAL); + np->rx_target = RX_MIN_TARGET; np->rx_min_target = RX_MIN_TARGET; np->rx_max_target = RX_MAX_TARGET; @@ -1987,7 +2000,8 @@ out: * acknowledgement. */ #if 0 -static void netfront_closing(device_t dev) +static void +netfront_closing(device_t dev) { #if 0 struct netfront_info *info = dev->dev_driver_data; @@ -2000,7 +2014,8 @@ static void netfront_closing(device_t de } #endif -static int netfront_detach(device_t dev) +static int +netfront_detach(device_t dev) { struct netfront_info *info = device_get_softc(dev); @@ -2011,8 +2026,8 @@ static int netfront_detach(device_t dev) return 0; } - -static void netif_free(struct netfront_info *info) +static void +netif_free(struct netfront_info *info) { netif_disconnect_backend(info); #if 0 @@ -2020,7 +2035,8 @@ static void netif_free(struct netfront_i #endif } -static void netif_disconnect_backend(struct netfront_info *info) +static void +netif_disconnect_backend(struct netfront_info *info) { XN_RX_LOCK(info); XN_TX_LOCK(info); @@ -2042,12 +2058,26 @@ static void netif_disconnect_backend(str } -static void end_access(int ref, void *page) +static void +end_access(int ref, void *page) { if (ref != GRANT_INVALID_REF) gnttab_end_foreign_access(ref, page); } +static int +xn_ifmedia_upd(struct ifnet *ifp) +{ + return (0); +} + +static void +xn_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) +{ + ifmr->ifm_status = IFM_AVALID|IFM_ACTIVE; + ifmr->ifm_active = IFM_ETHER|IFM_MANUAL; +} + /* ** Driver registration ** */ static device_method_t netfront_methods[] = { /* Device interface */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-xen@FreeBSD.ORG Tue Dec 1 17:56:36 2009 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 85A631065670; Tue, 1 Dec 2009 17:56:36 +0000 (UTC) (envelope-from gibbs@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5CE2C8FC08; Tue, 1 Dec 2009 17:56:36 +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 nB1HuaQq082657; Tue, 1 Dec 2009 17:56:36 GMT (envelope-from gibbs@freefall.freebsd.org) Received: (from gibbs@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB1HuaPU082653; Tue, 1 Dec 2009 17:56:36 GMT (envelope-from gibbs) Date: Tue, 1 Dec 2009 17:56:36 GMT Message-Id: <200912011756.nB1HuaPU082653@freefall.freebsd.org> To: tim@bishnet.net, gibbs@FreeBSD.org, freebsd-xen@FreeBSD.org From: gibbs@FreeBSD.org Cc: Subject: Re: kern/136251: [xen] [patch] xn0 doesn't DHCP 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: Tue, 01 Dec 2009 17:56:36 -0000 Synopsis: [xen] [patch] xn0 doesn't DHCP State-Changed-From-To: open->feedback State-Changed-By: gibbs State-Changed-When: Tue Dec 1 17:49:48 UTC 2009 State-Changed-Why: A fix was committed to 9-CURRENT and is included in this PR. Can you test out this change and verify that it resolves your issue? http://www.freebsd.org/cgi/query-pr.cgi?pr=136251 From owner-freebsd-xen@FreeBSD.ORG Tue Dec 1 18:14:21 2009 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 38AE41065692; Tue, 1 Dec 2009 18:14:21 +0000 (UTC) (envelope-from gibbs@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 102DA8FC28; Tue, 1 Dec 2009 18:14:21 +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 nB1IEKLJ000132; Tue, 1 Dec 2009 18:14:20 GMT (envelope-from gibbs@freefall.freebsd.org) Received: (from gibbs@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB1IEKil000128; Tue, 1 Dec 2009 18:14:20 GMT (envelope-from gibbs) Date: Tue, 1 Dec 2009 18:14:20 GMT Message-Id: <200912011814.nB1IEKil000128@freefall.freebsd.org> To: tim@bishnet.net, gibbs@FreeBSD.org, freebsd-xen@FreeBSD.org From: gibbs@FreeBSD.org Cc: Subject: Re: kern/136251: [xen] [patch] xn0 doesn't DHCP 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: Tue, 01 Dec 2009 18:14:21 -0000 Synopsis: [xen] [patch] xn0 doesn't DHCP State-Changed-From-To: feedback->closed State-Changed-By: gibbs State-Changed-When: Tue Dec 1 18:13:45 UTC 2009 State-Changed-Why: The fix works for me and the originator is no longer in a position to test the fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=136251 From owner-freebsd-xen@FreeBSD.ORG Wed Dec 2 03:22:34 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 2AEB9106566B for ; Wed, 2 Dec 2009 03:22:34 +0000 (UTC) (envelope-from kmatthew.macy@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id D14FF8FC12 for ; Wed, 2 Dec 2009 03:22:33 +0000 (UTC) Received: by gxk10 with SMTP id 10so1879475gxk.3 for ; Tue, 01 Dec 2009 19:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=m2qSGab4i4nZo77EBQ8ZHxIgIky/P2qhf6PRlMWeIbI=; b=D0m9PyVPQ/d6/B9FevCDvfxU53Ol1rj9lKSI9WPzAwguCcigRmdNn2yQTsOYc2+aTs xTTMRjfDHTungiPIyHNNXtGr4IdD0F0kmthi7k/tTq6VmSYoqNBQFxpMKFWML9XLkviY 2hx7GxjIkD4IWkrmTNN56wZ/bHbmKu/n1ebbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=x201P7K+Izt6rHdK92VVlnDal9groUugtgN+UlV3tgLfxfEY8SwZ+9E3GMnp4VzKZ6 u531pc2ny+fQVnIPLOP7OY04stG9bEiUZkPPWj88Givs0S/yWohgZgqzhu4Lau82b5Sk h7yYqUttYjvvIxjv7blARYaH6FhHnPXiouGdw= Received: by 10.91.183.4 with SMTP id k4mr9290679agp.41.1259724152956; Tue, 01 Dec 2009 19:22:32 -0800 (PST) Received: from ?192.168.1.4? (c-24-23-249-193.hsd1.ca.comcast.net [24.23.249.193]) by mx.google.com with ESMTPS id 36sm370540yxh.49.2009.12.01.19.22.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 19:22:32 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: "K. Macy" In-Reply-To: Date: Tue, 1 Dec 2009 19:22:28 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4AEF23FE.90604@gladserv.com> <4AF02B06.8090209@gladserv.com> <1258276895.3614.15.camel@glow> <4B0043B5.20601@tenebras.com> To: Josh Carter X-Mailer: Apple Mail (2.1077) Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD Xen domU ? 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, 02 Dec 2009 03:22:34 -0000 On Dec 1, 2009, at 8:35 AM, Josh Carter wrote: > Hi all, >=20 > On Dec 1, 2009, at 4:37 AM, Luke Marsden wrote: >=20 >> Thanks for your reply. I'll see what I can do about getting the = precise >> version (which I believe is indeed 3.0.3) and patches for you. Amazon = say on >> http://aws.amazon.com/ec2/ that "we work with our partners and = community to >> provide you with the most choice possible. You are also empowered to = use our >> bundling tools to upload your own operating systems"... so I'll = attempt to >> hold them to that :) >=20 > I've been in contact with Jeff Barr at Amazon over the past couple = months and he's trying to put me in contact with an "appropriate = technical resource" to support FreeBSD efforts toward a EC2-compatible = system. >=20 > Right now my company has a full-time expert working on FreeBSD on Xen, = but our focus is initially IO performance. We're running 64-bit HVM with = PV drivers. Given that Amazon runs Windows on EC2 they should have the = ability to run HVM, but the preferable solution is PV. I don't know when = PV will become a priority for somebody; for us (and some others I know) = it wouldn't matter until IO runs a lot faster. >=20 > In any case, help from Amazon would be welcome. There are a number of = companies interested in FreeBSD on Xen in various configurations, and = efforts from any party benefit everyone else. Scott Long re-wrote blkfront, I have since updated the copyright and = merged it in to HEAD. There is an extension to busdma that you may need, = depending on file system consumer. It doesn't perform much better on = random I/O due to design issues with blkback. We've debated re-writing = linux's blkback versus simply moving all I/O to a driver domain and = letting freebsd take care of it. -Kip= From owner-freebsd-xen@FreeBSD.ORG Fri Dec 4 03:26:48 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 E52381065670 for ; Fri, 4 Dec 2009 03:26:48 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-ew0-f216.google.com (mail-ew0-f216.google.com [209.85.219.216]) by mx1.freebsd.org (Postfix) with ESMTP id 732278FC08 for ; Fri, 4 Dec 2009 03:26:48 +0000 (UTC) Received: by ewy8 with SMTP id 8so2347252ewy.35 for ; Thu, 03 Dec 2009 19:26:47 -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=f8nHrlwBLm5OwDiBXGpbNs59vFEOTuSYRXKgYyrta3k=; b=EALKaid/VOqM5uYfIsZoTwsCjyomVxSuxT6rwHsyIXUJIc+L3Z5wgn/aNHef/zRI3i /T5m4oc71D96PgL5CbiUHA0KP/kAJkScae5Y0mRvLg7xuNStyqJDKtv9qBwluMvyOQsr dy1RY0w6H6EMqCOl+nm/w1HnH1WU0vIxbi4yw= 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=JzT3ZX1gxl5h3ey6ePI4fcphClTrtZRSxGOJ/tzpfuiROS5vNFVQJoKtz3cAcdxLga rFG6cpJNwkxOMPbRaJLdKlWJ0rjzbXdXRKHaR9A1ZSlkvoGYsroPgJnmt5qtLA1dIrVg 1ClDKycoScyKZGhQqvyiNj4r9MTZC2XpMgbKs= Received: by 10.213.25.72 with SMTP id y8mr6996021ebb.10.1259895529487; Thu, 03 Dec 2009 18:58:49 -0800 (PST) Received: from sevans-mac-pro.local (newbie.thingamajig-systems.co.uk [93.97.185.103]) by mx.google.com with ESMTPS id 7sm4772764eyg.41.2009.12.03.18.58.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Dec 2009 18:58:48 -0800 (PST) Message-ID: <4B187A5A.2030106@gmail.com> Date: Fri, 04 Dec 2009 02:56:26 +0000 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Error: (35, 'Resource temporarily unavailable') 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, 04 Dec 2009 03:26:49 -0000 Hiya I'm trying to get FreeBSD 8.0 AMD64 going on old sempron 2800+ running NetBSD 5.0.1 AMD64 running xen 3.3.2, I compiled the XENVHM kernel on another FreeBSD system, modified the __xen_guest in the kernel & copied across the xen host, when trying to start the domU I get: Error: (35, 'Resource temporarily unavailable') Any ideas? Sevan / Venture37 [2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:89) XendDomainInfo.create(['vm', ['name', 'freebsd'], ['memory', 256], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/usr/freebsd8kernel']]]]) [2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2043) XendDomainInfo.constructDomain [2009-12-04 03:15:33 204] DEBUG (balloon:132) Balloon: 1660652 KiB free; need 2048; done. [2009-12-04 03:15:33 204] DEBUG (XendDomain:449) Adding Domain: 18 [2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2149) XendDomainInfo.initDomain: 18 256 [2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2230) _initDomain:shadow_memory=0x0, memory_static_max=0x10000000, memory_static_min=0x0. [2009-12-04 03:15:33 204] DEBUG (balloon:132) Balloon: 1660644 KiB free; need 263168; done. [2009-12-04 03:15:33 204] INFO (image:166) buildDomain os=linux dom=18 vcpus=1 [2009-12-04 03:15:33 204] DEBUG (image:629) domid = 18 [2009-12-04 03:15:33 204] DEBUG (image:630) memsize = 256 [2009-12-04 03:15:33 204] DEBUG (image:631) image = /usr/freebsd8kernel [2009-12-04 03:15:33 204] DEBUG (image:632) store_evtchn = 1 [2009-12-04 03:15:33 204] DEBUG (image:633) console_evtchn = 2 [2009-12-04 03:15:33 204] DEBUG (image:634) cmdline = [2009-12-04 03:15:33 204] DEBUG (image:635) ramdisk = [2009-12-04 03:15:33 204] DEBUG (image:636) vcpus = 1 [2009-12-04 03:15:33 204] DEBUG (image:637) features = [2009-12-04 03:15:33 204] ERROR (XendDomainInfo:2288) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2261, in _initDomain channel_details = self.image.createImage() File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 149, in createImage return self.createDomain() File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 168, in createDomain result = self.buildDomain() File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 905, in buildDomain rc = LinuxImageHandler.buildDomain(self) File "usr/pkg/lib/python2.5/site-packages/xen/xend/image.py", line 650, in buildDomain vhpt = self.vhpt) Error: (35, 'Resource temporarily unavailable') [2009-12-04 03:15:33 204] ERROR (XendDomainInfo:467) VM start failed Traceback (most recent call last): File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 447, in start XendTask.log_progress(31, 60, self._initDomain) File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2291, in _initDomain raise VmError(str(exn)) VmError: (35, 'Resource temporarily unavailable') [2009-12-04 03:15:33 204] DEBUG (XendDomainInfo:2409) XendDomainInfo.destroy: domid=18 [2009-12-04 03:15:34 204] DEBUG (XendDomainInfo:1946) Destroying device model [2009-12-04 03:15:34 204] DEBUG (XendDomainInfo:1953) Releasing devices [2009-12-04 03:15:34 204] ERROR (XendDomainInfo:94) Domain construction failed Traceback (most recent call last): File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 92, in create vm.start() File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 447, in start XendTask.log_progress(31, 60, self._initDomain) File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2291, in _initDomain raise VmError(str(exn)) VmError: (35, 'Resource temporarily unavailable') xc_dom_allocate: cmdline="", features="" xc_dom_kernel_file: filename="/usr/freebsd8kernel" xc_dom_malloc_filemap : 6373 kB xc_dom_boot_xen_init: ver 3.3, caps xen-3.0-x86_64 xen-3.0-x86_32p xc_dom_parse_image: called xc_dom_find_loader: trying ELF-generic loader ... OK elf_parse_binary: phdr: paddr=0xffffffff80100000 memsz=0x4945a8 elf_parse_binary: phdr: paddr=0xffffffff806945c0 memsz=0x2ba7b8 elf_parse_binary: memory: 0xffffffff80100000 -> 0xffffffff8094ed78 elf_xen_parse: __xen_guest: "LOADER=generic,GUEST_OS=freebsd,GUEST_VER=8.0,XEN_VER=xen-3.0,BSD_SYMTAB,VIRT_BASE=0xC0000000" elf_xen_parse_guest_info: LOADER="generic" elf_xen_parse_guest_info: GUEST_OS="freebsd" elf_xen_parse_guest_info: GUEST_VER="8.0" elf_xen_parse_guest_info: XEN_VER="xen-3.0" elf_xen_parse_guest_info: BSD_SYMTAB="" elf_xen_parse_guest_info: VIRT_BASE="0xC0000000" elf_xen_addr_calc_check: ELF_PADDR_OFFSET unset, using 0xc0000000 elf_xen_addr_calc_check: addresses: virt_base = 0xc0000000 elf_paddr_offset = 0xc0000000 virt_offset = 0x0 virt_kstart = 0xffffffff80100000 virt_kend = 0xffffffff80a752b8 virt_entry = 0xffffffff8015b020 xc_dom_load_elf_symtab/parse: bsd_symtab_start=ffffffff80a752b8, kernel.end=0xffffffff80a752b8 -- symtab=0xffffffff80a752bc, maxaddr=0xffffffff80a75a80 xc_dom_load_elf_symtab: h=28 symtab, size=0x889c8, maxaddr=0xffffffff80afe448 xc_dom_load_elf_symtab: h=29 strtab, size=0x7dada, maxaddr=0xffffffff80b7bf28 xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80100000 -> 0xffffffff80b7bf28 xc_dom_mem_init: mem 256 MB, pages 0x10000 pages, 4k each xc_dom_mem_init: 0x10000 pages xc_dom_boot_mem_init: called x86_compat: guest xen-3.0-x86_64, address size 64 xc_dom_malloc : 512 kB xc_dom_build_image: called xc_dom_alloc_segment: kernel : 0xffffffff80100000 -> 0xffffffff80b7c000 (pfn 0xfffffffec0100 + 0xa7c pages) xc_dom_pfn_to_ptr: pfn out of range (0xfffffffec0100 > 0x10000) xc_dom_release: called objdump -j __xen_guest -s kernel kernel: file format elf64-x86-64 Contents of section __xen_guest: 0000 4c4f4144 45523d67 656e6572 69632c47 LOADER=generic,G 0010 55455354 5f4f533d 66726565 6273642c UEST_OS=freebsd, 0020 47554553 545f5645 523d382e 302c5845 GUEST_VER=8.0,XE 0030 4e5f5645 523d7865 6e2d332e 302c4253 N_VER=xen-3.0,BS 0040 445f5359 4d544142 2c564952 545f4241 D_SYMTAB,VIRT_BA 0050 53453d30 78433030 30303030 3000 SE=0xC0000000. # -*- mode: python; -*- #kernel = "/netbsd-INSTALL_XEN3_DOMU.gz" kernel = "/usr/freebsd8kernel" #bootloader = "/usr/pkg/bin/pygrub" memory = 256 name = "freebsd" #vif = [ 'bridge=bridge0' ] #disk = [ 'phy:/dev/wd0h,0x1,w' , 'file:/usr/iso/8.0-RELEASE-amd64-disc1.iso,0x04,r' ] #disk = [ 'file:/usr/iso/8.0-RELEASE-amd64-disc1.iso,0x04,r' ] #vfb = [ 'type=vnc,vncdisplay=1' ] #extra = "boot_verbose" #extra += ",boot_single" #extra += ",kern.hz=100" #extra += ",vfs.root.mountfrom=ufs:/dev/xbd769a" #extra += ",mfsroot_load=YES" #extra += ",mfsroot_type=mfs_root" #extra += ",mfsroot_name=/usr/mfsroot"