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

[Xen-users] ERROR while creating HVM domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] ERROR while creating HVM domU
From: Martin Prusa <prusa.martin@xxxxxxxx>
Date: Fri, 02 Nov 2007 09:17:21 +0100
Delivery-date: Fri, 02 Nov 2007 01:19:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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:

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

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