[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] xen 3.0.4 - 22, 'Invalid argument' when starting domain.
Thanks for this answer. However it didn't helped me. I feel a bit lost now. I really don't know what to do... I don't know how to set or not PAE and how to check if it's enabled, but to be sure I rebuild a domU kernel with the same sources as dom0. And I got exactly the same error. Only my dom0 boots correctly, not my domUs. Here are additionnal informations : When restarting xend, I have these strange lines in my /var/log/messages logfile, however this does not prevent xend to work correctly. (At least for the xm list command) # /var/log/messages Feb 20 21:15:08 homer BLKTAPCTRL[18731]: blktapctrl: v1.0.0 Feb 20 21:15:08 homer BLKTAPCTRL[18731]: Found driver: [raw image (aio)] Feb 20 21:15:08 homer BLKTAPCTRL[18731]: Found driver: [raw image (sync)] Feb 20 21:15:08 homer BLKTAPCTRL[18731]: Found driver: [vmware image (vmdk)] Feb 20 21:15:08 homer BLKTAPCTRL[18731]: Found driver: [ramdisk image (ram)] Feb 20 21:15:08 homer BLKTAPCTRL[18731]: Found driver: [qcow disk (qcow)] Feb 20 21:15:08 homer BLKTAPCTRL[18731]: Unable to start blktapctrl homer ~ # xm info host : homer release : 2.6.19.2-dom0 version : #2 SMP Sat Feb 17 11:27:31 CET 2007 machine : i686 nr_cpus : 1 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 1 threads_per_core : 1 cpu_mhz : 1802 hw_caps : 078bfbff:e3d3fbff:00000000:00000010:00000000:00000001:00000001 total_memory : 2047 free_memory : 1251 xen_major : 3 xen_minor : 0 xen_extra : .4-1 xen_caps : xen-3.0-x86_32 xen_pagesize : 4096 platform_params : virt_start=0xfc000000 xen_changeset : unavailable cc_compiler : gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) cc_compile_by : root cc_compile_domain : cc_compile_date : Sat Feb 17 11:59:41 CET 2007 xend_config_format : 3 homer ~ # homer ~ # xm create /dev/null kernel=/usr/local/xen/boot/vmlinuz-2.6.19-xen-domU Using config file "/dev/null". Error: (22, 'Invalid argument') homer ~ # homer ~ # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 768 1 r----- 80.8 homer ~ # Nothing appears in the xend-debug.log, however in the xend.log I have : homer ~ # cat /var/log/xen/xend.log [2007-02-20 21:14:30 xend 18698] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-20 21:14:30 xend 18712] INFO (SrvDaemon:322) Xend Daemon started [2007-02-20 21:14:30 xend 18712] INFO (SrvDaemon:326) Xend changeset: unavailable. [2007-02-20 21:14:30 xend 18712] INFO (SrvDaemon:333) Xend version: Unknown. [2007-02-20 21:14:30 xend.XendDomainInfo 18712] DEBUG (XendDomainInfo:121) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 78959768061L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': -4, 'shutdown': 0, 'mem_kb': 786432, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'}) [2007-02-20 21:14:30 xend.XendDomainInfo 18712] INFO (XendDomainInfo:135) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2007-02-20 21:14:30 xend 18712] DEBUG (XendDomain:428) Adding Domain: 0 [2007-02-20 21:14:30 xend 18712] DEBUG (XendDomain:372) number of vcpus to use is 0 [2007-02-20 21:14:30 xend 18712] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock. [2007-02-20 21:14:30 xend 18712] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2007-02-20 21:14:30 xend.XendDomainInfo 18712] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-02-20 21:14:31 xend 18717] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-20 21:15:08 xend 18723] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-20 21:15:08 xend 18712] DEBUG (SrvServer:75) SrvServer.cleanup() [2007-02-20 21:15:08 xend 18737] INFO (SrvDaemon:322) Xend Daemon started [2007-02-20 21:15:08 xend 18737] INFO (SrvDaemon:326) Xend changeset: unavailable. [2007-02-20 21:15:08 xend 18737] INFO (SrvDaemon:333) Xend version: Unknown. [2007-02-20 21:15:08 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:121) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 79529983025L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': -4, 'shutdown': 0, 'mem_kb': 786432, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'}) [2007-02-20 21:15:08 xend.XendDomainInfo 18737] INFO (XendDomainInfo:135) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2007-02-20 21:15:08 xend 18737] DEBUG (XendDomain:428) Adding Domain: 0 [2007-02-20 21:15:08 xend 18737] DEBUG (XendDomain:372) number of vcpus to use is 0 [2007-02-20 21:15:08 xend 18737] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock. [2007-02-20 21:15:08 xend 18737] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2007-02-20 21:15:08 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-02-20 21:15:09 xend 18742] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-20 21:15:09 xend 18712] DEBUG (SrvServer:157) Waiting for ['XMLRPCServer', 'XMLRPCServer']. [2007-02-20 21:15:09 xend 18712] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-02-20 21:15:09 xend 18712] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-02-20 21:15:09 xend 18711] INFO (SrvDaemon:218) Xend exited with status 0. [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:94) XendDomainInfo.create(['vm', ['name', 'null'], ['memory', 128], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/usr/local/xen/boot/vmlinuz-2.6.19-xen-domU']]]]) [2007-02-20 21:16:02 xend.XendConfig 18737] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 13 256 [2007-02-20 21:16:02 xend 18737] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 131072; done. [2007-02-20 21:16:02 xend 18737] INFO (image:125) buildDomain os=linux dom=13 vcpus=1 [2007-02-20 21:16:02 xend 18737] DEBUG (image:194) domid = 13 [2007-02-20 21:16:02 xend 18737] DEBUG (image:195) memsize = 128 [2007-02-20 21:16:02 xend 18737] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6.19-xen-domU [2007-02-20 21:16:02 xend 18737] DEBUG (image:197) store_evtchn = 1 [2007-02-20 21:16:02 xend 18737] DEBUG (image:198) console_evtchn = 2 [2007-02-20 21:16:02 xend 18737] DEBUG (image:199) cmdline = [2007-02-20 21:16:02 xend 18737] DEBUG (image:200) ramdisk = [2007-02-20 21:16:02 xend 18737] DEBUG (image:201) vcpus = 1 [2007-02-20 21:16:02 xend 18737] DEBUG (image:202) features = [2007-02-20 21:16:02 xend.XendDomainInfo 18737] ERROR (XendDomainInfo:397) VM start failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start self._initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1389, in _initDomain self._introduceDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1324, in _introduceDomain raise XendError(str(exn)) XendError: (22, 'Invalid argument') [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=13 [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(13) [2007-02-20 21:16:02 xend.XendDomainInfo 18737] ERROR (XendDomainInfo:99) Domain construction failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create vm.start() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start self._initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1389, in _initDomain self._introduceDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1324, in _introduceDomain raise XendError(str(exn)) XendError: (22, 'Invalid argument') [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-20 21:16:02 xend.XendDomainInfo 18737] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) Le lundi 19 février 2007 12:43, vous avez écrit : > Might be of some help. I used to get a similar error, until I figured > that I was mixing PAE and non-PAE kernels. My host, Fedora Core 6, had > a PAE enabled kernel. My guest, openSUSE 10.2, had a non-PAE kernel. > That was resulting in this very unhelpful 22, "Invalid Argument" > error. > > Hope that helps. > > Regards, > Rakhesh > > ps. I am unsubscribing from this list. So please cc me if you have any > questions on this ... _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |