Hi I have installed Xen-Unstable with PAE. (Base Linux is Centos 4.2) I have got the Server to boot, and see''s all 16 GB of memory. But when I tryto do xm create xen01 I seem to get this error. XendError: Error creating domain: (22, ''Invalid argument'') Any ideas.>From the error log its seems to point to the ramdisk, but whetherthats in the config or not it still say the same thing. Thanks Andrew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>I have installed Xen-Unstable with PAE. (Base Linux is Centos 4.2)What version of xen-unstable? (what snapshot or hg cset)>I have got the Server to boot, and see''s all 16 GB of memory. > >But when I tryto do xm create xen01 I seem to get this error. > >XendError: Error creating domain: (22, ''Invalid argument'')What does your config file look like? What is in /var/log/xend.log? cheers, S. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Hopefully two files are attached. Xend is running, as I can do xm info, xm list etc. Not sure what version is, I pulled it down from the website last night, I didnt use hg, it was just from the website. Thanks On 25/11/05, Steven Hand <Steven.Hand@cl.cam.ac.uk> wrote:> > >I have installed Xen-Unstable with PAE. (Base Linux is Centos 4.2) > > What version of xen-unstable? (what snapshot or hg cset) > > >I have got the Server to boot, and see''s all 16 GB of memory. > > > >But when I tryto do xm create xen01 I seem to get this error. > > > >XendError: Error creating domain: (22, ''Invalid argument'') > > What does your config file look like? > What is in /var/log/xend.log? > > > cheers, > > S. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hopefully two files are attached. > > Xend is running, as I can do xm info, xm list etc.Hmm - so it looks like you''re getting an error deep within xc_linux_build. This might fail due to a bogus (or inaccessible) kernel image - is /boot/vmlinuz-2.6.12-xenU valid? As far as I can see most error paths should issue something on stderr - can you check /var/log/xend-debug.log? cheers, S. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 25/11/05, Steven Hand <Steven.Hand@cl.cam.ac.uk> wrote:> > > Hopefully two files are attached. > > > > Xend is running, as I can do xm info, xm list etc. > > Hmm - so it looks like you''re getting an error deep within > xc_linux_build. This might fail due to a bogus (or inaccessible) > kernel image - is /boot/vmlinuz-2.6.12-xenU valid?ls -al /boot/vm* -rw-r--r-- 1 root root 5823337 Nov 24 20:20 /boot/vmlinux-syms-2.6.12.6-xen0 -rw-r--r-- 1 root root 3063902 Nov 24 20:20 /boot/vmlinux-syms-2.6.12.6-xenU -rw-r--r-- 1 root root 2251607 Nov 24 20:20 /boot/vmlinuz-2.6.12.6-xen0 -rw-r--r-- 1 root root 1187173 Nov 24 20:20 /boot/vmlinuz-2.6.12.6-xenU lrwxrwxrwx 1 root root 21 Nov 24 20:20 /boot/vmlinuz-2.6.12-xen0 -> vmlinuz-2.6.12.6-xen0 lrwxrwxrwx 1 root root 21 Nov 24 20:20 /boot/vmlinuz-2.6.12-xenU -> vmlinuz-2.6.12.6-xenU -rw-r--r-- 1 root root 1465200 Oct 27 18:54 /boot/vmlinuz-2.6.9-22.0.1.EL -rw-r--r-- 1 root root 1426548 Oct 27 19:38 /boot/vmlinuz-2.6.9-22.0.1.ELsmp -rw-r--r-- 1 root root 1465080 Oct 9 00:49 /boot/vmlinuz-2.6.9-22.EL -rw-r--r-- 1 root root 1426682 Oct 9 02:12 /boot/vmlinuz-2.6.9-22.ELsmp lrwxrwxrwx 1 root root 21 Nov 24 20:20 /boot/vmlinuz-2.6-xen0 -> vmlinuz-2.6.12.6-xen0 lrwxrwxrwx 1 root root 21 Nov 24 20:20 /boot/vmlinuz-2.6-xenU -> vmlinuz-2.6.12.6-xenU> > As far as I can see most error paths should issue something on stderr > - can you check /var/log/xend-debug.log?ERROR: Error constructing guest OS Traceback (most recent call last): File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 77, in op_create dominfo = self.xd.domain_create(config) File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 219, in domain_create dominfo = XendDomainInfo.create(config) File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 182, in create vm.initDomain() File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 1118, in initDomain channel_details = self.image.createImage() File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/image.py", line 115, in createImage return self.createDomain() File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/image.py", line 134, in createDomain result = self.buildDomain() File "/root/xen-unstable/dist/install/usr/lib/python/xen/xend/image.py", line 183, in buildDomain ramdisk = self.ramdisk) error: (22, ''Invalid argument'')>when I issue this command xm create xen01 Using config file "/etc/xen/xen01". Error: Error creating domain: (22, ''Invalid argument'')> > cheers, > > S. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > As far as I can see most error paths should issue something on stderr > > - can you check /var/log/xend-debug.log?You''re sure this is /var/log/xend-debug.log (not /var/log/xend.log) ? And did you check the image itself, e.g. "file /boot/vmlinuz-2.6.12-xenU" ? cheers, S. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 25/11/05, Steven Hand <Steven.Hand@cl.cam.ac.uk> wrote:> > > On 25/11/05, Steven Hand <Steven.Hand@cl.cam.ac.uk> wrote: > > > > > > > > As far as I can see most error paths should issue something on stderr > > > > > - can you check /var/log/xend-debug.log? > > > > > > You''re sure this is /var/log/xend-debug.log (not /var/log/xend.log) ? > > > > Yes positive. The Attatchment I sent before was the xend.log and the > > latest paste i did was from the xen-debug.log > > Yes, I see. > > The "Error constructing guest OS" message comes from xc_linux_build() > when setup_guest() fails. Most of the error paths in there spit out > some stuff to stderr (which would appear in the log prior to the > "Error constructing guest OS" mesage). > > Given that you''re not getting any, it seems like it must be one of the > ''silent'' paths, which is trickier to track down. The first of these > ''silent'' paths is a failure to parse the image format (which should > be the elf parser), hence my other question. > > > > And did you check the image itself, e.g. "file /boot/vmlinuz-2.6.12-xenU" ? > > > > I did an ls -al /boot/vm* How else can it be verified ? > > Well "file /boot/vmlinuz-2.6.12-xenU" to check it''s actually a gzip > compressed image; and if so, "cat /boot/vmlinuz-2.6.12-xenU | gunzip > -c >/tmp/FOO" and "objdump -d /tmp/FOO" to check its an ok ELF image. >Okay Followed your steps, and it came out with load of c035d68f: c3 ret c035d690: 83 ec 04 sub $0x4,%esp c035d693: e8 b8 2d f6 ff call 0xc02c0450 c035d698: e8 63 83 f5 ff call 0xc02b5a00 c035d69d: c7 04 24 e0 99 31 c0 movl $0xc03199e0,(%esp) c035d6a4: e8 d7 ff f5 ff call 0xc02bd680 c035d6a9: c7 04 24 60 9a 31 c0 movl $0xc0319a60,(%esp) c035d6b0: e8 cb ff f5 ff call 0xc02bd680 c035d6b5: e8 e6 33 f6 ff call 0xc02c0aa0 c035d6ba: 59 pop %ecx c035d6bb: e9 50 33 f6 ff jmp 0xc02c0a10> > > > cheers, > > S. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Well "file /boot/vmlinuz-2.6.12-xenU" to check it''s actually a gzip > > compressed image; and if so, "cat /boot/vmlinuz-2.6.12-xenU > | gunzip > > -c >/tmp/FOO" and "objdump -d /tmp/FOO" to check its an ok > ELF image. > > > > Okay > > Followed your steps, and it came out with load of > > c035d68f: c3 ret > c035d690: 83 ec 04 sub $0x4,%esp > c035d693: e8 b8 2d f6 ff call 0xc02c0450 > c035d698: e8 63 83 f5 ff call 0xc02b5a00 > c035d69d: c7 04 24 e0 99 31 c0 movl $0xc03199e0,(%esp) > c035d6a4: e8 d7 ff f5 ff call 0xc02bd680 > c035d6a9: c7 04 24 60 9a 31 c0 movl $0xc0319a60,(%esp) > c035d6b0: e8 cb ff f5 ff call 0xc02bd680 > c035d6b5: e8 e6 33 f6 ff call 0xc02c0aa0 > c035d6ba: 59 pop %ecx > c035d6bb: e9 50 33 f6 ff jmp 0xc02c0a10 >Yes, that looks fine. Are you sure that you uninstalled any old version of Xen before installing the new version? I''ve had problems before where I had a mixture of Xen "bits" that wasn''t from the same build, and thus didn''t really expect the same things... -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 25/11/05, Petersson, Mats <mats.petersson@amd.com> wrote:> > > Well "file /boot/vmlinuz-2.6.12-xenU" to check it''s actually a gzip > > > compressed image; and if so, "cat /boot/vmlinuz-2.6.12-xenU > > | gunzip > > > -c >/tmp/FOO" and "objdump -d /tmp/FOO" to check its an ok > > ELF image. > > > > > > > Okay > > > > Followed your steps, and it came out with load of > > > > c035d68f: c3 ret > > c035d690: 83 ec 04 sub $0x4,%esp > > c035d693: e8 b8 2d f6 ff call 0xc02c0450 > > c035d698: e8 63 83 f5 ff call 0xc02b5a00 > > c035d69d: c7 04 24 e0 99 31 c0 movl $0xc03199e0,(%esp) > > c035d6a4: e8 d7 ff f5 ff call 0xc02bd680 > > c035d6a9: c7 04 24 60 9a 31 c0 movl $0xc0319a60,(%esp) > > c035d6b0: e8 cb ff f5 ff call 0xc02bd680 > > c035d6b5: e8 e6 33 f6 ff call 0xc02c0aa0 > > c035d6ba: 59 pop %ecx > > c035d6bb: e9 50 33 f6 ff jmp 0xc02c0a10 > > > Yes, that looks fine. > > Are you sure that you uninstalled any old version of Xen before > installing the new version? I''ve had problems before where I had a > mixture of Xen "bits" that wasn''t from the same build, and thus didn''t > really expect the same things...Hi Its a completely fresh install, I reinstalled the base OS lastnight and the pulled down the latest xen-unstable source and then here we are. Thanks> > -- > Mats > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> On 25/11/05, Petersson, Mats <mats.petersson@amd.com> wrote: > > > > Well "file /boot/vmlinuz-2.6.12-xenU" to check it''s actually a gzip > > > > compressed image; and if so, "cat /boot/vmlinuz-2.6.12-xenU > > > | gunzip > > > > -c >/tmp/FOO" and "objdump -d /tmp/FOO" to check its an ok > > > ELF image. > > > > > > > > > > Okay > > > > > > Followed your steps, and it came out with load of > > > > > > c035d68f: c3 ret > > > c035d690: 83 ec 04 sub $0x4,%esp > > > c035d693: e8 b8 2d f6 ff call 0xc02c0450 > > > c035d698: e8 63 83 f5 ff call 0xc02b5a00 > > > c035d69d: c7 04 24 e0 99 31 c0 movl $0xc03199e0,(%esp) > > > c035d6a4: e8 d7 ff f5 ff call 0xc02bd680 > > > c035d6a9: c7 04 24 60 9a 31 c0 movl $0xc0319a60,(%esp) > > > c035d6b0: e8 cb ff f5 ff call 0xc02bd680 > > > c035d6b5: e8 e6 33 f6 ff call 0xc02c0aa0 > > > c035d6ba: 59 pop %ecx > > > c035d6bb: e9 50 33 f6 ff jmp 0xc02c0a10 > > > > > Yes, that looks fine. > > > > Are you sure that you uninstalled any old version of Xen before > > installing the new version? I''ve had problems before where I had a > > mixture of Xen "bits" that wasn''t from the same build, and thus didn''t > > really expect the same things... > > Its a completely fresh install, I reinstalled the base OS lastnight > and the pulled down the latest xen-unstable source and then here we > are.Ok this is quite odd. Can you please apply the following patch and rebuild and reinstall the tools (and restart xend) and then retry? Should hopefully get some more info out in /var/log/xend-debug.log ... cheers S. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users