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. 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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users-- Alexander Kriventsov _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com >> 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@lists.xensource.com http://lists.xensource.com/xen-users