Xen in fedora 10
I `ve installed fedora 10, so i need xen to work, but xen doesn `t work. I installed with these steps :
1) yum install xen 2) yum install kernel-xen 3) yum install virt-manager I have no errors in the installation. BUT WHE I REBOOT AND I RUN XEND I `VE GOT THE MESSAGE: [root@Tirnanog sebastian]# xend ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) Traceback (most recent call last): File "/usr/sbin/xend", line 16, in <module> from xen.xend.server import SrvDaemon File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/lib/python2.5/site-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 35, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/lib/python2.5/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 44, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)') Please any help will be useful, i don `t know what to do ! Piukeman ! |
Have you booted to the xen kernel?
|
I think you could try
yum groupinstall Virtualization to make sure it has everything it needs if Simon's idea doesn't sort it. |
I did it all
Hi, and thanks to everyone, i did it all... i booted the right kernel, and i have installed all the packages. I don `t know what to do !i need xen in fedora, all the tutoruials are really simple. I did the correct installation, everything is installed. Then i booted the vmlinuz-2.6.27.7-134.fc10.i686.PAE kernel (xen kernel) but the when i run xend, I `ve this message error:
[root@Tirnanog sebastian]# xend ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) Traceback (most recent call last): File "/usr/sbin/xend", line 16, in <module> from xen.xend.server import SrvDaemon File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/lib/python2.5/site-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 35, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/lib/python2.5/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 44, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)') [root@Tirnanog sebastian]# Thanks in advanced to all of you ! |
I don't have a xen kernel loaded, but doing yum list "*kernel*" on CentOS (and the naming is pretty much the same), I see
kernel-xen.x86_64 2.6.18-92.1.22.el5 which is more like what I'd expect (PAE is a large memory module kernel). Check you're loading the right one (show us "ls /boot") |
Quote:
How did you check that you have all the needed packages? Quote:
What happens when you enter: su -c "yum groupinstall 'Virtualization'" |
over 5000 post 10 thank you's you needed this one and it is a good one.
|
There is a bug issue with using Zen in Fedora 10.
Snip: Fedora 10 i686 Xen guest won't boot link to this item - Bugzilla: 470905 Fedora 10 (i686) must use the kernel-PAE package to run as a Xen guest. The installer fails to choose this kernel when it is being installed under Xen, so the installed system will not boot. As a workaround, you can use a kickstart file to install kernel-PAE. An updates.img file that fixes this problem should be made available soon. Error upgrading systems with kernel-xen installed link to this item - Bugzilla: 472462 If you try to upgrade a system with image:Echo-package-16px.pngkernel-xen installed, anaconda will fail with an error message ending |
That's as a guest though, you still need the xen kernel as Dom0
|
There is no kernel-zen kernel in Fedora 10 if I understand correctly the info put out by the fedora project folks. It said to use the Kernel-PAE and intall zenner as the managing application. Its late at night so I could be miss-informed.
Al |
I promise, my last comment for tonight:
Previous versions of fedora had a distinct kernel image for Xen domains. This is no longer the case for Fedora 10. The version of image:Echo-package-16px.pngpython-virtinst on Fedora 8 is not aware of this change. A newer build of image:Echo-package-16px.pngpython-virtinst has been created in updates-testing. Try this test version and give it some positive karma if it works for you. |
I'll fire up F10 later and check it out.
|
looks like you're spot on
Code:
yum groupinstall virtualization |
Hmmm... perhaps we are out of date?
Fedora 10 doesn’t include Xen, KVM rules uncontested Quote:
|
It's different in F10. See this: http://fedoraproject.org/wiki/Features/XenPvopsDom0
Update: dom0 xen not yet implemented in F10 though. Hopefully F11 would have it. |
All times are GMT -5. The time now is 05:02 PM. |