Hi,
I can't start a NetBSD domU on Xen3.
As I've never done xen/linux before I may miss something trivial but I
don't get what (I'm only used to netbsd/xenU on netbsd/xen0 :) The doc I
followed are:
http://julien.danjou.info/xen.html
http://www.howtoforge.com/perfect_setup_xen3_debian
Here's what I get:
########################################################################
# sudo xm create -c /home/xen/netbsd.conf
Using config file "/home/xen/netbsd.conf".
Error: (22, 'Invalid argument')
# cat /home/xen/netbsd.conf
name="netbsd"
kernel="/home/xen/netbsd-INSTALL_XENU"
root="/dev/hda1"
memory=128
disk=['file:/home/xen/netbsd.img,hda1,w']
vif=[ '' ]
dhcp="on"
#ip="192.168.0.101"
#netmask="255.255.255.0"
#gateway="192.168.0.1"
hostname="netbsd.tumfatig.net"
extra="3"
########################################################################
# file /home/xen/netbsd-INSTALL_XENU /home/xen/netbsd.img
/home/xen/netbsd-INSTALL_XENU: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), statically linked, stripped
/home/xen/netbsd.img: data
# ls -alh /home/xen/netbsd-INSTALL_XENU /home/xen/netbsd.img
-rw-r--r-- 1 root root 64M 2006-06-08 19:32 /home/xen/netbsd.img
-rw-r--r-- 1 root root 6.3M 2006-05-27 04:47
/home/xen/netbsd-INSTALL_XENU
########################################################################
The log is attached.
I'm using Xen 3.0.1, on Debian 4.0.3-3, kernel is 2.6.12.6-xen0.
Domain0 has 192Mo, domUs have 128Mo and my machine has 1Go of RAM.
Any idea?
TIA,
Jo
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:178)
XendDomainInfo.create([\047vm\047, [\047name\047, \047netbsd\047],
[\047memory\047, 128], [\047vcpus\047, 1], [\047image\047, [\047linux\047,
[\047kernel\047, \047/home/xen/netbsd-INSTALL_XENU\047], [\047ip\047,
\047:1.2.3.4:::netbsd.tumfatig.net:eth0:on\047], [\047root\047,
\047/dev/hda1\047], [\047args\047, \0473\047]]], [\047device\047, [\047vbd\047,
[\047uname\047, \047file:/home/xen/netbsd.img\047], [\047dev\047,
\047hda1\047], [\047mode\047, \047w\047]]], [\047device\047, [\047vif\047]]])
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:284)
parseConfig: config is [\047vm\047, [\047name\047, \047netbsd\047],
[\047memory\047, 128], [\047vcpus\047, 1], [\047image\047, [\047linux\047,
[\047kernel\047, \047/home/xen/netbsd-INSTALL_XENU\047], [\047ip\047,
\047:1.2.3.4:::netbsd.tumfatig.net:eth0:on\047], [\047root\047,
\047/dev/hda1\047], [\047args\047, \0473\047]]], [\047device\047, [\047vbd\047,
[\047uname\047, \047file:/home/xen/netbsd.img\047], [\047dev\047,
\047hda1\047], [\047mode\047, \047w\047]]], [\047device\047, [\047vif\047]]]
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:380)
parseConfig: result is {\047ssidref\047: None, \047uuid\047: None,
\047on_crash\047: None, \047on_reboot\047: None, \047image\047: [\047linux\047,
[\047kernel\047, \047/home/xen/netbsd-INSTALL_XENU\047], [\047ip\047,
\047:1.2.3.4:::netbsd.tumfatig.net:eth0:on\047], [\047root\047,
\047/dev/hda1\047], [\047args\047, \0473\047]], \047on_poweroff\047: None,
\047cpus\047: None, \047name\047: \047netbsd\047, \047backend\047: [],
\047vcpus\047: 1, \047cpu_weight\047: None, \047vcpu_avail\047: None,
\047memory\047: 128, \047device\047: [(\047vbd\047, [\047vbd\047,
[\047uname\047, \047file:/home/xen/netbsd.img\047], [\047dev\047,
\047hda1\047], [\047mode\047, \047w\047]]), (\047vif\047, [\047vif\047])],
\047bootloader\047: None, \047cpu\047: None, \047maxmem\047: None}
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)
XendDomainInfo.construct: None 0
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196)
XendDomainInfo.initDomain: 5 1.0
[2006-06-08 19:47:05 xend] DEBUG (balloon:126) Balloon: free 682; need 129;
done.
[2006-06-08 19:47:05 xend] INFO (image:135) buildDomain os=linux dom=5 vcpus=1
[2006-06-08 19:47:05 xend] DEBUG (image:173) dom = 5
[2006-06-08 19:47:05 xend] DEBUG (image:174) image =
/home/xen/netbsd-INSTALL_XENU
[2006-06-08 19:47:05 xend] DEBUG (image:175) store_evtchn = 1
[2006-06-08 19:47:05 xend] DEBUG (image:176) console_evtchn = 2
[2006-06-08 19:47:05 xend] DEBUG (image:177) cmdline =
ip=:1.2.3.4:::netbsd.tumfatig.net:eth0:on root=/dev/hda1 3
[2006-06-08 19:47:05 xend] DEBUG (image:178) ramdisk =
[2006-06-08 19:47:05 xend] DEBUG (image:179) vcpus = 1
[2006-06-08 19:47:05 xend] DEBUG (image:180) features =
[2006-06-08 19:47:05 xend.XendDomainInfo] ERROR (XendDomainInfo:190) Domain
construction failed
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 183,
in create
vm.initDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line
1225, in initDomain
channel_details = self.image.createImage()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 118, in
createImage
return self.createDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 137, in
createDomain
result = self.buildDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 188, in
buildDomain
features = self.features)
error: (22, \047Invalid argument\047)
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=5
[2006-06-08 19:47:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(5)
[2006-06-08 19:47:05 xend] ERROR (xmlrpclib2:124) (22, \047Invalid argument\047)
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/xen/util/xmlrpclib2.py", line 103, in
_marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib/python2.3/SimpleXMLRPCServer.py", line 407, in _dispatch
return func(*params)
File "/usr/lib/python2.3/site-packages/xen/xend/server/XMLRPCServer.py", line
63, in domain_create
info = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 227, in
domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 183,
in create
vm.initDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line
1225, in initDomain
channel_details = self.image.createImage()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 118, in
createImage
return self.createDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 137, in
createDomain
result = self.buildDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 188, in
buildDomain
features = self.features)
error: (22, \047Invalid argument\047)
Attachment:
signature.asc
Description: Digital signature