WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] FreeBSD as DomU (again, I know - sorry!)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] FreeBSD as DomU (again, I know - sorry!)
From: Jason Lixfeld <jason-xensource@xxxxxxxxxx>
Date: Wed, 15 Aug 2007 17:42:44 -0400
Delivery-date: Wed, 15 Aug 2007 14:43:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I know this has been flying around, but I haven't been able to find a definitive answer or HOWTO that I can make work.

I followed this HOWTO at http://txrx.org/xen/ and wound up with the following:

# test.install domain config file
kernel = "/etc/xen/vm/dev1/freebsd-INSTALL_XENU"
memory = 32
name = "test"
#cpu = -1   # leave to Xen to pick
#nics = 1
vif = [ '' ]
disk = [ 'phy:/dev/ld0i,wd0d,rw' ]
extra = "vfs.root.mountfrom=ufs:/dev/md0a"

[root@dev dev]# dd if=/dev/zero of=/dev/ld0i bs=1024k count=250
250+0 records in
250+0 records out

So I then tried to create my domain, but it failed.

[root@dev dev1]# xm create test.install
Using config file "./test.install".
Error: Building domain failed: ostype=linux dom=11 err=
[root@dev dev1]#

I have even tried to use Kip's http://www.fsmware.com/xenofreebsd/7.0/ download/config/xmexample1.bsd, http://www.fsmware.com/xenofreebsd/ 7.0/download/kernel-current and http://www.fsmware.com/xenofreebsd/ 7.0/download/mdroot-7.0.bz2, obviously first changing the xmexample1.bsd and unextracting the mdroot so my end result looks like this:

# install-config domain config file
kernel = "/etc/xen/vm/dev1.test1/kernel-current"
memory = 64
name = "dev1"
vif = [ '' ]
disk = [ 'file:/etc/xen/vm/dev1.test1/mdroot-7.0,hda1,w' ]
on_crash    = 'preserve'
extra = "boot_verbose"
extra += ",boot_single"
extra += ",vfs.root.mountfrom=ufs:/dev/xbd769a"
extra += ",kern.hz=100"

[root@dev dev1.test1]# ls -al /etc/xen/vm/dev1.test1/
total 527632
drwxr-xr-x  2 root root      4096 Aug 15 13:39 .
drwxr-xr-x  4 root root      4096 Aug 15 13:22 ..
-rw-r--r--  1 root root      5299 Aug 15 13:39 install-config
-rwxr-xr-x  1 root root   2874150 Jan 12  2006 kernel-current
-rw-r--r--  1 root root 536870912 Jan 12  2006 mdroot-7.0
[root@dev dev1.test1]#

Upon running xm create:

[root@dev dev1.test1]# xm create install-config
Using config file "./install-config".
Error: Building domain failed: ostype=linux dom=12 err=
[root@dev dev1.test1]#

Very lost at this point. Google has no useful info on the Building domain failed error for my case.

Any help is appreciated.

Thanks in advance.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>