View Single Post
  #1   (View Single Post)  
Old 26th March 2013
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default NetBSD 6.1_RC2 and Xen 4.2.0/4.2.1

Have NetBSD 6.1_RC2 amd64 installed and downloaded the Xen source for 4.2.0 and 4.2.1 then followed the steps in Compiling Xen from Source on NetBSD

It boots into the Xen kernel, however, when attempting to create a NetBSD domu, the 'xm create' command returns
Code:
# xm create -c nbsd.cfg
Ignoring invalid configuration file /usr/pkg/xen420/etc/xen/xm-config.xml.
Using config file "./nbsd.cfg".
Error: need more than 1 value to unpack
#
It is the same error for both Xen 4.2.0 and 4.2.1.

nbsd.cfg
Code:
kernel = "/var/xen/kernels/netbsd-INSTALL_XEN3_DOMU.gz"
memory = 128
name = 'nbsd'
vif = [ 'mac=00:16:3e:00:00:11, bridge=bridge0' ]
disk = [ 'file:/var/xen/images/xen-2GB.img,0x1,w' ]
root = "xbd0"
Image file was created using
Code:
# dd if=/dev/zero of=/var/xen/images/xen-2GB.img bs=1024 count=1 seek=2000000
I haven't found much in searching for the error about "1 value to unpack".

After having no luck in finding anything relevant I've installed Xen33 from pkgsrc and am able to successfully create a NetBSD domU.

Last edited by gpatrick; 26th March 2013 at 01:37 AM.
Reply With Quote