Port-xen archive

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

NetBSD domU fails to create under Linux dom0



Hi!

I have a problem with NetBSD/xen:
I tried to boot NetBSD as domU with Ubuntu Edgy/Frugalware-current as dom0, with xen 3.0.3.

My xen config file (netbsd.cfg to boot NetBSD domU):

kernel = "/home/gabor/xen/netbsd-INSTALL_XEN3_DOMU"
memory = 384
name = "netbsd3.1_RC3"
#cpu = ""
disk = [ 'tap:aio:/media/hda6/home/gabor/Ez-az/xen/netbsd.img,0x3,w' ]
vif = ['mac=aa:00:00:00:00:11']
dhcp = "dhcp"

As netbsd-INSTALL_XEN3_DOMU I tried NetBSD 3.1RC3/RC4 kernels and NetBSD-4 kernel from ftp.netbsd.org.

Running

xm create -c /etc/xen/netbsd.cfg

gives the following:

Using config file "/media/hda6/etc/xen/netbsd.cfg".
Error: (22, 'Invalid argument')

My /var/log/xen/xend-debug.log is:

ERROR: Initial guest OS requires too much space
(0xc0cMB is greater than 384MB limit)
(0 = Success)
ERROR: Error constructing guest OS

My /var/log/xen/xend.log is:

[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'netbsd3.1_RC3 ' ], ['memory', 384],
['vcpus', 1], ['image', ['linux', ['kernel',
'/home/gabor/xen/netbsd-INSTALL_XEN3_DOMU'], ['ip', ': 1.2.3.4::::eth0:dhcp']]],
['device', ['tap', ['uname',
'tap:aio:/media/hda6/home/gabor/Ez-az/xen/netbsd.img'], ['dev', '0x3'],
['mode', 'w']]], ['device', ['vif', ['mac', 'aa:00:00:00:00:11']]]])
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
parseConfig: config is ['vm', ['name', 'netbsd3.1_RC3'], ['memory', 384],
['vcpus', 1], ['image', ['linux', ['kernel',
'/home/gabor/xen/netbsd-INSTALL_XEN3_DOMU'], ['ip', ':1.2.3.4::::eth0:dhcp ' ]]],
['device', ['tap', ['uname',
'tap:aio:/media/hda6/home/gabor/Ez-az/xen/netbsd.img'], ['dev', '0x3'],
['mode', 'w']]], ['device', ['vif', ['mac', 'aa:00:00:00:00:11']]]]
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel',
'/home/gabor/xen/netbsd-INSTALL_XEN3_DOMU'], ['ip', ': 1.2.3.4::::eth0:dhcp']],
'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name':
'netbsd3.1_RC3', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features':
None, 'vcpu_avail': None, 'memory': 384, 'device': [('tap', ['tap', ['uname',
'tap:aio:/media/hda6/home/gabor/Ez-az/xen/netbsd.img'], ['dev', '0x3'],
['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:00:00:11']])], 'bootloader':
None, 'cpu': None, 'maxmem': None}
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
XendDomainInfo.construct: None
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
XendDomainInfo.initDomain: 4 1.0
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) Balloon: 393664 KiB free;
need 393216; done.
[2006-10-30 12:03:24 xend 4601] INFO (__init__:1072) buildDomain os=linux dom=4
vcpus=1
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) dom            = 4
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) image          =
/home/gabor/xen/netbsd-INSTALL_XEN3_DOMU
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) store_evtchn   = 1
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) console_evtchn = 2
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) cmdline        =
ip=:1.2.3.4::::eth0:dhcp
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) ramdisk        =
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) vcpus          = 1
[2006-10-30 12:03:24 xend 4601] DEBUG (__init__:1072) features       =
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] ERROR (__init__:1072) Domain
construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195,
in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1363, in initDomain
    raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
XendDomainInfo.destroy: domid=4
[2006-10-30 12:03:24 xend.XendDomainInfo 4601] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(4)

Interestingly the creation of Linux domUs works.

Maybe somebody smarter than me can help at least with a clue...



Home | Main Index | Thread Index | Old Index