PDA

View Full Version : Xen on Ubuntu 8.10 64bit problems


Chromium
4th November 2008, 18:46
After performing the following commands on the latest 8.10 Desktop 64bit:

sudo aptitude install ubuntu-xen-server
sudo apt-get install xen-tools
sudo reboot


The Xen kernel does not load:


admin@356835794:~$ sudo xm list
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/xm", line 8, in <module>
from xen.xm import main
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 61, 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)')
adminuser@356835794860:~$ sudo uname -r
2.6.27-7-server
admin@356835794:~$



Does anyone have an idea why?

falko
5th November 2008, 19:56
On Ubuntu 8.10, the Xen kernel is only for domUs, but not for dom0 - there's no dom0 kernel because the Xen project didn't create any patches for the latest kernels... :(

Chromium
5th November 2008, 22:55
Yeah, figures...

It's alright though, that VirtualBox works great. Very impressed with it, took me all but 10 minutes to get that going :)

sebo
20th February 2009, 15:34
can u tell me how did u fixed this problem ?

falko
21st February 2009, 19:05
I've written a tutorial for Xen on Ubuntu 8.10. Will publish it in the next days. :)

pbhat
2nd December 2009, 18:52
Hey!

I need some help on this. I am running:

Ubuntu 9.10 and
Kernel 2.6.31-15-generic-pae

When I try to run any xm command, I have the same error as mentioned above, namely:

pbhat@pbhat-acis:~$ xm list
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/xm", line 8, in <module>
from xen.xm import main
File "/usr/lib/python2.6/dist-packages/xen/xm/main.py", line 61, 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)')



I understand that my kernel not being able to support Dom0. However I do not know how to go about solving the problem. Could someone elaborate on where I need to put the earlier kernel (hardy) version so that dom0 can use it to boot and which files I need to edit?

Thanks
pr