From owner-freebsd-xen@FreeBSD.ORG Mon May 18 08:06:14 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 6DAF0106564A for ; Mon, 18 May 2009 08:06:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 27E6F8FC16 for ; Mon, 18 May 2009 08:06:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so2042036qwe.7 for ; Mon, 18 May 2009 01:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uGDrHPDrmXeQegU7XOnmfXuQWa1scgpW4K06jRR3xpg=; b=Kd3EvBU3AjdnMZb86Y1Mhjq9yb6E5b0U7vdYyQkXJahtrrTHKKKAbHByFMN1LD77eG fiNtrfA/yJJEnEbpzGUlp0fua4Ax0VSDuBAFvRCpSeuD2Akq/xCnIps+uFmj3AFLq7k9 OybFVo5DLKoK8HE38FF6ReEN46Ig89dKBmeE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=hBIVdiisM0ESu9W1vmzG5mWwMXXj0RsXe1l+x1c6yjXg4DvyxJVRLZ8FLV+NhOlziz mXjejKNPFad7Lsd27v0hVEMOkNEjM0tQJcDPjJzsJnAKguoC+6/RpDwvzxUMqwAKZCEI bUbZP/43vGHz+PL9+XAALNUC0G6mqfNFNaT9c= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.81.70 with SMTP id w6mr3030590qck.11.1242632611804; Mon, 18 May 2009 00:43:31 -0700 (PDT) Date: Mon, 18 May 2009 15:43:31 +0800 X-Google-Sender-Auth: b05d9338481185d5 Message-ID: From: Adrian Chadd To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD-Xen Current updates 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, 18 May 2009 08:06:14 -0000 G'day everyone, I've been toying around with FreeBSD-Current and Xen over the last few days. I've quitened a niggling debug statement in the console code that printed something every time a character was read in the debugger. If a developer would like it re-enabled they can do it themselves; it was making my ddb sessions almost impossible to do. :) Kip had committed a fix to the netfront code a few months ago which was then accidentally undone by dfr. I've re-committed the fix to -head and this allows my Xen DomU to finish booting and start running. I've noticed that buildworlds seem to fail because of weird time related issues. Has anyone else seen some weird clock behaviour? Thats about it for now! Adrian From owner-freebsd-xen@FreeBSD.ORG Mon May 18 12:53:38 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 758BE1065687 for ; Mon, 18 May 2009 12:53:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3005B8FC16 for ; Mon, 18 May 2009 12:53:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so5637985qyk.3 for ; Mon, 18 May 2009 05:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WLprDijDmTxcapk8/AuamWyG1Hv8x5NsRSAIjnuWr7s=; b=bfBFwN3Is85lR8t3Ifpv3EPgtzJLT+W2C9ma+lS7nI3DVcvRYZj+ELeIH8HPZXehPO iR1rUgbeokPltmuGWjm1NbSnKFIe+N/zsXZcqemrX2BFvI5ctm5T4W5Nth69Ek7ccaV/ njzqqvwg9dsIGPzuMrsH/gwITtnUtqpSv3prI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=fuejhvJUf7WhWdF2+r3FZZ+/tgbnK8gs2DprWMzs+MHx6Vcife+SImU30lBlJqtZkd 4xkkzmjrqnOYn9zGNFksW6zCgUPVOCiWGTL9x8seRh4i/Phym5qIEElQzCOXgOMIEwvU lzDjQPMTY9uxlAUVB8gh2X6LGwYrDhahJmE6U= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.89.146 with SMTP id e18mr2940611qcm.23.1242651217295; Mon, 18 May 2009 05:53:37 -0700 (PDT) Date: Mon, 18 May 2009 20:53:37 +0800 X-Google-Sender-Auth: b20d5e3cdc98c189 Message-ID: From: Adrian Chadd To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: My FreeBSD-current/Xen install notes 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, 18 May 2009 12:53:38 -0000 I've started documenting (mostly for my own memory for now!) my experiences getting a working FreeBSD-current Xen environment together. http://wiki.freebsd.org/AdrianChadd/XenHackery Notable bits: pygrub works. :) Adrian From owner-freebsd-xen@FreeBSD.ORG Mon May 18 15:59:40 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 0B329106564A for ; Mon, 18 May 2009 15:59:40 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BA5AA8FC1A for ; Mon, 18 May 2009 15:59:39 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M65Fa-0005TX-Dn for freebsd-xen@freebsd.org; Mon, 18 May 2009 15:59:38 +0000 Received: from 89-186-142-125.dynamic.primacom.net ([89.186.142.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 May 2009 15:59:38 +0000 Received: from js by 89-186-142-125.dynamic.primacom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 May 2009 15:59:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-xen@freebsd.org From: Julian Stecklina Date: Mon, 18 May 2009 17:59:24 +0200 Lines: 27 Message-ID: <877i0ez9k3.fsf@tabernacle.lan> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-186-142-125.dynamic.primacom.net X-Archive: encrypt User-Agent: Gnus/5.101 (Gnus v5.10.10) Cancel-Lock: sha1:hYng/WUFD7p8ypuFKnpwQTOyFBs= Sender: news Subject: Re: FreeBSD-Xen Current updates 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, 18 May 2009 15:59:40 -0000 Adrian Chadd writes: > G'day everyone, > > I've been toying around with FreeBSD-Current and Xen over the last few days. > > I've quitened a niggling debug statement in the console code that > printed something every time a character was read in the debugger. If > a developer would like it re-enabled they can do it themselves; it was > making my ddb sessions almost impossible to do. :) > > Kip had committed a fix to the netfront code a few months ago which > was then accidentally undone by dfr. I've re-committed the fix to > -head and this allows my Xen DomU to finish booting and start running. > > I've noticed that buildworlds seem to fail because of weird time > related issues. Has anyone else seen some weird clock behaviour? Yes (after some minutes the clock jumps to some constant point in the past). But I have no Xen test box at the moment to verify that. :-/ Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge From owner-freebsd-xen@FreeBSD.ORG Mon May 18 17:00:33 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 719A21065672 for ; Mon, 18 May 2009 17:00:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 299598FC20 for ; Mon, 18 May 2009 17:00:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so5908709qyk.3 for ; Mon, 18 May 2009 10:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=05TojT0ESbV5GIWavy057J5AyyJrv+cPbgiRZ9KiqIg=; b=osicOm3yUA+SkOiDxaObqkoJ9HzjQaGyiHzFfETz3K4288B2szATV3QJnKDQ0TaeYB EwZ1Z+E72f9aNT7+2sTT/9Yg11t8FMYSB4yVtQQYbeYB2PSExtTvoVVvbg8RUXOJOwTH jp6fBHQSLNgJ36BiEEJUO+6RQEd/Ol22IhG4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=tBILAoXPdxE6lFd8iCcdplM5ON/mjv6TOXafonhJ47tJGXG8seRymMmtC0nh4GhEgy VjJA1zt6gJdiiZSKkH3qA6EoNOBRYShex+79dXl9hcWT4rtrB6fiyXIBao4Pf4KqtM40 spWViG+uAWpm4+g+a8oK72KZJPhwAn1oX1vR8= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.81.66 with SMTP id w2mr3113567qck.12.1242666022177; Mon, 18 May 2009 10:00:22 -0700 (PDT) Date: Tue, 19 May 2009 01:00:21 +0800 X-Google-Sender-Auth: dfae2f34f8e7dac8 Message-ID: From: Adrian Chadd To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD-current/Xen and block device enumeration 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, 18 May 2009 17:00:34 -0000 This config: disk = [ 'phy:/dev/hosting2_data2/XEN_freebsd_root,0x01,w', 'phy:/dev/hosting2_data2/XEN_freebsd_swap,0x02,w' ] Gives this output in dmesg: xbd0: 10240MB at device/vbd/1 on xenbus0 GEOM: new disk xbd0 xbd1: 512MB at device/vbd/2 on xenbus0 WARNING: WITNESS option enabled, expect reduced performance. GEOM: new disk xbd0 and then ls -l /dev/xbd* : freebsd_domu# ls -l /dev/xbd* crw-r----- 1 root operator 0, 41 May 18 02:51 /dev/xbd0 crw-r----- 1 root operator 0, 41 May 18 02:51 /dev/xbd0 Hm, I wonder whats busted! Adrian From owner-freebsd-xen@FreeBSD.ORG Mon May 18 17:36:16 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 31F2C106567A for ; Mon, 18 May 2009 17:36:16 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id AD0B28FC2A for ; Mon, 18 May 2009 17:36:15 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz9 with SMTP id 9so3339967bwz.43 for ; Mon, 18 May 2009 10:36:14 -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=tTF1S8KnI9rQKSjt7tRouoDwf2Ke6ZSTmnsVfj1sm8s=; b=PrCFNN/AmiSKA73YL9qKIFPC0tJGG6gWvSAH3WQAKYfNnXPjzT7zQW7QT+aYri57wW 79NT9YmER+DAAs7l+TsihbVqSZA69wF7qGbhmZn0FHWitFQoz0SXb0zOJ3KqaWc8DTyI ZctJhmkfp/M2kSuw+yql+XOF0FjKo1aBAZFIM= 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=UpjDTUdT/2ONFYxQz76w4HKrAvf+SRwRoR8FL5ZWJ4fkCEA+6YJ7gkkbQ9I7GeHlej /d7mfYjT+ShQvYefARNorAXvavDmITdV1IMkaSchpEpsu891sedaSHU6ZgDiCiTe3HpE 3HbLuQkMMgW92eF5hGnmuzRwbqqHmDMvrgNDk= Received: by 10.103.226.10 with SMTP id d10mr4217945mur.35.1242668174568; Mon, 18 May 2009 10:36:14 -0700 (PDT) Received: from ?10.30.1.100? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id j6sm373785mue.1.2009.05.18.10.36.13 (version=SSLv3 cipher=RC4-MD5); Mon, 18 May 2009 10:36:14 -0700 (PDT) From: Mister Olli To: freebsd-xen@freebsd.org Content-Type: text/plain Date: Mon, 18 May 2009 19:35:58 +0200 Message-Id: <1242668158.6255.14.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Subject: [Fwd: Re: FreeBSD-current/Xen and block device enumeration] 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: Mon, 18 May 2009 17:36:16 -0000 -------- Forwarded Message -------- > From: Mister Olli > Reply-to: mister.olli@googlemail.com > To: Adrian Chadd > Subject: Re: FreeBSD-current/Xen and block device enumeration > Date: Mon, 18 May 2009 19:07:16 +0200 > > hi, > > I had a similar setup with up to 4 block devices connected to a domU, > but my config looked a little bit different. Instead of 0x01/0x02/... > I've used hda/hdb/... and it worked quite well. > > Btw, I've never seen a 0x.. configuration before ;-)) > > Regards, > --- > Mr. Olli > > On Tue, 2009-05-19 at 01:00 +0800, Adrian Chadd wrote: > > This config: > > > > disk = [ > > 'phy:/dev/hosting2_data2/XEN_freebsd_root,0x01,w', > > 'phy:/dev/hosting2_data2/XEN_freebsd_swap,0x02,w' > > ] > > > > > > Gives this output in dmesg: > > > > xbd0: 10240MB at device/vbd/1 on xenbus0 > > GEOM: new disk xbd0 > > xbd1: 512MB at device/vbd/2 on xenbus0 > > WARNING: WITNESS option enabled, expect reduced performance. > > GEOM: new disk xbd0 > > > > and then ls -l /dev/xbd* : > > > > freebsd_domu# ls -l /dev/xbd* > > crw-r----- 1 root operator 0, 41 May 18 02:51 /dev/xbd0 > > crw-r----- 1 root operator 0, 41 May 18 02:51 /dev/xbd0 > > > > Hm, I wonder whats busted! > > > > > > > > Adrian > > _______________________________________________ > > 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 May 18 19:05:11 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 A40F0106564A; Mon, 18 May 2009 19:05:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 46F118FC0C; Mon, 18 May 2009 19:05:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so2250179qwe.7 for ; Mon, 18 May 2009 12:05:10 -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:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=9RUDr08hQeiL0STeG3j7Mc5/8ll27jatqgjhw8y2VSo=; b=UdHbPxbZHG/Ti9dt1d0YsB+HUDAQQQI26JeFgQEgW0WG8jLpXjHXt9oJOyIZwZ9308 /i06YPa0mrxg0wHv3vyCmzhMStHysCLt/1IcvTD8XoCWFMg240VpG20bZOZxVVj8lgNJ D3UUy4coAFpOLecjp212yoSC1SwtI5jdV0+w0= 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=FVwhnrm3jCemZr6Mt4Y9eQtDFjPPeTEP8u381DO0lARmUMJF6+yZ053r5+cyGt+DIe Wm4C+eDe8P/p+JDlrjpe8XtBH2oTlHeFusqVoJdsqG7W/J63w0ww82UiQ1/pgXwk/rtF qtRXTy5puukvkkzF+cIyyxQdGoQenovkEi9Uw= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.84.82 with SMTP id i18mr2999987qcl.90.1242673509896; Mon, 18 May 2009 12:05:09 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2009 03:05:09 +0800 X-Google-Sender-Auth: 63944ac50c6858bd Message-ID: From: Adrian Chadd To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD-current/Xen and block device enumeration 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, 18 May 2009 19:05:12 -0000 (Cross-posting to -current because of the way a badly confused Xen DomU confuses GEOM and populates invalid stuff.) 2009/5/19 Adrian Chadd : > This config: > > disk =3D [ > =A0 =A0 =A0 =A0'phy:/dev/hosting2_data2/XEN_freebsd_root,0x01,w', > =A0 =A0 =A0 =A0'phy:/dev/hosting2_data2/XEN_freebsd_swap,0x02,w' > =A0 =A0 =A0 =A0] Confuses some "linux" device unit naming type magic in the blkfront device = code. Anyway. To get xbd0 and xbd1 I need to use 0xCA00 and 0xCA10. The code matches on major 202 (0xca) and shifts the minor bits right to get partition ids (which I'm not using here.) This outlines some sanity checking and debugging which should be improved a little. > Gives this output in dmesg: > > xbd0: 10240MB at device/vbd/1 on xenbus0 > GEOM: new disk xbd0 > xbd1: 512MB at device/vbd/2 on xenbus0 > WARNING: WITNESS option enabled, expect reduced performance. > GEOM: new disk xbd0 .. since I shouldn't be able to do that. > > and then ls -l /dev/xbd* : > > freebsd_domu# ls -l /dev/xbd* > crw-r----- =A01 root =A0operator =A0 =A00, =A041 May 18 02:51 /dev/xbd0 > crw-r----- =A01 root =A0operator =A0 =A00, =A041 May 18 02:51 /dev/xbd0 .. or that. Adrian From owner-freebsd-xen@FreeBSD.ORG Tue May 19 03:02:36 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 29037106566B for ; Tue, 19 May 2009 03:02:36 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: from s217.sureserver.com (s217.sureserver.com [203.194.200.22]) by mx1.freebsd.org (Postfix) with ESMTP id 7A53D8FC12 for ; Tue, 19 May 2009 03:02:30 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: (qmail 31705 invoked by uid 1002); 19 May 2009 02:35:49 -0000 Received: from unknown (HELO ?10.10.10.8?) (saifi.khan@twincling.org@59.92.196.6) by s217.sureserver.com with ESMTPA; 19 May 2009 02:35:49 -0000 Date: Tue, 19 May 2009 08:08:31 +0000 (GMT) From: Saifi Khan X-X-Sender: saifi@localhost To: Adrian Chadd In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 19 May 2009 03:02:36 -0000 On Mon, 18 May 2009, Adrian Chadd wrote: > I've started documenting (mostly for my own memory for now!) my > experiences getting a working FreeBSD-current Xen environment > together. > > http://wiki.freebsd.org/AdrianChadd/XenHackery > > Notable bits: pygrub works. :) > > Adrian Hi: What is the extent of Dom0 support for FreeBSD 8.x with Xen 3.3.x ? My interest is to run multiple guest OS hosted on a Xen-ified (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 box. Any pointers or observations ? thanks Saifi. From owner-freebsd-xen@FreeBSD.ORG Tue May 19 03:52:36 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 92425106564A; Tue, 19 May 2009 03:52:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 20C828FC08; Tue, 19 May 2009 03:52:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so2394236qwe.7 for ; Mon, 18 May 2009 20:52:35 -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:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Z3quKB8KH3HJeVHtzJ9aE3mgzf82DOKVAEZwfOeU/pk=; b=qsiWW/EadudZZRHvqgP9tShLXsmz5b515FHauZ+qgKp+XWFcnIzooDv9PYiCH4h2Lk UQHCRpXTtaC4ljDxDIie6N2vE3f7rXT6aGilKVoIjLDQnlrPYUCNzsZQ2qq6DSzyvsMl PGPfVpuc5xFecN8MNk9RPPpdfn+8gfTPbC2rY= 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=NBNrU2SglVb17X/hW2nzdcuLp5jJ6wd9e4Y14OhsZPS0iC13dkFPpipGN/NYhNWyKP EQkvkpfbc6zt3vrq0EkJvfqZHUSJ80jVgxhHHgQwMQaiOt7gbnYKJSvl4+mwm8RO3I1i ZmyB0eV6mFH5YQHjWSBxcKBxhdj5v6jtv5dX0= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.82.83 with SMTP id a19mr3260113qcl.42.1242705155565; Mon, 18 May 2009 20:52:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2009 11:52:35 +0800 X-Google-Sender-Auth: 57568e0970ba6570 Message-ID: From: Adrian Chadd To: Saifi Khan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 19 May 2009 03:52:37 -0000 I don't think there's any support for Dom0 stuff in FreeBSD. http://wiki.freebsd.org/FreeBSD/Xen has further information about what is and isn't supported at this time. Adrian 2009/5/19 Saifi Khan : > On Mon, 18 May 2009, Adrian Chadd wrote: > >> I've started documenting (mostly for my own memory for now!) my >> experiences getting a working FreeBSD-current Xen environment >> together. >> >> http://wiki.freebsd.org/AdrianChadd/XenHackery >> >> Notable bits: pygrub works. :) >> >> Adrian > > Hi: > > What is the extent of Dom0 support for FreeBSD 8.x with Xen > 3.3.x ? > > My interest is to run multiple guest OS hosted on a Xen-ified > (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 > box. > > Any pointers or observations ? > > > thanks > Saifi. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-xen@FreeBSD.ORG Tue May 19 04:24:16 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 391C1106564A for ; Tue, 19 May 2009 04:24:16 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: from s217.sureserver.com (s217.sureserver.com [203.194.200.22]) by mx1.freebsd.org (Postfix) with ESMTP id A703B8FC19 for ; Tue, 19 May 2009 04:24:15 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: (qmail 4932 invoked by uid 1002); 19 May 2009 04:24:13 -0000 Received: from unknown (HELO ?10.10.10.8?) (saifi.khan@twincling.org@59.92.196.6) by s217.sureserver.com with ESMTPA; 19 May 2009 04:24:13 -0000 Date: Tue, 19 May 2009 09:56:54 +0000 (GMT) From: Saifi Khan X-X-Sender: saifi@localhost To: Adrian Chadd In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 19 May 2009 04:24:16 -0000 On Tue, 19 May 2009, Adrian Chadd wrote: > I don't think there's any support for Dom0 stuff in FreeBSD. > > http://wiki.freebsd.org/FreeBSD/Xen has further information about what > is and isn't supported at this time. > > Adrian > > 2009/5/19 Saifi Khan : > > On Mon, 18 May 2009, Adrian Chadd wrote: > > > >> I've started documenting (mostly for my own memory for now!) my > >> experiences getting a working FreeBSD-current Xen environment > >> together. > >> > >> http://wiki.freebsd.org/AdrianChadd/XenHackery > >> > >> Notable bits: pygrub works. :) > >> > >> Adrian > > > > Hi: > > > > What is the extent of Dom0 support for FreeBSD 8.x with Xen > > 3.3.x ? > > > > My interest is to run multiple guest OS hosted on a Xen-ified > > (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 > > box. > > > > Any pointers or observations ? > > Hi Adrian: Thank you for the clarification about "no dom0 support in FreeBSD 8.x as of now". Yes, i did visit the wiki link couple of months ago and in fact dropped a mail to Kip as well :) there was no response, guess he was busy. i'd be thankful, if you could share your observations about the following: . is dom0 support something that FreeBSD will target at some point in time or would be happy to be domU ? . there was some mention of vimage/bitvisor in one of the slides (i think on scribd.com). So, is it that jails getting extended to support virtualization+containers and thus a entirely different approach which does not use Xen ? . is it envisaged that a stable NetBSD dom0 implementation would then be ported to FreeBSD (maybe) ? Thank you for your time. thanks Saifi. From owner-freebsd-xen@FreeBSD.ORG Tue May 19 09:07:43 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 140AF1065677; Tue, 19 May 2009 09:07:43 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id ECF8C8FC21; Tue, 19 May 2009 09:07:40 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by ewy3 with SMTP id 3so4542351ewy.43 for ; Tue, 19 May 2009 02:07:39 -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:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=x1/t/ZJ7Ytx0LCzp9HbzIzSl26sBbYxR7sANE/60iuA=; b=r5U2wZvx3FJOr9PrfG9fsBfxiBPv1k3GmW8wyyv3IPagE5hvt7gfh3aoeALQueVCh+ 0FapUTyteml1Ao/rllNd+K/0hh6AjTxFDF4gNkDretrhc1Aqo3Rw6zocCBwKPwtmbaRj 8iCJWpoLY4xsf/dZbr/OQI/fbTJ3nGXzf1/bU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=x3B7759xfI/bvK+bl82MVaL7tDDCqzxCQBtWL9tQzmtIcJo6YwfQkj/V4FQoT4IpOu WbpqepuryK6+AMZJzzS5Q8v1eYvUXDCrhCO4C5jg5VDtsyWh7sSeos6++9OFl9CVygzH 1zmMjBW7GVCXmqppEH9PRRK2uRw0l6buQxJaA= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.210.127.13 with SMTP id z13mr8810819ebc.10.1242722691134; Tue, 19 May 2009 01:44:51 -0700 (PDT) In-Reply-To: References: From: Ivan Voras Date: Tue, 19 May 2009 10:44:31 +0200 X-Google-Sender-Auth: 0cbe6cb0968f6697 Message-ID: <9bbcef730905190144w3c0242e0j24434f4924702723@mail.gmail.com> To: Saifi Khan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 19 May 2009 09:07:43 -0000 2009/5/19 Saifi Khan : > =C2=A0. is dom0 support something that FreeBSD will target at some > =C2=A0 point in time or would be happy to be domU ? I cannot speak for the developers but at BSDCan it was stated that dom0 would be a large chunk of job that deserves funding. The developers are interested. > =C2=A0. there was some mention of vimage/bitvisor in one of the > =C2=A0 slides (i think on scribd.com). So, is it that jails getting > =C2=A0 extended to support virtualization+containers and thus a > =C2=A0 entirely different approach which does not use Xen ? VIMAGE and jails are OS-level virtualization, orthogonal to Xen. http://en.wikipedia.org/wiki/Operating_system-level_virtualization > =C2=A0. is it envisaged that a stable NetBSD dom0 implementation > =C2=A0 would then be ported to FreeBSD (maybe) ? Probably not - the systems are too different now. From owner-freebsd-xen@FreeBSD.ORG Tue May 19 13:31: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 E34E81065670; Tue, 19 May 2009 13:31:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6ADF48FC12; Tue, 19 May 2009 13:31:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so6738732qyk.3 for ; Tue, 19 May 2009 06:31:07 -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:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Ad/wgvh1RyQEEWphH+4okAyZKXbVI2PUp5cZBlXEWgc=; b=f1P9QyUiFoNpvAhcCckPZl/11u9J6rkaRipbdnZ3icAgtWsze+yTXwUtnF8wPue5p1 8EUt2R+V4RTgU7Ly32eKPRFkijSvPciMX1PlyLB4TNELQJA/RHfLGfbfjluMIp57MlG3 ZAUzDAZNJUY/sOJTTo3n+vZwS5rI8C3Tb1WTU= 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=Kku4i9WwqkmE8pkbdtu2E4ubkVJDYKAIqmr2UFiq+XBzEJK6luuDKFA2C9n3fDYnuZ oF7dgyNkynr3I6otINQmnPWyhX5Ax3hwDIslDngwFqR9UuDjDWFatAn7EBmP8xGGiXC8 bwSxbM2CNt3OuIkqLCQGZikmCunyXU9y8pzvA= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.74.71 with SMTP id t7mr9653qcj.67.1242739867464; Tue, 19 May 2009 06:31:07 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2009 21:31:07 +0800 X-Google-Sender-Auth: e4355dfded71b240 Message-ID: From: Adrian Chadd To: Saifi Khan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 19 May 2009 13:31:09 -0000 2009/5/19 Saifi Khan : > =A0. is dom0 support something that FreeBSD will target at some > =A0 point in time or would be happy to be domU ? If Kip (and other Xen-clueful people get funding) - and there's time - then I bet so. > =A0. there was some mention of vimage/bitvisor in one of the > =A0 slides (i think on scribd.com). So, is it that jails getting > =A0 extended to support virtualization+containers and thus a > =A0 entirely different approach which does not use Xen ? These solve different problem sets. :) People seem to think "virtualisation" is "virtualisation". It isn't. It depends on what kind(s) of problems you're trying to solve. Xen solves a certain set of virtualisation problems. > =A0. is it envisaged that a stable NetBSD dom0 implementation > =A0 would then be ported to FreeBSD (maybe) ? No idea. Is it stable? :) Personally, I'd prefer to see the FreeBSD DomU stuff 100% bulletproof and documented before more stuff is hacked on, but as I said before, I'm just interested in getting the current pieces into some kind of documented shape; I'm not hacking on Xen by any stretch of the imagination! Adrian From owner-freebsd-xen@FreeBSD.ORG Tue May 19 16:25:14 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 0CBBF1065670 for ; Tue, 19 May 2009 16:25:14 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: from s217.sureserver.com (s217.sureserver.com [203.194.200.22]) by mx1.freebsd.org (Postfix) with ESMTP id 575708FC1C for ; Tue, 19 May 2009 16:25:12 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: (qmail 26494 invoked by uid 1002); 19 May 2009 16:25:10 -0000 Received: from unknown (HELO ?10.10.10.8?) (saifi.khan@twincling.org@59.92.196.6) by s217.sureserver.com with ESMTPA; 19 May 2009 16:25:10 -0000 Date: Tue, 19 May 2009 21:57:48 +0000 (GMT) From: Saifi Khan X-X-Sender: saifi@localhost To: Adrian Chadd In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 19 May 2009 16:25:15 -0000 On Tue, 19 May 2009, Adrian Chadd wrote: > > People seem to think "virtualisation" is "virtualisation". It isn't. > It depends on what kind(s) of problems you're trying to solve. Xen > solves a certain set of virtualisation problems. > Could you please share 'your insight' on the 'set of virtualization problems' that Xen solves ? thanks Saifi. From owner-freebsd-xen@FreeBSD.ORG Wed May 20 00:30: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 BBE79106566B; Wed, 20 May 2009 00:30:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 42C218FC13; Wed, 20 May 2009 00:30:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so88885qwe.7 for ; Tue, 19 May 2009 17:30:09 -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:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=memFkR/8MskyjvizZkQAApRcrLz5sBFuqefHAlgxnrI=; b=QwwMidKHLu9hfI1Sint+/sO1T2tQXwUyPZJ4ywoe8ClckiNQpalE0NIc9QURq0H960 rcvwllYQbaWORLiMbknvmv8MxtWWBkjVThzGiRvu8B166M7uXhueheRtkxP8ECjKzvb9 TIA8k3Q1iyrqESw356pMLkEoEFCV/beG15COE= 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=eTsI1kBUNTUGNL+JHCThW6s7Yb9fgVJGkzhnDRn3QvPNhmuzTjGuIbtAxW73qLNrig xLt9tDtvV5BXQWNNevCqQP8QRphdY8Lv/TUwOYmMcylmf+4dEA6BNgSBM+D+eNGf4NRN y2nGG78c2hkWJcEbGRbCRYWMRQuUpAds1OFQQ= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.96.73 with SMTP id g9mr242960qcn.45.1242779409662; Tue, 19 May 2009 17:30:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2009 08:30:09 +0800 X-Google-Sender-Auth: 3bd29d3f5446f850 Message-ID: From: Adrian Chadd To: Saifi Khan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 20 May 2009 00:30:11 -0000 2009/5/20 Saifi Khan : > Could you please share 'your insight' on the > 'set of virtualization problems' that Xen solves ? Xen lets you run multiple versions of modified OSes on the same box. Each OS for the most part can treat its small pool of resources as its own. It hides the underlying hardware from the virtual domain (although its apparently quite popular to break out bits of hardware to appear in the virtual domain.) The Xen paravirtualisation stuff in -theory- should be more lightweight than full hardware virtualisation and it should perform better. In practice? That's very much workload dependant. Xen also lets you write "other" OSes without needing to care about the hardware. One of my friends bootstrapped a toy OS of his inside Xen. He can then run it on any and all Xen boxes, unmodified, regardless of the underlying hardware. That really hasn't been exploited to its full potential though. Adrian From owner-freebsd-xen@FreeBSD.ORG Fri May 22 00:40:29 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 DECB31065674; Fri, 22 May 2009 00:40:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6772E8FC2C; Fri, 22 May 2009 00:40:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n4LLqSZC007094; Fri, 22 May 2009 07:52:28 +1000 Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n4LLqN95011775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 May 2009 07:52:24 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n4LLqNEj010820; Fri, 22 May 2009 07:52:23 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n4LLqLA4010819; Fri, 22 May 2009 07:52:21 +1000 (EST) (envelope-from peter) Date: Fri, 22 May 2009 07:52:21 +1000 From: Peter Jeremy To: Adrian Chadd Message-ID: <20090521215221.GA98253@server.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, Saifi Khan , freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 22 May 2009 00:40:30 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-May-20 08:30:09 +0800, Adrian Chadd wrote: >Xen also lets you write "other" OSes without needing to care about the >hardware. One of my friends bootstrapped a toy OS of his inside Xen. >He can then run it on any and all Xen boxes, unmodified, regardless of >the underlying hardware. That really hasn't been exploited to its full >potential though. This isn't a particularly new idea: The 'CMS' part of IBM VM/CMS was a hypervisor-aware OS that couldn't run on bare metal. Relying on the hypervisor for some "traditional" OS services offers plenty of scope for interesting developments. One area would be in University Operating Systems courses - it would again be possible to offer practical coursework on operating systems that are comprehendable in their entirety (ala V6 and Minix). --=20 Peter Jeremy --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoVzRUACgkQ/opHv/APuIfQCwCeLwqoTwMdt0p5z86D/NoP5mPA jtwAnAoIbSA3YzF816uP5rWrkMcTG0CN =OdBk -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- From owner-freebsd-xen@FreeBSD.ORG Fri May 22 11:37:22 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 89C0C106568D for ; Fri, 22 May 2009 11:37:22 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 7787E8FC2B for ; Fri, 22 May 2009 11:37:22 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from frylock.local (c-71-198-249-174.hsd1.ca.comcast.net [71.198.249.174]) by mail.prgmr.com (Postfix) with ESMTP id 41D3868B6A for ; Fri, 22 May 2009 04:37:22 -0700 (PDT) Message-ID: <4A168E71.2090303@prgmr.com> Date: Fri, 22 May 2009 04:37:21 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: freebsd-xen@freebsd.org References: <49D6C910.8010409@prgmr.com> In-Reply-To: <49D6C910.8010409@prgmr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: We'd like to help with 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, 22 May 2009 11:37:23 -0000 Michael David Crawford wrote: > Prgmr.com, Inc. (http://prgmr.com/) is a Xen-based Virtual Private > Server hosting service. We presently offer Linux and NetBSD DomUs, and > would like to offer FreeBSD as well. > > I've been asked to help get FreeBSD to work under Xen. My understanding > is that FreeBSD can be gotten to boot as a DomU, but doesn't work reliably. I just thought I should let you all know that I haven't just disappeared, and we are still as committed as we ever were to help with Xen on FreeBSD. However, I've had some trouble getting Xen to work at all on my own personal box. Largely this is because it has a 3ware 9690SA RAID, which is only supported in recent Linux kernels, while the production versions of Xen all use older kernels. > I'm an experienced programmer, but not at all with FreeBSD. The closest > I've come to FreeBSD work is the Mac OS X kernel, which is in part based > on FreeBSD. I also used to work with the old BSD-based SunOS, many > years ago. I hadn't done much Linux kernel programming either, so I figured a good way to learn would be to backport the 3ware driver. Such backporting is necessary because the Linux kernel's internal API changes with the phase of the moon. O'Reilly's Understanding the Linux Kernel and Linux Device Drivers were invaluable, but in the end what I have done is to install the latest unstable Xen sources, which work with the latest unstable Linux kernel - which includes the (hopefully) stable 3ware driver. > Other than being eager to help, I don't even know where to start. Of > course I will need to learn FreeBSD kernel programming, but I don't even > know where to start with that. Soon I'll start reading The Design and Implementation of the FreeBSD Operating System. I expect that once I've read just a few chapters I can start helping with Xen on FreeBSD in a meaningful way. I also have a box that boots 8.0-CURRENT natively (not under Xen), so that I can learn about FreeBSD kernel and device driver programming without the added complexity of running under Xen. I won't have time to deal with it for a long, long time, but lately I've also been toying with the idea of paravirtualizing Haiku. It's a binary-compatible Open Source clone of the BeOS: http://www.haiku-os.org/ So in summary, I don't have any working code for you, and probably won't anytime soon, but I am determined to have some eventually. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-xen@FreeBSD.ORG Fri May 22 11:41:47 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 65B2D106567A; Fri, 22 May 2009 11:41:47 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4ECC38FC33; Fri, 22 May 2009 11:41:47 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from frylock.local (c-71-198-249-174.hsd1.ca.comcast.net [71.198.249.174]) by mail.prgmr.com (Postfix) with ESMTP id 3B76268B5F; Fri, 22 May 2009 04:22:06 -0700 (PDT) Message-ID: <4A168ADA.3040505@prgmr.com> Date: Fri, 22 May 2009 04:22:02 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: freebsd-xen@freebsd.org References: <9bbcef730905190144w3c0242e0j24434f4924702723@mail.gmail.com> In-Reply-To: <9bbcef730905190144w3c0242e0j24434f4924702723@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 22 May 2009 11:41:47 -0000 > VIMAGE and jails are OS-level virtualization, orthogonal to Xen. I want to run Xen so I can build and test Ogg Frog[1] on each of the target platforms I plan to support. I built a fancy Xeon box so that I could even build and test on all the platforms simultaneously. I also operate a couple Internet servers, which are themselves Xen DomUs at commercial Xen Virtual Private Server hosting services. I'd like to place each service that they operate into a jail, so that if someone manages to bust in because of a security hole in one of the server programs, they would only be able to get at the contents of that particular jail. But all of the jails are just subdivisions of a single operating system; I can't run other OSes within them. [1] http://www.oggfrog.com/free-music-software/ No, there is nothing to download yet. Real Soon Now. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-xen@FreeBSD.ORG Fri May 22 13:00:04 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 02CD41065670 for ; Fri, 22 May 2009 13:00:03 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 774BE8FC1E for ; Fri, 22 May 2009 13:00:03 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1M7ULz-0000l1-DS for freebsd-xen@freebsd.org; Fri, 22 May 2009 13:00:03 +0000 Received: from pd95d6d08.dip.t-dialin.net ([217.93.109.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 May 2009 13:00:03 +0000 Received: from js by pd95d6d08.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 May 2009 13:00:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-xen@freebsd.org From: Julian Stecklina Followup-To: poster Date: Fri, 22 May 2009 14:57:54 +0200 Lines: 32 Message-ID: <87pre1nvl9.fsf@tabernacle.lan> References: <20090521215221.GA98253@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd95d6d08.dip.t-dialin.net X-Archive: encrypt User-Agent: Gnus/5.101 (Gnus v5.10.10) Cancel-Lock: sha1:TLV86IYUCh1ei2cmHzSb5cDhFDg= Sender: news Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 22 May 2009 13:00:04 -0000 Peter Jeremy writes: > On 2009-May-20 08:30:09 +0800, Adrian Chadd wrote: >>Xen also lets you write "other" OSes without needing to care about the >>hardware. One of my friends bootstrapped a toy OS of his inside Xen. >>He can then run it on any and all Xen boxes, unmodified, regardless of >>the underlying hardware. That really hasn't been exploited to its full >>potential though. > > This isn't a particularly new idea: The 'CMS' part of IBM VM/CMS was a > hypervisor-aware OS that couldn't run on bare metal. > > Relying on the hypervisor for some "traditional" OS services offers > plenty of scope for interesting developments. One area would be in > University Operating Systems courses - it would again be possible to > offer practical coursework on operating systems that are comprehendable > in their entirety (ala V6 and Minix). You can use microkernels[1] for almost the same thing. It's what we do at Technische Universität Dresden. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge Footnotes: [1] There is a sexy new microhypervisor to be released Real Soon Now(tm) too: http://eurosys09dw.systems.ethz.ch/steinberg.pdf From owner-freebsd-xen@FreeBSD.ORG Fri May 22 20:07:30 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 A62A610656C0; Fri, 22 May 2009 20:07:30 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 419DA8FC0A; Fri, 22 May 2009 20:07:30 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1178773yxb.13 for ; Fri, 22 May 2009 13:07:29 -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:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=yxA4r+CkoEAk9lxij0XuORTj451KmCbrBg4Fq7kUFVU=; b=p39+TwJNsVvVL7j4UXmNguXqASrqJUcZuv5d5+hsdIkujGylbLqM68O/D48CUaoNFo +YKIM9BlHHrhq9uGxQ7/ai+MKTopf1pJLrqbOcZYR2GWA7J80AMCUCJ7Kz5a5gvUJ24r vMs9JYQ3cQJEmkXPc1EtuV/X1xU6J++gc+Kpg= 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=AlI92jS2Zo3Xooqoagzlm/QQtP9UvSnF8FYrceSic9V9H8aa9WvDZL/I7TOx2S8Srm Tn0AkLxJnHHmsI6VCoZzpFmI3a1WtXrQfFP58gk4m80JSLlnGhWNzR4RhQ6wUOpDxXMT lyDMnhBkZr8KiRgNLVkO/ofnxZNReFWyte5YY= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.215.12 with SMTP id n12mr7873454ang.133.1243021580124; Fri, 22 May 2009 12:46:20 -0700 (PDT) In-Reply-To: <87pre1nvl9.fsf@tabernacle.lan> References: <20090521215221.GA98253@server.vk2pj.dyndns.org> <87pre1nvl9.fsf@tabernacle.lan> Date: Fri, 22 May 2009 12:46:20 -0700 X-Google-Sender-Auth: 57c82705d4d1557f Message-ID: <3c1674c90905221246x6323cd25w99664334c6a6a2c4@mail.gmail.com> From: Kip Macy To: Julian Stecklina Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 22 May 2009 20:07:31 -0000 > You can use microkernels[1] for almost the same thing. It's what we do > at Technische Universit=E4t Dresden. > > Regards, > -- > Julian Stecklina > > The day Microsoft makes something that doesn't suck is probably the day > they start making vacuum cleaners - Ernst Jan Plugge > > Footnotes: > [1] =A0There is a sexy new microhypervisor to be released Real Soon > =A0 =A0 Now(tm) too: > =A0 =A0 http://eurosys09dw.systems.ethz.ch/steinberg.pdf > Based on L4Linux, I believe that the amount of work required for porting a PV OS is much less than creating a new "personality" for a microkernel. That said, isn't a hypervisor really a microkernel with device and virtual memory abstraction API? Cheers, Kip From owner-freebsd-xen@FreeBSD.ORG Sat May 23 01:24:01 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 D220B106566C; Sat, 23 May 2009 01:24:01 +0000 (UTC) (envelope-from js@alien8.de) Received: from mail.skyhub.de (cl-3117.ham-01.de.sixxs.net [IPv6:2001:6f8:900:c2c::2]) by mx1.freebsd.org (Postfix) with ESMTP id 45E5A8FC12; Sat, 23 May 2009 01:24:00 +0000 (UTC) (envelope-from js@alien8.de) Received: from localhost (localhost [127.0.0.1]) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTP id 349F11D9CFC; Sat, 23 May 2009 03:23:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1243041839; bh=2n/VkNwwzG1NMoSnbnBr01vWZBEPMWOhR1lacuMnppI=; h=To:Cc:Subject:References:From:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=PBWt4Ne4zhJMU8IaibQASj33MZKt2AueB4laX ubF53RZL0lkEELOnaC41o4Kpsmt1apr0QzBDEhpSzCiXc3fEWqBoD/P8LAM1yrbu29i Vr6ibUiHUU8wil9PCUaHOqTFoX/9uzkEu52xMzthcLpXPyQInP8YrECF5cQBJolhAvc = X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id H3ey5ZAF72fm; Sat, 23 May 2009 03:23:59 +0200 (CEST) Received: from tabernacle.localnet (cl-76.dus-01.de.sixxs.net [IPv6:2a01:198:200:4b::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 86A681D9CE7; Sat, 23 May 2009 03:23:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1243041839; bh=2n/VkNwwzG1NMoSnbnBr01vWZBEPMWOhR1lacuMnppI=; h=To:Cc:Subject:References:From:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=PBWt4Ne4zhJMU8IaibQASj33MZKt2AueB4laX ubF53RZL0lkEELOnaC41o4Kpsmt1apr0QzBDEhpSzCiXc3fEWqBoD/P8LAM1yrbu29i Vr6ibUiHUU8wil9PCUaHOqTFoX/9uzkEu52xMzthcLpXPyQInP8YrECF5cQBJolhAvc = To: Kip Macy References: <20090521215221.GA98253@server.vk2pj.dyndns.org> <87pre1nvl9.fsf@tabernacle.lan> <3c1674c90905221246x6323cd25w99664334c6a6a2c4@mail.gmail.com> X-Archive: encrypt From: Julian Stecklina X-Hashcash: 1:23:090523:kmacy@freebsd.org::qb6TbMwRT4GY+8oG:00000000000000000000000000000000000000000000wQxv X-Hashcash: 1:23:090523:freebsd-current@freebsd.org::EHGjR14AIpUfmsuO:00000000000000000000000000000000014mzw X-Hashcash: 1:23:090523:freebsd-xen@freebsd.org::a5DBnYZlCYFmQ6Rj:00000000000000000000000000000000000000dgFB X-Hashcash: 1:23:090523:freebsd-questions@freebsd.org::9yAgXMAOhqAsldAb:00000000000000000000000000000000BVn+ Date: Sat, 23 May 2009 03:23:56 +0200 In-Reply-To: <3c1674c90905221246x6323cd25w99664334c6a6a2c4@mail.gmail.com> (Kip Macy's message of "Fri\, 22 May 2009 12\:46\:20 -0700") Message-ID: <87octk4no3.fsf@tabernacle.lan> User-Agent: Gnus/5.101 (Gnus v5.10.10) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: My FreeBSD-current/Xen install notes 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, 23 May 2009 01:24:02 -0000 Kip Macy writes: > Based on L4Linux, I believe that the amount of work required for > porting a PV OS is much less than creating a new "personality" for a > microkernel. That said, isn't a hypervisor really a microkernel with > device and virtual memory abstraction API? OS personalities were a promise that was always brought up with microkernels, but never really delivered. Although, L4Linux could be seen as "Linux personality" for L4. The nice thing about microkernels is that they abstract enough of the underlying hardware to be open for a lot of experimenting. I think this is quite nice for student projects. On the microkernel vs. hypervisor topic: L4 has a very nice virtual memory abstraction and you can build device abstraction quite easily on top of it. If you only want paravirtualization, L4 could have delivered that years before Xen did. And actually it did: L4Linux exists for quite some time and I believe that there was also a paper on live migration of L4Linux instances way before Xen did that. IMHO given some commercial support (and some foresight), L4 could have been the better Xen. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge From owner-freebsd-xen@FreeBSD.ORG Sat May 23 10:46:27 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 893631065672 for ; Sat, 23 May 2009 10:46:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 45CB28FC1E for ; Sat, 23 May 2009 10:46:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so3498491qyk.3 for ; Sat, 23 May 2009 03:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7kj2DmT3TdVF29H1U2dZE3qMkt/Y/UG2j3+1X+1yTqA=; b=J2zzx59wsJg+Kt6jYzLMBY68z8jJcSJM6fbqZ06K8heQGCUU8BzYEGnB88WMeaYHPy 8MQw7mxZRfdknXzR/l5lb/VsoAMntkH69MwvBUf0zgf0uhxe5fXPRKtpNDZcuuHyETsI +IsTqHaejGZ7boaVCm1zT9Gk8UPm+0Fqou5FE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=AjKxemQGhOe4OGfEdHnVI8fvS6HDFXvFa61nMhFKjwjliA6Mvmf9LjpfhdicoIe5h4 Wws1wnk5zJyNWfchiqgq6k/T229BeqXj664Sjfr75otHQqciFALa4B6z+D+Q0AAsH/iK Fr9Od6bDDMRaKqtn+rp+n6iqkk6XInwfvnDhw= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.110.13 with SMTP id l13mr1701829qcp.4.1243075579030; Sat, 23 May 2009 03:46:19 -0700 (PDT) Date: Sat, 23 May 2009 18:46:19 +0800 X-Google-Sender-Auth: 52c956b079b02234 Message-ID: From: Adrian Chadd To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD-current Xen image 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, 23 May 2009 10:46:28 -0000 I've put up a recent FreeBSD-current Xen DomU image at http://people.freebsd.org/~adrian/xen/ . * the image is a gzip'ed 512meg filesystem installworld/distribution install, around 208 mb. * it includes the grub bootloader info (/boot/grub/menu.lst); a basic /etc/fstab w/ root on "xvd0" and swap on "xvd1", and the xen console (xc0) in /etc/ttys. * The config file in that directory (freebsd-current.sxp) works for me. It assumes one network interface and two block devices on LVM - one for root, one for swap. You should be able to just dd the image into an LVM slice or modify the configuration to use a file (tap:aio IIRC), then "xm create /path/to/file" . "xm console" will give you a working console. Bonus points to you if you then figure out the magic required to boot it to single user mode to run "growfs", then "tunefs -n enable" to enable softupdates, with the requisite fscks and reboots to make sure things stay consistent. I'll document that later. I'm working on DomU releng_7 and releng_6 images at the moment but I'm stuck with a buildworld issue and a kernel panic, respectively. Have fun; Adrian