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-community

[Xen-community] Problem with fullyvirtualized guest direct kernel boot

To: xen-community@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-community] Problem with fullyvirtualized guest direct kernel boot
From: "Max Martynov" <mcsimm@xxxxxxxxx>
Date: Wed, 5 Nov 2008 21:35:44 +0300
Delivery-date: Wed, 05 Nov 2008 10:36:32 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=t9kye4z/WULlM5yg/Z4r2Cl9tVnxQie7eD0qd9ghkeA=; b=JoBoClXqhRqP+VgyjyAvW/mbnxt4+xpoyamOUt4bCPHPOI0eA3sDVuSZRQX6gjDt3v cMhPQKA7I2jhP0ZIiag+t7DLLTk5YHQXt+K50xTR0uSJCF7wXGfUuzrvnJKacKY64NEy jShP8gQE/N/6KKzAGFDid2lcJQ4J6jCOdyCNU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=E2JUvG7BvXiJfxESSKsaMOqLOo/yt/fs1mK92aCU2qe8DDtP7IZz/BpVlDqarev95N XxDuEGSA7E3clWvAm3ME8d6Wk7+F4Ucxd2gUPVRz1im69BMLPrhF4+Znz6pyUtoKU3cQ +av89kInRcOJ702M1u5AW3NBKnnjAD7q/VYIg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://lists.xensource.com/archives/html/xen-community>
List-help: <mailto:xen-community-request@lists.xensource.com?subject=help>
List-id: Community Discussion <xen-community.lists.xensource.com>
List-post: <mailto:xen-community@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-community>, <mailto:xen-community-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-community>, <mailto:xen-community-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-community-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I am trying to use fullyvirtualized guest direct kernel boot, but all I see is the following error:
Error: (2, 'Invalid kernel', 'elf_init: not an ELF binary\n')

Kernel, initrd and root file system are extracted from working Fedora 9 disk image without any additional tinkering. Guest Fedora is clean and was installed from scratch. Wh
en I use this whole disk image with fullyvirtualized guest BIOS boot with, everything works fine. I also tried paravirtualized guest bootloader with another linux kernel and it also works fine. Xen version is 3.2.1-rc1-pre. Host OS is Ubuntu Hardy.

Here is the cfg file for BIOS boot:
name = "xen_f9_hvm"
builder = "hvm"
memory = "512"
disk = [ 'tap:aio:/tmp/f9.img,hda,w', ]
vif = [ 'type=ioemu, mac=00:16:3e:5a:af:2a, bridge=eth0', ]
kernel = "/usr/lib/xen/boot/hvmloader"
device_model = '/usr/lib/xen/bin/qemu-dm'
vnc=1
vncunused=1
vnclisten="0.0.0.0"
vncconsole=1
apic=1
acpi=1
vcpus=1
serial = "pty" # enable serial console
on_reboot   = 'restart'
on_crash    = 'restart'

Here is the cfg file for fullyvirtualized guest direct kernel boot:
name = "xen_f9_hvm"
builder = "hvm"
memory = "512"
kernel = '/tmp/vmlinuz-2.6.25-14.fc9.i686'
ramdisk  = '/tmp/initrd-2.6.25-14.fc9.i686.img'
root= '/dev/hda2 ro'
disk = [ 'tap:aio:/tmp/f9_disassembled/swap,hda1,w', 'tap:aio:/tmp/f9_disassembled/root.img,hda2,w', ]
vif = [ 'type=ioemu, mac=00:16:3e:5a:af:2a, bridge=eth0', ]
device_model = '/usr/lib/xen/bin/qemu-dm'
vnc=1
vncunused=1
vnclisten="0.0.0.0"
vncconsole=1
apic=1
acpi=1
vcpus=1
serial = "pty" # enable serial console
on_reboot   = 'restart'
on_crash    = 'restart'


What do you think can be the cause of this issue?

--
Thanks, Max
_______________________________________________
Xen-community mailing list
Xen-community@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-community
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-community] Problem with fullyvirtualized guest direct kernel boot, Max Martynov <=