Mailing List Archive

FC6, xen 3.0.3, ia32, rpms from either FC6 repo or xensource, failing to start a vm
xend is running.

[root@enigma ~]# xm create plan9inst -c
Using config file "/etc/xen/plan9inst".
Error: (22, 'Invalid argument')
[root@enigma ~]#

[root@enigma ~]# strace -f !!
.
.
.connect(3, {sa_family=AF_FILE, path="/var/run/xend/xmlrpc.sock"}, 27) = 0
send(3, "POST /RPC2 HTTP/1.0\r\nHost: \r\nUser-Agent:
xmlrpclib.py/1.0.1 (by www.pythonware.com)\r\nContent-Type:
text/xml\r\nContent-Length: 2787\r\n\r\n", 133, 0) = 133
send(3, "<?xml version=\'1.0\'?>\n<methodCall>\n<methodName>xend.domain.create</methodName>\n<params>\n<param>\n<value><array><data>\n<value><string>vm</string></value>\n<value><array><data>\n<value><string>name</string></value>\n<value><string>plan9</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>memory</string></value>\n<value><int>96</int></value>\n</data></array></value>\n<value><array><data>\n<value><string>restart</string></value>\n<value><string>never</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>vcpus</string></value>\n<value><int>1</int></value>\n</data></array></value>\n<value><array><data>\n<value><string>image</string></value>\n<value><array><data>\n<value><string>linux</string></value>\n<value><array><data>\n<value><string>kernel</string></value>\n<value><string>/usr/xen9/9xeninst.gz</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>args</string></value>\n<value><string>\nnobootprompt=local!/boot/bzroot\nbootfile=sd01!cdboot!bootdisk.img\n</string>"...,
2787, 0) = 2787


recv(3, "<?xml version=\'1.0\'?>\n<methodResponse>\n<fault>\n<value><struct>\n<member>\n<name>faultCode</name>\n<value><int>2</int></value>\n</member>\n<member>\n<name>faultString</name>\n<value><string>(22,
\'Invalid argument\')</string></value>\n</member>\n</struct></value>\n</fault>\n</methodResponse>\n",
1024, 0) = 279

Suggestions welcome.

thanks

ron

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: FC6, xen 3.0.3, ia32, rpms from either FC6 repo or xensource, failing to start a vm [ In reply to ]
>xend is running.
>
>[root@enigma ~]# xm create plan9inst -c
>Using config file "/etc/xen/plan9inst".
>Error: (22, 'Invalid argument')

This usually means that the image you're trying to load isn't a valid
ELF image (or is of the wrong 'arch' for the hypervisor, e.g. PAE kernel
on 32 bit xen).

What's in /var/log/xen/xend.log and /var/log/xen/xend-debug.log ?



cheers,

S.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: FC6, xen 3.0.3, ia32, rpms from either FC6 repo or xensource, failing to start a vm [ In reply to ]
yeah, I found it by tracing xend; it looks like the RPMs at xensource
and in FC6 are for PAE kernels, which plan 9 is not.

Guess I build from source now.

Thanks for the pointers, though.

ron

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: FC6, xen 3.0.3, ia32, rpms from either FC6 repo or xensource, failing to start a vm [ In reply to ]
Does this mean there's a Xen 3 enabled Plan 9?

Cheers,
Mark

On Thursday 30 November 2006 21:33, ron minnich wrote:
> yeah, I found it by tracing xend; it looks like the RPMs at xensource
> and in FC6 are for PAE kernels, which plan 9 is not.
>
> Guess I build from source now.
>
> Thanks for the pointers, though.
>
> ron
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: FC6, xen 3.0.3, ia32, rpms from either FC6 repo or xensource, failing to start a vm [ In reply to ]
On 11/30/06, Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote:
> Does this mean there's a Xen 3 enabled Plan 9?

yes, Richard Miller bit the bullet and made it go.
http://cm.bell-labs.com/wiki/plan9/installing_in_xen_3.0/index.html

We're working to build minimal xen-based machines that boot just
enough linux to allow us run Plan 9, and use Linux as nothing more
than a device driver.

Now if I could only get Xen to start.

Anybody had trouble with Xen and logical volumes? My xen kernel built
from source just can't find volume00. This is xen 3.0.3, ia32, SATA,
2.6.16.29-xen. I have done the mkinitrd by hand, but all the right
modules seem to be in there. nevertheless, on this sata machine I
don't see it finding hda as it does with a non-Xen kernel.

If anyone has seen this, let me know.

ron

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel