Hallo Liste, ich habe heute eine Dom-U von OS 12.3 per zypper auf 13.1 aktualisiert. Nachdem ich den Kernel auf die Dom-0 kopiert habe (rsync) und die Konfig-Datei für die Dom-U angepasst hatte, wollte die Dom-U nicht mehr starten. Fehler:
basis2:/etc/xen/vm # xm create pc01 Using config file "./pc01". Error: (11, 'Resource temporarily unavailable')
basis2:/etc/xen/vm # cat pc01 name="pc01" uuid="a62a1609-160d-be9b-de94-5e35b47e94b8" memory=1024 maxmem=1024 vcpus=4 on_poweroff="destroy" on_reboot="restart" on_crash="destroy" localtime=0 keymap="de" builder="linux" # bootloader="/usr/lib/xen/boot/domUloader.py" kernel="/usr/lib/xen/boot/pc01/vmlinuz-3.11.6-4-xen" ramdisk="/usr/lib/xen/boot/pc01/initrd-3.11.6-4-xen" bootargs="--entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen" extra=" " disk=[ 'phy:/dev/virt1/pc01,xvda,w', 'file:/iso/openSUSE-13.1-DVD-x86_64.iso,xvdb:cdrom,r', ] vif=[ 'bridge=br0', ] vfb=['type=vnc,vncunused=1']
Aus dem xend-Log:
2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:94) XendDomainInfo.create(['vm', ['name', 'pc01'], ['memory', 1024], ['maxmem', 1024], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'destroy'], ['vcpus', 4], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['uuid', 'a62a1609-160d-be9b-de94-5e35b47e94b8'], ['image', ['linux', ['kernel', '/usr/lib/xen/boot/pc01/vmlinuz-3.11.6-4-xen'], ['ramdisk', '/usr/lib/xen/boot/pc01/initrd-3.11.6-4-xen'], ['videoram', 4], ['args', ' ']]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'phy:/dev/virt1/pc01'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/iso/openSUSE-13.1-DVD-x86_64.iso'], ['dev', 'xvdb:cdrom'], ['mode', 'r']]], ['device', ['vif', ['bridge', 'br0']]], ['device', ['vkbd']], ['device', ['vfb', ['vncunused', '1'], ['vnc', '1'], ['keymap', 'de'], ['display', 'localhost:10.0'], ['xauthority', '/root/.Xauthority']]]]) [2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:2324) XendDomainInfo.constructDomain [2013-11-27 20:07:45 349] DEBUG (balloon:185) Balloon: 1063264 KiB free; need 4096; done. [2013-11-27 20:07:45 349] DEBUG (XendDomain:453) Adding Domain: 35 [2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:2525) XendDomainInfo.initDomain: 35 256 [2013-11-27 20:07:45 349] DEBUG (image:322) No VNC passwd configured for vfb access [2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:2549) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0. [2013-11-27 20:07:45 349] DEBUG (balloon:185) Balloon: 1063132 KiB free; need 1053184; done. [2013-11-27 20:07:45 349] INFO (image:173) buildDomain os=linux dom=35 vcpus=4 [2013-11-27 20:07:45 349] DEBUG (image:670) domid = 35 [2013-11-27 20:07:45 349] DEBUG (image:671) memsize = 1024 [2013-11-27 20:07:45 349] DEBUG (image:672) image = /usr/lib/xen/boot/pc01/vmlinuz-3.11.6-4-xen [2013-11-27 20:07:45 349] DEBUG (image:673) store_evtchn = 1 [2013-11-27 20:07:45 349] DEBUG (image:674) console_evtchn = 2 [2013-11-27 20:07:45 349] DEBUG (image:675) cmdline = [2013-11-27 20:07:45 349] DEBUG (image:676) ramdisk = /usr/lib/xen/boot/pc01/initrd-3.11.6-4-xen [2013-11-27 20:07:45 349] DEBUG (image:677) vcpus = 4 [2013-11-27 20:07:45 349] DEBUG (image:678) features = [2013-11-27 20:07:45 349] DEBUG (image:679) flags = 0 [2013-11-27 20:07:45 349] ERROR (XendDomainInfo:2607) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2580, in _initDomain channel_details = self.image.createImage() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 156, in createImage return self.createDomain() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 175, in createDomain result = self.buildDomain() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 993, in buildDomain rc = LinuxImageHandler.buildDomain(self) File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 692, in buildDomain vhpt = self.vhpt) Error: (11, 'Resource temporarily unavailable') [2013-11-27 20:07:45 349] ERROR (XendDomainInfo:479) VM start failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 459, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2610, in _initDomain raise VmError(str(exn)) VmError: (11, 'Resource temporarily unavailable') [2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:2757) XendDomainInfo.destroy: domid=35 [2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:2227) Destroying device model [2013-11-27 20:07:45 349] ERROR (XendDomainInfo:2230) Device model destroy failed X86_Linux_ImageHandler instance has no attribute 'sentinel_lock' Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2228, in _releaseDevices self.image.destroyDeviceModel() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 573, in destroyDeviceModel self.sentinel_lock.acquire() AttributeError: X86_Linux_ImageHandler instance has no attribute 'sentinel_lock' [2013-11-27 20:07:45 349] DEBUG (XendDomainInfo:2234) Releasing devices [2013-11-27 20:07:45 349] ERROR (XendDomainInfo:99) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 97, in create vm.start() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 459, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2610, in _initDomain raise VmError(str(exn)) VmError: (11, 'Resource temporarily unavailable')
Das seltsame ist, wenn ich in den Zeilen kernel und ramdisk die Daten vom letzten Kernel der 12.3 eintrage, startet die Dom-U. Leider dann mit den entsprechenden Problemen wg. falschem Kernel. Noch ein paar Infos zum Dom-0:
basis2:/etc/xen/vm # cat /etc/SuSE-release openSUSE 11.2 (x86_64) VERSION = 11.2 basis2:/etc/xen/vm # uname -a Linux basis2 2.6.31.14-0.8-xen #1 SMP 2011-04-06 18:09:24 +0200 x86_64 x86_64 x86_64 GNU/Linux
Ich bin echt ratlos. Danke schon mal für Infos. -- --------------------------------------------------------------------- Andreas Bock mailto:Andreas.Bock@amselweg.org http://www.amselweg.org PGP-Key available at hkp://wwwkeys.nl.pgp.net ---------------------------------------------------------------------