xensource@pivert.org
2007-Feb-18 11:16 UTC
[Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
Hi, I have a working installation of xen-3.0.2 under gentoo with kernel 2.6.16. As I need a kernel >=2.6.19 for my ivtv drivers to work, I took the kernel : linux-2.6.19-xen-3.0.4 through hg, and xen-3.0.4_1-src.tgz for xen-tools and hypervisor. Kernel boots OK and xend starts OK. But, when I want to start a domain, I have in my xend.log : [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''binhost''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''cpu_cap'', 80], [''cpu_weight'', 128], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br0''], [''mac'', ''00:16:3E:78:14:90'']]]]) [2007-02-18 11:08:15 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 1 256 [2007-02-18 11:08:15 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 262144; done. [2007-02-18 11:08:15 xend 14945] INFO (image:125) buildDomain os=linux dom=1 vcpus=1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:194) domid = 1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:195) memsize = 256 [2007-02-18 11:08:15 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:08:15 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:08:15 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:08:15 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:08:15 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:202) features [2007-02-18 11:08:15 xend.XendDomainInfo 14945] 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'') What''s wrong ? What should I check ? Regards, Pivert. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2007-Feb-18 17:11 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
On 2/18/07, xensource@pivert.org <xensource@pivert.org> wrote:> What''s wrong ? What should I check ?Look in xend-debug.log and the other logs. I never saw xend.log giving me any useful information to debug a problem as of yet. In my opinion, some of the info from xend.log would better be placed in xend-debug.log., mbecause it looks like it''s only usefull when actually debugging the python code. And some of the stuff from xend-debug.log would better be b´placed in xend.log, because it gives actual information on problems with the usage of xend. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xensource@pivert.org
2007-Feb-18 17:51 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
Hello, Le dimanche 18 février 2007 18:11, Henning Sprang a écrit :> On 2/18/07, xensource@pivert.org <xensource@pivert.org> wrote: > > What''s wrong ? What should I check ? > > Look in xend-debug.log and the other logs. I never saw xend.log giving > me any useful information to debug a problem as of yet.Below, I''ll put both logs.> > In my opinion, some of the info from xend.log would better be placed > in xend-debug.log., mbecause it looks like it''s only usefull when > actually debugging the python code. > And some of the stuff from xend-debug.log would better be b´placed in > xend.log, because it gives actual information on problems with the > usage of xend.I totally agree. And it looks like xend.log is really more verbose than xend-debug.log.> > HenningMy xend-debug.log says almost nothing : Xend started at Sun Feb 18 11:07:38 2007. Xend started at Sun Feb 18 11:12:58 2007. My xend.log says : (tryed multiple times, with many config files, even samples ones, after giving a good kernel= line.) [2007-02-18 11:07:38 xend 14933] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-18 11:07:38 xend 14945] INFO (SrvDaemon:322) Xend Daemon started [2007-02-18 11:07:38 xend 14945] INFO (SrvDaemon:326) Xend changeset: unavailable. [2007-02-18 11:07:38 xend 14945] INFO (SrvDaemon:333) Xend version: Unknown. [2007-02-18 11:07:38 xend.XendStorageRepository 14945] ERROR (XendStorageRepository:96) Failed to determine SR UUID Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendStorageRepository.py", line 93, in _sr_uuid open(uuid_file, ''w'').write(new_uuid + ''\n'') IOError: [Errno 2] No such file or directory: ''/var/lib/xend/storage/uuid'' [2007-02-18 11:07:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:121) XendDomainInfo.recreate({''max_vcpu_id'': 0, ''cpu_time'': 100109592697L, ''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-18 11:07:38 xend.XendDomainInfo 14945] INFO (XendDomainInfo:135) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2007-02-18 11:07:38 xend.XendDomainInfo 14945] WARNING (XendDomainInfo:149) /local/domain/0/vm is missing. recreate is confused, trying our best to recover [2007-02-18 11:07:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1714) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''0'', ''uuid'': ''00000000-0000-0000-0000-000000000000'', ''name'': ''Domain-0'', ''on_reboot'': ''restart'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''768'', ''maxmem'': ''768''} [2007-02-18 11:07:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:731) Storing domain details: {''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0'', ''cpu/0/availability'': ''online'', ''memory/target'': ''786432''} [2007-02-18 11:07:38 xend 14945] DEBUG (XendDomain:428) Adding Domain: 0 [2007-02-18 11:07:38 xend 14945] DEBUG (XendDomain:372) number of vcpus to use is 0 [2007-02-18 11:07:38 xend 14945] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock. [2007-02-18 11:07:38 xend 14945] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2007-02-18 11:07:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''binhost''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''cpu_cap'', 80], [''cpu_weight'', 128], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br0''], [''mac'', ''00:16:3E:78:14:90'']]]]) [2007-02-18 11:08:15 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 1 256 [2007-02-18 11:08:15 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 262144; done. [2007-02-18 11:08:15 xend 14945] INFO (image:125) buildDomain os=linux dom=1 vcpus=1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:194) domid = 1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:195) memsize = 256 [2007-02-18 11:08:15 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:08:15 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:08:15 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:08:15 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:08:15 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:08:15 xend 14945] DEBUG (image:202) features [2007-02-18 11:08:15 xend.XendDomainInfo 14945] 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-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=1 [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(1) [2007-02-18 11:08:15 xend.XendDomainInfo 14945] 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-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:08:15 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''binhost''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''cpu_cap'', 80], [''cpu_weight'', 128], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br0''], [''mac'', ''00:16:3E:78:14:90'']]]]) [2007-02-18 11:08:29 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 2 256 [2007-02-18 11:08:29 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 262144; done. [2007-02-18 11:08:29 xend 14945] INFO (image:125) buildDomain os=linux dom=2 vcpus=1 [2007-02-18 11:08:29 xend 14945] DEBUG (image:194) domid = 2 [2007-02-18 11:08:29 xend 14945] DEBUG (image:195) memsize = 256 [2007-02-18 11:08:29 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:08:29 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:08:29 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:08:29 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:08:29 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:08:29 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:08:29 xend 14945] DEBUG (image:202) features [2007-02-18 11:08:29 xend.XendDomainInfo 14945] 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-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=2 [2007-02-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(2) [2007-02-18 11:08:29 xend.XendDomainInfo 14945] 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-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:08:29 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''binhost''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br0''], [''mac'', ''00:16:3E:78:14:90'']]]]) [2007-02-18 11:09:38 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 3 256 [2007-02-18 11:09:38 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 262144; done. [2007-02-18 11:09:38 xend 14945] INFO (image:125) buildDomain os=linux dom=3 vcpus=1 [2007-02-18 11:09:38 xend 14945] DEBUG (image:194) domid = 3 [2007-02-18 11:09:38 xend 14945] DEBUG (image:195) memsize = 256 [2007-02-18 11:09:38 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:09:38 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:09:38 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:09:38 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:09:38 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:09:38 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:09:38 xend 14945] DEBUG (image:202) features [2007-02-18 11:09:38 xend.XendDomainInfo 14945] 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-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=3 [2007-02-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(3) [2007-02-18 11:09:38 xend.XendDomainInfo 14945] 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-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:09:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''binhost''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/binhost_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br0''], [''mac'', ''00:16:3E:78:14:90'']]]]) [2007-02-18 11:09:43 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 4 256 [2007-02-18 11:09:43 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 262144; done. [2007-02-18 11:09:43 xend 14945] INFO (image:125) buildDomain os=linux dom=4 vcpus=1 [2007-02-18 11:09:43 xend 14945] DEBUG (image:194) domid = 4 [2007-02-18 11:09:43 xend 14945] DEBUG (image:195) memsize = 256 [2007-02-18 11:09:43 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:09:43 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:09:43 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:09:43 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:09:43 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:09:43 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:09:43 xend 14945] DEBUG (image:202) features [2007-02-18 11:09:43 xend.XendDomainInfo 14945] 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-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=4 [2007-02-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(4) [2007-02-18 11:09:43 xend.XendDomainInfo 14945] 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-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:09:43 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''krusty''], [''memory'', 64], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''cpu_cap'', 25], [''cpu_weight'', 64], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br1''], [''mac'', ''00:16:3E:78:14:91'']]]]) [2007-02-18 11:10:57 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 5 256 [2007-02-18 11:10:57 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 65536; done. [2007-02-18 11:10:57 xend 14945] INFO (image:125) buildDomain os=linux dom=5 vcpus=1 [2007-02-18 11:10:57 xend 14945] DEBUG (image:194) domid = 5 [2007-02-18 11:10:57 xend 14945] DEBUG (image:195) memsize = 64 [2007-02-18 11:10:57 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:10:57 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:10:57 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:10:57 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:10:57 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:10:57 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:10:57 xend 14945] DEBUG (image:202) features [2007-02-18 11:10:57 xend.XendDomainInfo 14945] 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-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=5 [2007-02-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(5) [2007-02-18 11:10:57 xend.XendDomainInfo 14945] 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-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:10:57 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''krusty''], [''memory'', 64], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br1''], [''mac'', ''00:16:3E:78:14:91'']]]]) [2007-02-18 11:11:38 xend.XendConfig 14945] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 6 256 [2007-02-18 11:11:38 xend 14945] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 65536; done. [2007-02-18 11:11:38 xend 14945] INFO (image:125) buildDomain os=linux dom=6 vcpus=1 [2007-02-18 11:11:38 xend 14945] DEBUG (image:194) domid = 6 [2007-02-18 11:11:38 xend 14945] DEBUG (image:195) memsize = 64 [2007-02-18 11:11:38 xend 14945] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:11:38 xend 14945] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:11:38 xend 14945] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:11:38 xend 14945] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:11:38 xend 14945] DEBUG (image:200) ramdisk [2007-02-18 11:11:38 xend 14945] DEBUG (image:201) vcpus = 1 [2007-02-18 11:11:38 xend 14945] DEBUG (image:202) features [2007-02-18 11:11:38 xend.XendDomainInfo 14945] 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-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=6 [2007-02-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(6) [2007-02-18 11:11:38 xend.XendDomainInfo 14945] 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-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:11:38 xend.XendDomainInfo 14945] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:12:52 xend 15004] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-18 11:12:52 xend 14945] DEBUG (SrvServer:75) SrvServer.cleanup() [2007-02-18 11:12:53 xend 14945] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-02-18 11:12:53 xend 14945] DEBUG (SrvServer:157) Waiting for [''XMLRPCServer'']. [2007-02-18 11:12:53 xend 14945] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-02-18 11:12:53 xend 14944] INFO (SrvDaemon:218) Xend exited with status 0. [2007-02-18 11:12:58 xend 15009] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-18 11:12:58 xend 15021] INFO (SrvDaemon:322) Xend Daemon started [2007-02-18 11:12:58 xend 15021] INFO (SrvDaemon:326) Xend changeset: unavailable. [2007-02-18 11:12:58 xend 15021] INFO (SrvDaemon:333) Xend version: Unknown. [2007-02-18 11:12:58 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:121) XendDomainInfo.recreate({''max_vcpu_id'': 0, ''cpu_time'': 106079021758L, ''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-18 11:12:58 xend.XendDomainInfo 15021] INFO (XendDomainInfo:135) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2007-02-18 11:12:58 xend 15021] DEBUG (XendDomain:428) Adding Domain: 0 [2007-02-18 11:12:58 xend 15021] DEBUG (XendDomain:372) number of vcpus to use is 0 [2007-02-18 11:12:58 xend 15021] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock. [2007-02-18 11:12:58 xend 15021] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2007-02-18 11:12:58 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-02-18 11:12:59 xend 15027] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''centos-vm4''], [''memory'', 96], [''maxmem'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro'']]], [''device'', [''vbd'', [''uname'', ''file:/usr/local/xen/centos-vm4/centos.4-3.img''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/usr/local/xen/centos-vm4/centos.swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''mac'', ''00:16:3E:78:14:8B'']]]]) [2007-02-18 11:13:20 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 7 256 [2007-02-18 11:13:20 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 98304; done. [2007-02-18 11:13:20 xend 15021] INFO (image:125) buildDomain os=linux dom=7 vcpus=1 [2007-02-18 11:13:20 xend 15021] DEBUG (image:194) domid = 7 [2007-02-18 11:13:20 xend 15021] DEBUG (image:195) memsize = 96 [2007-02-18 11:13:20 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:13:20 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:13:20 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:13:20 xend 15021] DEBUG (image:199) cmdline = root=/dev/sda1 ro [2007-02-18 11:13:20 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:13:20 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:13:20 xend 15021] DEBUG (image:202) features [2007-02-18 11:13:20 xend.XendDomainInfo 15021] 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-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=7 [2007-02-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(7) [2007-02-18 11:13:20 xend.XendDomainInfo 15021] 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-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:13:20 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''centos-vm4''], [''memory'', 96], [''maxmem'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro'']]], [''device'', [''vbd'', [''uname'', ''file:/usr/local/xen/centos-vm4/centos.4-3.img''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/usr/local/xen/centos-vm4/centos.swap''], [''dev'', ''sda2''], [''mode'', ''w'']]]]) [2007-02-18 11:14:46 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 8 256 [2007-02-18 11:14:46 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 98304; done. [2007-02-18 11:14:46 xend 15021] INFO (image:125) buildDomain os=linux dom=8 vcpus=1 [2007-02-18 11:14:46 xend 15021] DEBUG (image:194) domid = 8 [2007-02-18 11:14:46 xend 15021] DEBUG (image:195) memsize = 96 [2007-02-18 11:14:46 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:14:46 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:14:46 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:14:46 xend 15021] DEBUG (image:199) cmdline = root=/dev/sda1 ro [2007-02-18 11:14:46 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:14:46 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:14:46 xend 15021] DEBUG (image:202) features [2007-02-18 11:14:46 xend.XendDomainInfo 15021] 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-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=8 [2007-02-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(8) [2007-02-18 11:14:46 xend.XendDomainInfo 15021] 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-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:14:46 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''centos-vm4''], [''memory'', 96], [''maxmem'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro'']]]]) [2007-02-18 11:14:53 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 9 256 [2007-02-18 11:14:53 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 98304; done. [2007-02-18 11:14:53 xend 15021] INFO (image:125) buildDomain os=linux dom=9 vcpus=1 [2007-02-18 11:14:53 xend 15021] DEBUG (image:194) domid = 9 [2007-02-18 11:14:53 xend 15021] DEBUG (image:195) memsize = 96 [2007-02-18 11:14:53 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:14:53 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:14:53 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:14:53 xend 15021] DEBUG (image:199) cmdline = root=/dev/sda1 ro [2007-02-18 11:14:53 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:14:53 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:14:53 xend 15021] DEBUG (image:202) features [2007-02-18 11:14:53 xend.XendDomainInfo 15021] 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-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=9 [2007-02-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(9) [2007-02-18 11:14:53 xend.XendDomainInfo 15021] 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-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:14:53 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''centos-vm4''], [''memory'', 96], [''maxmem'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU'']]]]) [2007-02-18 11:15:01 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 10 256 [2007-02-18 11:15:01 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 98304; done. [2007-02-18 11:15:01 xend 15021] INFO (image:125) buildDomain os=linux dom=10 vcpus=1 [2007-02-18 11:15:01 xend 15021] DEBUG (image:194) domid = 10 [2007-02-18 11:15:01 xend 15021] DEBUG (image:195) memsize = 96 [2007-02-18 11:15:01 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:15:01 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:15:01 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:15:01 xend 15021] DEBUG (image:199) cmdline [2007-02-18 11:15:01 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:15:01 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:15:01 xend 15021] DEBUG (image:202) features [2007-02-18 11:15:01 xend.XendDomainInfo 15021] 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-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=10 [2007-02-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(10) [2007-02-18 11:15:01 xend.XendDomainInfo 15021] 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-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:15:01 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''krusty''], [''memory'', 64], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br1''], [''mac'', ''00:16:3E:78:14:91'']]]]) [2007-02-18 11:15:40 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 11 256 [2007-02-18 11:15:40 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 65536; done. [2007-02-18 11:15:40 xend 15021] INFO (image:125) buildDomain os=linux dom=11 vcpus=1 [2007-02-18 11:15:40 xend 15021] DEBUG (image:194) domid = 11 [2007-02-18 11:15:40 xend 15021] DEBUG (image:195) memsize = 64 [2007-02-18 11:15:40 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:15:40 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:15:40 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:15:40 xend 15021] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:15:40 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:15:40 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:15:40 xend 15021] DEBUG (image:202) features [2007-02-18 11:15:40 xend.XendDomainInfo 15021] 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-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=11 [2007-02-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(11) [2007-02-18 11:15:40 xend.XendDomainInfo 15021] 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-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:15:40 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''krusty''], [''memory'', 64], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/sda1 ro''], [''args'', ''gentoo=nodevfs'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda1''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/homervg/krusty_sda2''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''br1''], [''mac'', ''00:16:3E:78:14:91'']]]]) [2007-02-18 11:17:21 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 12 256 [2007-02-18 11:17:21 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 65536; done. [2007-02-18 11:17:21 xend 15021] INFO (image:125) buildDomain os=linux dom=12 vcpus=1 [2007-02-18 11:17:21 xend 15021] DEBUG (image:194) domid = 12 [2007-02-18 11:17:21 xend 15021] DEBUG (image:195) memsize = 64 [2007-02-18 11:17:21 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:17:21 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:17:21 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:17:21 xend 15021] DEBUG (image:199) cmdline = root=/dev/sda1 ro gentoo=nodevfs [2007-02-18 11:17:21 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:17:21 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:17:21 xend 15021] DEBUG (image:202) features [2007-02-18 11:17:21 xend.XendDomainInfo 15021] 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-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=12 [2007-02-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(12) [2007-02-18 11:17:21 xend.XendDomainInfo 15021] 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-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:17:21 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''ExampleDomain''], [''memory'', 64], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.10-xenU''], [''root'', ''/dev/hda1 ro''], [''args'', ''4'']]], [''device'', [''vbd'', [''uname'', ''phy:hda1''], [''dev'', ''hda1''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2007-02-18 11:17:32 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 13 256 [2007-02-18 11:17:32 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 65536; done. [2007-02-18 11:17:32 xend.XendDomainInfo 15021] 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 1383, in _initDomain channel_details = self.image.createImage() File "//usr/lib/python/xen/xend/image.py", line 108, in createImage return self.createDomain() File "//usr/lib/python/xen/xend/image.py", line 117, in createDomain raise VmError(''Kernel image does not exist: %s'' % self.kernel) VmError: Kernel image does not exist: /boot/vmlinuz-2.6.10-xenU [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=13 [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(13) [2007-02-18 11:17:32 xend.XendDomainInfo 15021] 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 1383, in _initDomain channel_details = self.image.createImage() File "//usr/lib/python/xen/xend/image.py", line 108, in createImage return self.createDomain() File "//usr/lib/python/xen/xend/image.py", line 117, in createDomain raise VmError(''Kernel image does not exist: %s'' % self.kernel) VmError: Kernel image does not exist: /boot/vmlinuz-2.6.10-xenU [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:17:32 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:17:54 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''ExampleDomain''], [''memory'', 64], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/usr/local/xen/boot/vmlinuz-2.6-xen-domU''], [''root'', ''/dev/hda1 ro''], [''args'', ''4'']]], [''device'', [''vbd'', [''uname'', ''phy:hda1''], [''dev'', ''hda1''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2007-02-18 11:17:54 xend.XendConfig 15021] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-18 11:17:54 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-18 11:17:54 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 14 256 [2007-02-18 11:17:54 xend 15021] DEBUG (balloon:127) Balloon: 1281724 KiB free; need 65536; done. [2007-02-18 11:17:54 xend 15021] INFO (image:125) buildDomain os=linux dom=14 vcpus=1 [2007-02-18 11:17:54 xend 15021] DEBUG (image:194) domid = 14 [2007-02-18 11:17:54 xend 15021] DEBUG (image:195) memsize = 64 [2007-02-18 11:17:54 xend 15021] DEBUG (image:196) image = /usr/local/xen/boot/vmlinuz-2.6-xen-domU [2007-02-18 11:17:54 xend 15021] DEBUG (image:197) store_evtchn = 1 [2007-02-18 11:17:54 xend 15021] DEBUG (image:198) console_evtchn = 2 [2007-02-18 11:17:54 xend 15021] DEBUG (image:199) cmdline = root=/dev/hda1 ro 4 [2007-02-18 11:17:54 xend 15021] DEBUG (image:200) ramdisk [2007-02-18 11:17:54 xend 15021] DEBUG (image:201) vcpus = 1 [2007-02-18 11:17:54 xend 15021] DEBUG (image:202) features [2007-02-18 11:17:55 xend.XendDomainInfo 15021] 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-18 11:17:55 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=14 [2007-02-18 11:17:55 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(14) [2007-02-18 11:17:55 xend.XendDomainInfo 15021] 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-18 11:17:55 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-18 11:17:55 xend.XendDomainInfo 15021] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-18 11:19:35 xend 15067] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support. [2007-02-18 11:19:35 xend 15021] DEBUG (SrvServer:75) SrvServer.cleanup() [2007-02-18 11:19:36 xend 15021] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-02-18 11:19:36 xend 15021] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-02-18 11:19:36 xend 15020] INFO (SrvDaemon:218) Xend exited with status 0. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2007-Feb-18 18:08 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
On 2/18/07, xensource@pivert.org <xensource@pivert.org> wrote:> My xend-debug.log says almost nothing : > Xend started at Sun Feb 18 11:07:38 2007. > Xend started at Sun Feb 18 11:12:58 2007. >This is very strange. Normally this log contains the real useful error messages. What do all the other logs say? And, what distribution do you run on, and how does your xend and vm config look like? Please, don''t post too long config and log file directly here - your something like pastebin.com. And if you post logiles, ples post only relevant sections. (e.g. that would be the last lines that were written in you last attempt to start the domU, not the full logfile of all 20 tries - it''s easiert to read when shorter) Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rakhesh Sasidharan
2007-Feb-19 11:43 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
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@lists.xensource.com http://lists.xensource.com/xen-users
xensource@pivert.org
2007-Feb-20 21:42 UTC
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@lists.xensource.com http://lists.xensource.com/xen-users
Luke S. Crawford
2007-Feb-20 21:48 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
On Tue, 20 Feb 2007, xensource@pivert.org wrote:> 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.a quick and dirty way to test the PAE problem is to let the Dom0 and the DomU use the same kernel; that way you know they use the same PAE. just change the kernel= line in your DomU config file. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kraska, Joe A \(US SSA\)
2007-Feb-20 22:06 UTC
RE: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when startingdomain.
> > I don''t know how ... to check if it (PAE) is enabled...cat /proc/cpuinfo | grep pae Should work in dom0 and domU both. Group can correct me if there is something specific about Xen that would make this not true. Joe. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Håkan
2007-Feb-26 15:52 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
xensource@pivert.org wrote:> 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 blktapctrlI had a similar problem when I upgraded from 3.0.3 to 3.0.4. In my domU config files I had cpus = "" which caused 3.0.4 to give me a "Invalid argument" (if I recall correctly), upon running xm create. Commenting this out helped for me. /Håkan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xensource@pivert.org
2007-Mar-01 19:37 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
Sorry for my late answer... But testing the new xen/kernel is always a pain for me, as my internet connection, DNS server and my asterisk PBX are running in domUs... Moreover, each time I boot the 2.6.19 kernel, I need to remove the xen 3.0.2 installation (emerge -C xen-utils), and then go to my xensource 3.0.4 and issue a make install... in order to have the xen tools working with the new kernel. I tried with the same kernel as the booted one, but still the same error message. With nothing interesting in logs. (See below). So, if you have any address, or howto, or other kernel that I could try (this one is comming from redhat), I''m reall interested. Please note that xend is well running and xm list shows the dom0. I have a 32 bits installation on an amd64. Here is the behavior... homer xen # uname -a Linux homer 2.6.19.2-dom0 #2 SMP Sat Feb 17 11:27:31 CET 2007 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux homer xen # grep -v ''^#'' /etc/xen/krusty kernel = "/boot/vmlinuz-2.6.19.2-dom0" memory = 64 name = "krusty" vif = [ ''mac=00:16:3E:78:14:91, bridge=br1'' ] disk = [''phy:/dev/homervg/krusty_sda1,sda1,w'', ''phy:/dev/homervg/krusty_sda2,sda2,w''] root = "/dev/sda1 ro" extra = "gentoo=nodevfs" homer xen # xm create krusty Using config file "./krusty". Error: (22, ''Invalid argument'') homer xen # Regards, Le lundi 19 février 2007 12:43, Rakhesh Sasidharan a é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@lists.xensource.com http://lists.xensource.com/xen-users
xensource@pivert.org
2007-Mar-04 14:29 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
Sorry for my late answer... But testing the new xen/kernel is always a pain for me, as my internet connection, DNS server and my asterisk PBX are running in domUs... Moreover, each time I boot the 2.6.19 kernel, I need to remove the xen 3.0.2 installation (emerge -C xen-utils), and then go to my xensource 3.0.4 and issue a make install... in order to have the xen tools working with the new kernel. I tried with the same kernel as the booted one, but still the same error message. With nothing interesting in logs. (See below). So, if you have any address, or howto, or other kernel that I could try (this one is comming from redhat), I''m reall interested. Please note that xend is well running and xm list shows the dom0. I have a 32 bits installation on an amd64. Here is the behavior... homer xen # uname -a Linux homer 2.6.19.2-dom0 #2 SMP Sat Feb 17 11:27:31 CET 2007 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux homer xen # grep -v ''^#'' /etc/xen/krusty kernel = "/boot/vmlinuz-2.6.19.2-dom0" memory = 64 name = "krusty" vif = [ ''mac=00:16:3E:78:14:91, bridge=br1'' ] disk = [''phy:/dev/homervg/krusty_sda1,sda1,w'', ''phy:/dev/homervg/krusty_sda2,sda2,w''] root = "/dev/sda1 ro" extra = "gentoo=nodevfs" homer xen # xm create krusty Using config file "./krusty". Error: (22, ''Invalid argument'') homer xen # Regards, Le lundi 19 février 2007 12:43, Rakhesh Sasidharan a é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@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Mar-04 18:03 UTC
Re: [Xen-users] xen 3.0.4 - 22, ''Invalid argument'' when starting domain.
On 3/4/07, xensource@pivert.org <xensource@pivert.org> wrote:> Sorry for my late answer... But testing the new xen/kernel is always a pain > for me, as my internet connection, DNS server and my asterisk PBX are running > in domUs... > > Moreover, each time I boot the 2.6.19 kernel, I need to remove the xen 3.0.2 > installation (emerge -C xen-utils), and then go to my xensource 3.0.4 and > issue a make install... in order to have the xen tools working with the nehomervg/krusty_sda1w > kernel.I''ve become a bit lost with this thread, but here goes....> I tried with the same kernel as the booted one, but still the same error > message. With nothing interesting in logs. (See below).OK, for clarification, the domU with the 22 error creates fine with the 3.0.2 system?> So, if you have any address, or howto, or other kernel that I could try (this > one is comming from redhat), I''m reall interested. > > Please note that xend is well running and xm list shows the dom0. I have a 32 > bits installation on an amd64. > Here is the behavior...The combinations of distros you have going for dom0/domU and sources is confuing things also...> homer xen # uname -a > Linux homer 2.6.19.2-dom0 #2 SMP Sat Feb 17 11:27:31 CET 2007 i686 AMD > Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux > homer xen # grep -v ''^#'' /etc/xen/krusty > kernel = "/boot/vmlinuz-2.6.19.2-dom0"You want a domU kernel here, or just xen-enabled if the source does not differentiate them.> memory = 64No more than 64 mb to try?? Orig. post used 256...> name = "krusty" > vif = [ ''mac=00:16:3E:78:14:91, bridge=br1'' ]Original post were using br0...> disk > [''phy:/dev/homervg/krusty_sda1,sda1,w'', ''phy:/dev/homervg/krusty_sda2,sda2,w'']An oddball thought, but can you rename the lv without the _? Should also be relative to /dev, i.e. "homervg/krustysda1".> root = "/dev/sda1 ro" > extra = "gentoo=nodevfs"So gentoo is the domU distro? You''ve created the device files in the domU / file system? (sorry - I''m not gentoo-aware...) jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users