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