WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 803] New: NetBSD domU fails to create

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 803] New: NetBSD domU fails to create
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 30 Oct 2006 02:21:09 -0800
Delivery-date: Mon, 30 Oct 2006 02:22:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=803

           Summary: NetBSD  domU fails to create
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Guest-OS
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: e66@xxxxxxxxxxxx


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.

I also posted it as a NetBSD/xen PR.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 803] New: NetBSD domU fails to create, bugzilla-daemon <=