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: Alexander Kriventsov <avk@xxxxx>
Subject: Re: [Xen-users] FreeBSD DomU
From: Net Warrior <netwarrior863@xxxxxxxxx>
Date: Tue, 10 Aug 2010 16:26:43 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Aug 2010 12:27:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ozbk7lBWa+f+rJ97K3LDprXdyLB7rg6vaaTqUFlBQKA=; b=qQW4+hLEywgWl7S+SgzORF7xfRO+DDIjj0tnPc3waQCuudxdjwryv4jdTrF280EWyK KiS7DR0UbRIJXMI2nBBljWM+K7IqMW5rIFl4rbYwRM6KXw80JN4Vdquqn5ZdvaMl+XF/ BNw0i4WrzcUf879laXgcGoAZhHy8fHF/s0hlU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vNTutSdMrUmWQ16MN1NfpaYelQpPAoNVc5NSOoIH6s3Hr6g2BVXs1p3UFQvjykPcHC 1/Kai68ZpT0EJ+RZZscBOTSBCQT2W5RfwCMxUvXeQFXwhC4DWci8/29nSYy0pdmkk07i HTgjT5J7dKJGbd5uvNnFyAO5ZYCBrjX0zFgvY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C60EBE6.7090604@xxxxx>
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> <4C60EBE6.7090604@xxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100730 Thunderbird/3.1.1
 On 08/10/10 03:04, Alexander Kriventsov wrote:
> 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
>
>
I replaced your config to match mine and I was able to boot freebsd 7.0
, thank you so much, now I'll try to install
8.0-RELEASE.


Best Regards


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

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