<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>No Content, No Fuss: OpenBSD/Xen boots multi-user</title>
    <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Anil Madhavapeddy</description>
    <item>
      <title>OpenBSD/Xen boots multi-user</title>
      <description>&lt;p&gt;I've been mentoring a few Xen projects as part of the &lt;a href="http://code.google.com/soc/"&gt;Google Summer of Code&lt;/a&gt; program.  One of the most fun is the &lt;a href="http://www.xensource.com/summerofcode.html#7"&gt;OpenBSD/Xen porting effort&lt;/a&gt; which Christoph Egger has been hacking on.   As of a few days ago, if you clone the &lt;a href="http://selenic.com/mercurial"&gt;Mercurial&lt;/a&gt; repository for the project, &lt;a href="http://hg.recoil.org/openbsd-xen-sys.hg"&gt;openbsd-xen-sys.hg&lt;/a&gt;, and build the kernel with with the i386 bsd.rd, you get the thrill of the following boot log:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[avsm@kremlin ~]$ sudo xm create -c openbsd
Using config file "/etc/xen/openbsd".
Started domain OpenBSD
[ using 187532 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.0-beta (RAMDISK_XENU) #0: Mon Aug 21 14:59:09 BST 2006
    root@mortar.cl.cam.ac.uk:/usr/src/sys/arch/xen/compile/ RAMDISK_XENU
cpu0: Genuine Intel(R) CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz
cpu0: FPU,V86,DE,TSC,MSR,PAE,MCE,CX8,APIC,MCA,CMOV,
    PAT,PSE36,CFLUSH,ACPI,MMX,SSE,SSE2,SS,HTT,TM,SBF,PNI,
    EST,CNXT-ID
cpu0: EST: unknown system bus clock
real mem  = 62554112 (61088K)
avail mem = 55603200 (54300K)
using 789 buffers containing 3231744 bytes (3156K) of memory
mainbus0 (root)
cpu0 at mainbus0
hypervisor0 at mainbus0
debug virtual interrupt using event channel 3
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 86, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
Xen clock: using event channel 4
rd0: fixed, 3800 blocks
xenbus0: using event channel 1
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 00:16:3e:05:83:11
xennet0: using event channel 5
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell?
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Christoph has done a superb job of porting the &lt;a href="http://www.netbsd.org/Ports/xen"&gt;NetBSD/Xen&lt;/a&gt; code over to OpenBSD.  There are still a few bugs to be worked out in the networking driver, the virtual block driver to finish up, and the rather more messy job of getting the user-land tools to run if we want an OpenBSD dom0.  But this initial booting is fantastic to see!&lt;/p&gt;&lt;p&gt;A final nice teaser from the console shell:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# ifconfig -a
lo0: flags=8008&amp;lt;LOOPBACK,MULTICAST&amp;gt; mtu 33224
        groups: lo
pflog0: flags=0&amp;lt;&amp;gt; mtu 33224
pfsync0: flags=0&amp;lt;&amp;gt; mtu 1460
        groups: carp
enc0: flags=0&amp;lt;&amp;gt; mtu 1536
xennet0: flags=8822&amp;lt;BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST&amp;gt; mtu 1500
        lladdr 00:16:3e:05:83:11
        media: Ethernet autoselect (autoselect)
&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Mon, 21 Aug 2006 18:08:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:a23ff0fc-bc29-4045-a76f-0fc183c5c848</guid>
      <author>anil@recoil.org (Anil Madhavapeddy)</author>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user</link>
      <category>openbsd</category>
      <category>xen</category>
      <trackback:ping>http://anil.recoil.org/blog/articles/trackback/92</trackback:ping>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by fallout</title>
      <description>&lt;p&gt;Xen is cool. where can i get me some?&lt;/p&gt;</description>
      <pubDate>Sun, 29 Apr 2007 04:30:09 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:1c371075-60af-4217-b609-2d56e4a3a95d</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-630</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by tony</title>
      <description>&lt;p&gt;I know this is very late after the original post, but are there any mirrors of the OpenBSD Xen code?  The Mercurial repository here at ht.recoil.org never responds, and I'd really like to try out OpenBSD in domU.  Is this work still ongoing, or did it die off?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <pubDate>Wed, 14 Mar 2007 17:40:24 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:13d8c24c-45f9-49e1-bd1b-0e2232fbb7b9</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-609</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by Felipe Alfaro Solana</title>
      <description>&lt;p&gt;I tried to run a self-compiled XenU-enabled OpenBSD but it panics during the installation stage due to filesystem problems.&lt;/p&gt;

&lt;p&gt;Is there some place or mailing list where to report such problems?&lt;/p&gt;</description>
      <pubDate>Tue, 06 Feb 2007 20:15:23 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:31d728b8-1066-4607-85fc-c4a0b1de92fb</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-602</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by l0r3zz at gmail.com</title>
      <description>&lt;p&gt;Is there a mailing list for OpenBSD/Xen ?&lt;/p&gt;</description>
      <pubDate>Tue, 31 Oct 2006 13:35:20 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:9e9f2e49-2fea-4396-95d1-e59bfd0ec256</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-576</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by waldo</title>
      <description>&lt;p&gt;is there a procedure for reporting bugs?&lt;/p&gt;</description>
      <pubDate>Sun, 24 Sep 2006 08:29:29 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:22eb3c45-64b2-4335-8af6-624035a9decd</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-130</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by Stephan</title>
      <description>&lt;p&gt;First of all, thanks for your great work! When do you think a production ready OpenBSD-domU is hitting earth?&lt;/p&gt;</description>
      <pubDate>Fri, 22 Sep 2006 08:14:34 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:597f9ba8-487f-4a87-999c-3c3a0e83ad65</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-129</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by Anil Madhavapeddy</title>
      <description>&lt;p&gt;As usual, yes...&lt;/p&gt;</description>
      <pubDate>Mon, 11 Sep 2006 08:41:20 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:8f2de1a5-e728-442f-9cdb-fea059804336</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-111</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by james</title>
      <description>&lt;p&gt;are any fixes made by this project that are not xen-specific being submitted back to the openbsd project?&lt;/p&gt;</description>
      <pubDate>Mon, 11 Sep 2006 01:36:01 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:3293daf4-6647-482e-9245-4e6a62162d0c</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-110</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by Anil Madhavapeddy</title>
      <description>&lt;p&gt;Xen 3.0 ; as far as I know, there are no active porting efforts for any operating systems for Xen 2.0&lt;/p&gt;</description>
      <pubDate>Sun, 10 Sep 2006 12:47:20 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:37586a1c-65de-400b-8a7c-f9aa991025c5</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-109</link>
    </item>
    <item>
      <title>"OpenBSD/Xen boots multi-user" by waldo</title>
      <description>&lt;p&gt;is this a kernel for xen2 or xen3?&lt;/p&gt;</description>
      <pubDate>Sun, 10 Sep 2006 02:45:04 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:0b94b222-625d-4d58-87cc-457ea1f4f516</guid>
      <link>http://anil.recoil.org/blog/articles/2006/08/21/openbsd-xen-boots-multi-user#comment-108</link>
    </item>
  </channel>
</rss>
