Am 29.06.2009 04:40, schrieb Lu Baolu:
On Sat, Jun 27, 2009 at 3:53 PM, Florian Manschwetus<[email protected]> wrote:Ok, I have just setup an xvm-3.4 gate, now I always get an error ("Error: (1, 'Not owner')") when I try to start a domain (newly defined). The second try it works then.This may happen when xend has no sufficient permission. Please try bellow commands and see if it helps. svccfg -s xend setprop start/privileges = all svcadm refresh xend svcadm restart xend For more explanation, you need to post /var/log/xen/xend when error happens. Thanks, -allenSome ideas? Florian _______________________________________________ xen-discuss mailing list [email protected]
Currently I have this problem always when trying to create a hvm guest.(maybe someone could have a look if this config is sufficient for a viridian enabled guest)
Florian
==> /var/log/xen/domain-builder-ng.log <== ==> /var/log/xen/xend-debug.log <== ==> /var/log/xen/xend.log <== ==> /var/log/xen/xpvd-event.log <== ==> /var/log/xen/xend-debug.log <== Failed set_memory_target dom 50 ERROR Internal error: Could not allocate memory for HVM guest. (1 = Not owner) ==> /var/log/xen/xend.log <== [2009-06-29 11:17:26 4717] DEBUG (XendDomainInfo:2367) XendDomainInfo.constructDomain [2009-06-29 11:17:26 4717] DEBUG (balloon:166) Balloon: 7396864 KiB free; need 4096; done. [2009-06-29 11:17:26 4717] DEBUG (XendDomain:453) Adding Domain: 50 [2009-06-29 11:17:26 4717] DEBUG (XendDomainInfo:2568) XendDomainInfo.initDomain: 50 256 [2009-06-29 11:17:26 4717] DEBUG (image:331) No VNC passwd configured for vfb access [2009-06-29 11:17:26 4717] DEBUG (image:823) args: boot, val: d [2009-06-29 11:17:26 4717] DEBUG (image:823) args: fda, val: None [2009-06-29 11:17:26 4717] DEBUG (image:823) args: fdb, val: None [2009-06-29 11:17:26 4717] DEBUG (image:823) args: soundhw, val: None [2009-06-29 11:17:26 4717] DEBUG (image:823) args: localtime, val: 1 [2009-06-29 11:17:26 4717] DEBUG (image:823) args: serial, val: ['pty'] [2009-06-29 11:17:26 4717] DEBUG (image:823) args: std-vga, val: 0 [2009-06-29 11:17:26 4717] DEBUG (image:823) args: isa, val: 0 [2009-06-29 11:17:26 4717] DEBUG (image:823) args: acpi, val: 1 [2009-06-29 11:17:26 4717] DEBUG (image:823) args: usb, val: 1 [2009-06-29 11:17:26 4717] DEBUG (image:823) args: usbdevice, val: tablet [2009-06-29 11:17:26 4717] INFO (image:759) Need to create platform device.[domid:50] [2009-06-29 11:17:26 4717] DEBUG (XendDomainInfo:2592) _initDomain:shadow_memory=0x21, memory_static_max=0x100000000, memory_static_min=0x0. [2009-06-29 11:17:26 4717] DEBUG (balloon:166) Balloon: 7395448 KiB free; need 1102848; done. [2009-06-29 11:17:26 4717] INFO (image:182) buildDomain os=hvm dom=50 vcpus=1 [2009-06-29 11:17:26 4717] DEBUG (image:880) domid = 50 [2009-06-29 11:17:26 4717] DEBUG (image:881) image = /usr/lib/xen/boot/hvmloader [2009-06-29 11:17:26 4717] DEBUG (image:882) store_evtchn = 2 [2009-06-29 11:17:26 4717] DEBUG (image:883) memsize = 4096 [2009-06-29 11:17:26 4717] DEBUG (image:884) target = 1024 [2009-06-29 11:17:26 4717] DEBUG (image:885) vcpus = 1 [2009-06-29 11:17:26 4717] DEBUG (image:886) acpi = 1 [2009-06-29 11:17:26 4717] DEBUG (image:887) apic = 1 [2009-06-29 11:17:26 4717] ERROR (XendDomainInfo:2650) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2623, in _initDomain File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 165, in createImage File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 184, in createDomain File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 965, in buildDomain File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 895, in buildDomain Error: (1, 'Internal error', 'Could not allocate memory for HVM guest.\n (1 = Not owner)') [2009-06-29 11:17:26 4717] ERROR (XendDomainInfo:477) VM start failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 457, in start File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2653, in _initDomain VmError: (1, 'Internal error', 'Could not allocate memory for HVM guest.\n (1 = Not owner)') [2009-06-29 11:17:26 4717] DEBUG (XendDomainInfo:2796) XendDomainInfo.destroy: domid=50 [2009-06-29 11:17:26 4717] DEBUG (XendDomainInfo:2270) Destroying device model [2009-06-29 11:17:26 4717] ERROR (XendDomainInfo:2273) Device model destroy failed X86_HVM_ImageHandler instance has no attribute 'sentinel_lock' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2271, in _releaseDevices File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 576, in destroyDeviceModel AttributeError: X86_HVM_ImageHandler instance has no attribute 'sentinel_lock' [2009-06-29 11:17:26 4717] DEBUG (XendDomainInfo:2277) Releasing devices
name = "win2008test" uuid = "55b5fa83-c1b1-0e66-e357-10d1a7d0e9c1" maxmem = 4096 memory = 1024 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "d" pae = 1 acpi = 1 apic = 1 viridian=1 localtime = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib/xen/bin/qemu-dm" usb = 1 usbdevice = "tablet" vfb = [ "type=vnc,vncunused=1,keymap=de" ] disk = [ "phy:/dev/dsk/c0t600A0B800049E9020000066448C2D638d0p0,hda,w","file:/export/media_images/en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso,hdc:cdrom,r" ] vif = [ "mac=00:16:3e:00:00:03,bridge=e1000g0,script=vif-vnic,vifname=vif-2.0" ] parallel = "none" serial = "pty"
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ xen-discuss mailing list [email protected]
