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

Re: [Xen-users] FreeBSD DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] FreeBSD DomU
From: Alexander Kriventsov <avk@xxxxx>
Date: Tue, 10 Aug 2010 10:04:22 +0400
Delivery-date: Mon, 09 Aug 2010 23:06:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C60DFC1.7040709@xxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C60DFC1.7040709@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
10.08.2010 9:12, Net Warrior пишет:
  Hi there guys.

Did someone was able to install FreeBSD as DomU, I've been playing
around with it for a couple of hour, I was able to install it
version 7.2 i386 only, but then I cannot boot it, I'm using pygrub, here
is my config, version 8.0-RELEASE, i386 and amd64 just panic.

Yes, I'm using a lot of of freebsd 8.X as domU. In configs I have something like this
import os, re

arch_libdir = 'lib'
arch = os.uname()[4]
if os.uname()[0] == 'Linux' and re.search('64', arch):
    arch_libdir = 'lib64'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "node"
vif = [ 'type=ioemu, mac=00:16:3e:XX:YY:ZZ, bridge=eth0' ]
disk = [ 'phy:/dev/xenvgsata/node,hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=0
vnc=1
vncpasswd='vnc'
stdvga=0
serial='pty'
boot='cn'

But you should enable hardware virtualization in your BIOS to work with hvm.


bootloader = '/usr/bin/pygrub'
builder='hvm'
memory = 512
name = "freebsd"
vif = [ 'mac=00:16:3E:52:CB:81, bridge=eth0, vifname=freebsd' ]
disk = [ 'phy:/dev/NETWARRIOR/LXVIRTUAL1,ioemu:hda,w']


When trying to create the DomU I get.

Error: Domain 'freebsd' does not exist
--
xend.log

return map(lambda x: self.configuration(x, transaction),
self.deviceIDs(transaction))
   File
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 242, in<lambda>
     return map(lambda x: self.configuration(x, transaction),
self.deviceIDs(transaction))
   File
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 249, in configuration
     configDict = self.getDeviceConfiguration(devid, transaction)
   File
"/usr/lib64/python2.6/site-packages/xen/xend/server/ConsoleController.py",
line 27, in getDeviceConfiguration
     devinfo = self.readBackendTxn(transaction, devid, *self.valid_cfg)
   File
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 447, in readBackendTxn
     raise VmError("Device %s not connected" % devid)
VmError: Device 0 not connected



Any Ideas?


Thanks in advance.
Regards

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


--
Alexander Kriventsov

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

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