[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] FreeBSD DomU


  • To: Alexander Kriventsov <avk@xxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.