xen-users
[Xen-users] Error on xm create: VmError: (38, 'Function not implemented'
Hi everyone,
I generated my own DomU guest using opensuse's yast dirinstall and stored it on a seperate iscsi target. I created it as a DomU on my Domain0 (2.6.25.16-0.1-xen kernel) successfully, using the following configuration:
name = "vm01-opensuse11-base-LAMP" memory = 256 kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" root = "/dev/xvda1" # iscsi disk: lun 0 is root partition with ext3fs, lun 1 is swap
disk = [ 'phy:/dev/disk/by-path/ip-<ip-number-omitted>:3260-iscsi-iqn.2009-01.<qualifier-omitted>:vm01-opensuse10.3-lun-0,xvda1,w', 'phy:/dev/disk/by-path/ip-<ip-number-omitted>:3260-iscsi-iqn.2009-01.<qualifier-omitted>:vm01-opensuse10.3-lun-1,xvda2,w'
] extra = "console=xvc0"
No problem so far. Then I migrated this DomU to my other Dom0, say host B, which has exactly the same xen kernel version. The guest images are available from this one too, following the same /dev path, and the same guest configuration file is copied to the same xen path (/etc/xen/vm). Both machines have identical xend-config.sxp and they have the same xen version, which is 3.2.0.
When I issue "xm migrate --live <id>" on host A, the DomU seems to be properly migrated. However, when the migration completes (when the DomU disappears on host A), the DomU goes into the paused state, which is not an expected behaviour. When I manually unpause it, although xm list says it's in blocked state, it hangs. I cannot get response from "xm console <id>". It cannot be shut down either, so I have to use xm destroy.
So for troubleshooting purposes, I tried to create the DomU directly on host B first, disregarding the migration part. I issued the "xm create vm01", just like I did on host A. Host B gave the following error:
"Error: (38, 'Function not implemented')"
I append the xend.log below, which didn't really tell me any clue.
Has anybody encountered such an error before? Any help is appreciated!
Cheers, Ercan
xend.log output:
...
[2009-01-19 17:17:41 21486] DEBUG (XendDomainInfo:89) XendDomainInfo.create(['vm', ['name', 'vm01-opensuse11-base-LAMP'], ['memory', 256], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['root', '/dev/xvda1'], ['args', 'console=xvc0']]], ['device', ['vbd', ['uname', 'phy:/dev/disk/by-path/ip-<ip-omitted>:3260-iscsi-iqn.2009-01.<name-omitted>:vm01-opensuse10.3-lun-0'], ['dev', 'xvda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/disk/by-path/ip-<ip-omitted>:3260-iscsi-iqn.2009-01.<name-omitted>:vm01-opensuse10.3-lun-1'], ['dev', 'xvda2'], ['mode', 'w']]]])
[2009-01-19 17:17:41 21486] DEBUG (XendDomainInfo:2028) XendDomainInfo.constructDomain [2009-01-19 17:17:41 21486] DEBUG (balloon:132) Balloon: 264172 KiB free; need 2048; done. [2009-01-19 17:17:41 21486] DEBUG (XendDomain:447) Adding Domain: 13
[2009-01-19 17:17:41 21486] DEBUG (XendDomainInfo:2134) XendDomainInfo.initDomain: 13 256 [2009-01-19 17:17:41 21486] DEBUG (XendDomainInfo:2215) _initDomain:shadow_memory=0x0, memory_static_max=0x10000000, memory_static_min=0x0.
[2009-01-19 17:17:41 21486] DEBUG (balloon:132) Balloon: 264164 KiB free; need 263168; done. [2009-01-19 17:17:41 21486] INFO (image:166) buildDomain os=linux dom=13 vcpus=1 [2009-01-19 17:17:41 21486] DEBUG (image:631) domid = 13
[2009-01-19 17:17:41 21486] DEBUG (image:632) memsize = 256 [2009-01-19 17:17:41 21486] DEBUG (image:633) image = /boot/vmlinuz-xen [2009-01-19 17:17:41 21486] DEBUG (image:634) store_evtchn = 1
[2009-01-19 17:17:41 21486] DEBUG (image:635) console_evtchn = 2 [2009-01-19 17:17:41 21486] DEBUG (image:636) cmdline = root=/dev/xvda1 console=xvc0 [2009-01-19 17:17:41 21486] DEBUG (image:637) ramdisk = /boot/initrd-xen
[2009-01-19 17:17:41 21486] DEBUG (image:638) vcpus = 1 [2009-01-19 17:17:41 21486] DEBUG (image:639) features = [2009-01-19 17:17:42 21486] ERROR (XendDomainInfo:2269) XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last): File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 2242, in _initDomain channel_details = self.image.createImage() File "//usr/lib64/python/xen/xend/image.py", line 149, in createImage
return self.createDomain() File "//usr/lib64/python/xen/xend/image.py", line 168, in createDomain result = self.buildDomain() File "//usr/lib64/python/xen/xend/image.py", line 908, in buildDomain
self.setCpuid() File "//usr/lib64/python/xen/xend/image.py", line 585, in setCpuid xc.domain_set_policy_cpuid(self.vm.getDomid()) Error: (38, 'Function not implemented') [2009-01-19 17:17:42 21486] ERROR (XendDomainInfo:445) VM start failed
Traceback (most recent call last): File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 425, in start XendTask.log_progress(31, 60, self._initDomain) File "//usr/lib64/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds) File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 2272, in _initDomain raise VmError(str(exn)) VmError: (38, 'Function not implemented') [2009-01-19 17:17:42 21486] DEBUG (XendDomainInfo:2389) XendDomainInfo.destroy: domid=13
[2009-01-19 17:17:42 21486] DEBUG (XendDomainInfo:2406) XendDomainInfo.destroyDomain(13) [2009-01-19 17:17:42 21486] DEBUG (XendDomainInfo:1939) Destroying device model [2009-01-19 17:17:42 21486] DEBUG (XendDomainInfo:1946) Releasing devices
[2009-01-19 17:17:42 21486] ERROR (XendDomainInfo:94) Domain construction failed Traceback (most recent call last): File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 92, in create vm.start()
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 425, in start XendTask.log_progress(31, 60, self._initDomain) File "//usr/lib64/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds) File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 2272, in _initDomain raise VmError(str(exn)) VmError: (38, 'Function not implemented')
-- xend.log output ends!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] Error on xm create: VmError: (38, 'Function not implemented'),
S. Ercan Yüzbasioglu <=
|
|
|