Skip to contentSkip to conversation

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

DISCUSSION ron minnich 3 participants 5 messages Nov 30, 2006 – Dec 1, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines

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.

#2 lore raw

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

#3 lore raw

Does this mean there's a Xen 3 enabled Plan 9?

Cheers,
Mark

Quoted 13 lines · ron minnich

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 4 lines
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!
#4 lore raw
Quoted 1 line · Mark Williamson

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