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

Re: [Xen-users] ERROR while creating HVM domU

To: Martin Prusa <prusa.martin@xxxxxxxx>
Subject: Re: [Xen-users] ERROR while creating HVM domU
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Fri, 02 Nov 2007 09:08:51 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Nov 2007 02:08:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=Z2P5ScLAmNPzFl9mpDHWrJM9NNcMKByVyX4CjjhSkkg=; b=OYZPA7FvxXe/Y1xqBvUZFsuSL9OX14rsF7wPnr6zzSIU4uScVsZtw1J27vdhG2snnphjhanYYQ80Gtflvn44Ym1hlQLqLdujXzUhboOOmtgsXICP0yjJ/H68+3shhDvLbma6kqKs6co3XvdW+vNT/yxA+3u6gINcfqT7rWAbErY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=dQquaMNjZiEZbHX1YFpTLwe9m49rb3VRlyA8XQOb7ellxiqZWg0jYUcQZLqZLaCbkLGdXxIgHmrvURmA7OnKtJsy6XUc+IAJoS4ORx1i22CMkrfbFhShLk1VAgP6//snyAeFkgN6beZwjFvClkdQzvw64efeBc8YprnD788qT4g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1193991441.27181.17.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1193991441.27181.17.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.13 (Windows/20070809)
Martin Prusa wrote:
Hi,
please can you help me.
I've just installed xen 3.1.1 (gentoo ebuild with hvm use flag) on AMD
opteron server using amd64 edition and 2007.0 profile.
I can create and run paravirtual domU but it is imposible to create HVM
domU. When I run "xm create win2003" I get following report:
Can you roll back to 3.1.0? 3.1.1 isn't even published as a tarball yet: I'm uncertain why people are automatically starting out with this pre-release code, rather than starting with a more tested release and then moving forward to the pre-release.


Using config file "/etc/xen/win2003".
Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF
image: No ELF notes or '__xen_guest' section found.\n")

config file "win2003":
import os, re
arch = os.uname()[4]
kernel="/usr/lib/xen/boot/hvmloader"
build="hvm"
memory=1024
name="win2003"
vcpus=1
acpi=0
apic=0
pae=0
vif = [ 'type=ioemu, mac=00:16:3e:00:00:94, bridge=xenbr0' ]
disk = [ 'phy:/dev/guests/win2003,ioemu:hda,w',
'file:/tmp/win2003.iso,ioemu:hdc:cdrom,r' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
boot = 'd'
sdl = 1
vnc = 0
vncviewer = 0
and "xend.log" [2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'win2003'], ['memory', 1024],
['vcpus', 1], ['on_xend_s
tart', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux',
['kernel', '/usr/lib/xen/boot/hvmloader']]], ['device', ['vbd',
['uname', 'phy:/
dev/guests/win2003'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'file:/tmp/win2003.iso'], ['dev', 'ioemu:hdc:cdrom'],
['
mode', 'r']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac',
'00:16:3e:00:00:94'], ['type', 'ioemu']]]])
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1506)
XendDomainInfo.constructDomain
[2007-11-02 10:13:39 4605] DEBUG (balloon:116) Balloon: 1051512 KiB
free; need 2048; done.
[2007-11-02 10:13:39 4605] DEBUG (XendDomain:434) Adding Domain: 2
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1560)
XendDomainInfo.initDomain: 2 256
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1591)
_initDomain:shadow_memory=0x0, memory_static_max=0x40000000,
memory_static_min=0x0.
[2007-11-02 10:13:39 4605] DEBUG (balloon:116) Balloon: 1051504 KiB
free; need 1048576; done.
[2007-11-02 10:13:39 4605] INFO (image:128) buildDomain os=linux dom=2
vcpus=1
[2007-11-02 10:13:39 4605] DEBUG (image:197) domid          = 2
[2007-11-02 10:13:39 4605] DEBUG (image:198) memsize        = 1024
[2007-11-02 10:13:39 4605] DEBUG (image:199) image
= /usr/lib/xen/boot/hvmloader
[2007-11-02 10:13:39 4605] DEBUG (image:200) store_evtchn   = 1
[2007-11-02 10:13:39 4605] DEBUG (image:201) console_evtchn = 2
[2007-11-02 10:13:39 4605] DEBUG (image:202) cmdline = [2007-11-02 10:13:39 4605] DEBUG (image:203) ramdisk = [2007-11-02 10:13:39 4605] DEBUG (image:204) vcpus = 1 [2007-11-02 10:13:39 4605] DEBUG (image:205) features = [2007-11-02 10:13:39 4605] ERROR (XendDomainInfo:1633)
XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1608, in _initDomain
    channel_details = self.image.createImage()
  File "usr/lib64/python2.4/site-packages/xen/xend/image.py", line 111,
in createImage
    return self.createDomain()
  File "usr/lib64/python2.4/site-packages/xen/xend/image.py", line 130,
in createDomain
    result = self.buildDomain()
  File "usr/lib64/python2.4/site-packages/xen/xend/image.py", line 520,
in buildDomain
    return LinuxImageHandler.buildDomain(self)
  File "usr/lib64/python2.4/site-packages/xen/xend/image.py", line 214,
in buildDomain
    features       = self.vm.getFeatures())
Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF
image: No ELF notes or '__xen_guest' section found.\n")
[2007-11-02 10:13:39 4605] ERROR (XendDomainInfo:424) VM start failed
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 404, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1636, in _initDomain
    raise VmError(str(exn))
VmError: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF
image: No ELF notes or '__xen_guest' section found.\n")
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1753)
XendDomainInfo.destroy: domid=2
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1772)
XendDomainInfo.destroyDomain(2)
[2007-11-02 10:13:39 4605] ERROR (XendDomainInfo:89) Domain construction
failed
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 87, in create
    vm.start()
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 404, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1636, in _initDomain
    raise VmError(str(exn))
VmError: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF
image: No ELF notes or '__xen_guest' section found.\n")
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1753)
XendDomainInfo.destroy: domid=2
[2007-11-02 10:13:39 4605] DEBUG (XendDomainInfo:1772)
XendDomainInfo.destroyDomain(2)
[2007-11-02 10:13:39 4605] ERROR (XendDomainInfo:1783)
XendDomainInfo.destroy: xc.domain_destroy failed.
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1778, in destroyDomain
    xc.domain_destroy(self.domid)
Error: (3, 'No such process')


Thanks for any help
Martin Prusa


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



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

<Prev in Thread] Current Thread [Next in Thread>