[linux] freebsd onder xen
Folkert van Heusden
folkert op vanheusden.com
Di Jun 5 15:33:39 CEST 2007
Hi,
Ik probeer FreeBSD als guest op een Xen systeem te draaien.
Dom0 is volop in de lucht.
Het gaat om een Intel E6600 systeem dat dus VT support heeft en 64 bit
is.
De errors die ik krijg zijn:
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)
en dat terwijl het toch echt een elf kernel image is:
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
Iemand enig idee?
b.t.w.: die freebsd-XENU_INSTALL is de kernel die ik uit /boot/kernel/kernel van een FreeBSD boot-cd heb gepakt.
Folkert van Heusden
--
MultiTail cok yonlu kullanimli bir program, loglari okumak, verilen
kommandolari yerine getirebilen. Filter, renk verme, merge, 'diff-
view', vs. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
More information about the Linux
mailing list