|
List Info
Thread: Creation of NetBSD domU fails under Linux dom0
|
|
| Creation of NetBSD domU fails under
Linux dom0 |

|
2006-10-30 19:56:49 |
|
Hi!
I have a problem with NetBSD/xen: I tried to boot NetBSD as domU with Ubuntu Edgy as dom0, with xen 3.0.3 from Ubuntu Edgy repo and Frugalware-current as dom0, with xen 3.0.2_20060930-5
from Frugalware repo.
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"
The netbsd-INSTALL_XEN3_DOMU is a NetBSD 3.1RC3 kernel.
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...
|
| Creation of NetBSD domU fails under
Linux dom0 |

|
2006-10-30 19:56:49 |
|
Hi!
I have a problem with NetBSD/xen: I tried to boot NetBSD as domU with Ubuntu Edgy as dom0, with xen 3.0.3 from Ubuntu Edgy repo and Frugalware-current as dom0, with xen 3.0.2_20060930-5
from Frugalware repo.
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"
The netbsd-INSTALL_XEN3_DOMU is a NetBSD 3.1RC3 kernel.
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...
|
| Creation of NetBSD domU fails under
Linux dom0 |

|
2006-10-31 19:03:18 |
On Mon, Oct 30, 2006 at 08:56:49PM +0100, Gábor Gábris
wrote:
> Hi!
>
> I have a problem with NetBSD/xen:
> I tried to boot NetBSD as domU with Ubuntu Edgy as
dom0, with xen 3.0.3 from
> Ubuntu Edgy repo and Frugalware-current as dom0, with
xen
> 3.0.2_20060930-5from
As I already replied to your PR:
- is this really a Xen 3.0.3 ? What does xm info show ?
- if it's really xen 3.0.3, you need something newer than
NetBSD 3.1_RC3
The latest NetBSD 3.1_RC4 build should have the necessery
changes; or wait
for the NetBSD 3.1 release which should be available soon.
--
Manuel Bouyer <bouyer antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
| Creation of NetBSD domU fails under
Linux dom0 |

|
2006-10-31 19:03:18 |
On Mon, Oct 30, 2006 at 08:56:49PM +0100, Gábor Gábris
wrote:
> Hi!
>
> I have a problem with NetBSD/xen:
> I tried to boot NetBSD as domU with Ubuntu Edgy as
dom0, with xen 3.0.3 from
> Ubuntu Edgy repo and Frugalware-current as dom0, with
xen
> 3.0.2_20060930-5from
As I already replied to your PR:
- is this really a Xen 3.0.3 ? What does xm info show ?
- if it's really xen 3.0.3, you need something newer than
NetBSD 3.1_RC3
The latest NetBSD 3.1_RC4 build should have the necessery
changes; or wait
for the NetBSD 3.1 release which should be available soon.
--
Manuel Bouyer <bouyer antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
[1-4]
|
|