Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th March 2013
gpatrick gpatrick is offline
Package Pilot
Join Date: Nov 2009
Posts: 154
Thanked 0 Times in 0 Posts
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
# 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.

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
# 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
  #2   (View Single Post)  
Old 29th March 2013
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
Join Date: May 2008
Posts: 192
Thanked 47 Times in 22 Posts

I've found two links where similar problem is discussed, I think NetBSD xen list also has a patch (or updated archive, I just glanced over the answers), check them out and see if they are of any help:

(read the whole thread) http://mail-index.netbsd.org/port-xe...msg006559.html

The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick