Hi,
I'm trying to run FreeBSD as a guest on a Xen system.
Dom0 is running.
It is an Intel E6600 system with VT support (64bit also).
I get the following errors:
belle:/vms# cat /var/log/xen/xend-debug.log
ERROR: Not a Xen-ELF image: No ELF notes or '__xen_guest' section found.
ERROR: Error constructing guest OS
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'freebsd-xen-INSTALL'], ['memory', 256],
['vcpus', 1], ['image', ['linux', ['kernel', '/vms/freebsd-XENU_INSTALL'],
['args',
'boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100']]],
['device', ['vbd', ['uname', 'file:/vms/freebsd_xen_INSTALL.img'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vif']]])
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
parseConfig: config is ['vm', ['name', 'freebsd-xen-INSTALL'], ['memory', 256],
['vcpus', 1], ['image', ['linux', ['kernel', '/vms/freebsd-XENU_INSTALL'],
['args',
'boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100']]],
['device', ['vbd', ['uname', 'file:/vms/freebsd_xen_INSTALL.img'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vif']]]
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel',
'/vms/freebsd-XENU_INSTALL'], ['args',
'boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100']],
'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name':
'freebsd-xen-INSTALL', 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'features': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd',
['uname', 'file:/vms/freebsd_xen_INSTALL.img'], ['dev', 'hda1'], ['mode',
'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
XendDomainInfo.construct: None
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
XendDomainInfo.initDomain: 11 1.0
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) Balloon: 263028 KiB free;
need 262144; done.
[2007-06-05 15:30:34 xend 3117] INFO (__init__:1072) buildDomain os=linux
dom=11 vcpus=1
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) dom = 11
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) image =
/vms/freebsd-XENU_INSTALL
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) store_evtchn = 1
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) console_evtchn = 2
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) cmdline =
boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) ramdisk =
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) vcpus = 1
[2007-06-05 15:30:34 xend 3117] DEBUG (__init__:1072) features =
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] ERROR (__init__:1072) Domain
construction failed
Traceback (most recent call last):
File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 195,
in create
vm.initDomain()
File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1363,
in initDomain
raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
XendDomainInfo.destroy: domid=11
[2007-06-05 15:30:34 xend.XendDomainInfo 3117] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(11)
while it really is a valid elf image:
belle:/vms# file freebsd-XENU_INSTALL
freebsd-XENU_INSTALL: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD),
dynamically linked (uses shared libs), not stripped
anyone got a suggestion?
the freebsd-XENU_INSTALL is the kernel from /boot/kernel/kernel from a FreeBSD
boot-cd
Folkert van Heusden
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|