Hi, I''m trying to install Xen on Ubuntu 11.04. I read somewhere (please correct me if this is wrong) that Ubuntu hasn''t had dom0 support since 8.04 LTS, and the recommended action was to grab a dom0-enabled kernel from Debian, so I did. I''m running 2.6.32-5-xen-amd64 and built Xen 4.1.1 from source. After installation and some troubleshooting, I tried to start xend. Here is the result: vmtest@morphy:~$ xend start xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon File "/usr/local/lib/python2.7/dist-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/local/lib/python2.7/dist-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/local/lib/python2.7/dist-packages/xen/xend/XendDomain.py", line 36, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/local/lib/python2.7/dist-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/local/lib/python2.7/dist-packages/xen/xend/image.py", line 46, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, ''Internal error'', ''xc_interface_open failed: No such file or directory'') Some searching led me to believe that this error occurs when I haven''t booted into a Xen kernel, but this confuses me as I am fairly certain I have. /sys/hypervisor exists as well as /dev/xen. What have I overlooked? I apologize in advance if I have posted to the wrong mailing list. Sincerely, Forest _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jul 11, 2011 at 4:55 PM, Forest Belton <fbelton@email.unc.edu> wrote:> Hi, > I''m trying to install Xen on Ubuntu 11.04. I read somewhere (please correct > me if this is wrong) that Ubuntu hasn''t had dom0 support since 8.04 LTS, and > the recommended action was to grab a dom0-enabled kernel from Debian, so I > did. I''m running 2.6.32-5-xen-amd64 and built Xen 4.1.1 from source. After > installation and some troubleshooting, I tried to start xend. Here is the > result: > > vmtest@morphy:~$ xend start > xc: error: Could not obtain handle on privileged command interface (2 = No > such file or directory): Internal error > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > File "/usr/local/lib/python2.7/dist-packages/xen/xend/server/SrvDaemon.py", > line 26, in <module> > import relocate > File "/usr/local/lib/python2.7/dist-packages/xen/xend/server/relocate.py", > line 28, in <module> > from xen.xend import XendDomain > File "/usr/local/lib/python2.7/dist-packages/xen/xend/XendDomain.py", line > 36, in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/local/lib/python2.7/dist-packages/xen/xend/XendCheckpoint.py", > line 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/local/lib/python2.7/dist-packages/xen/xend/image.py", line 46, > in <module> > xc = xen.lowlevel.xc.xc() > xen.lowlevel.xc.Error: (1, ''Internal error'', ''xc_interface_open failed: No > such file or directory'') > > Some searching led me to believe that this error occurs when I haven''t > booted into a Xen kernel, but this confuses me as I am fairly certain I > have. /sys/hypervisor exists as well as /dev/xen. What have I overlooked? I > apologize in advance if I have posted to the wrong mailing list. >I''m guessing that you haven''t booting into the Xen kernel directly and it is a grub2 issue. (you can search xen.markmail.org for related issues - let us know if you are unable to find anything) If not, another thing you can look into is making sure /proc/xen is mounted properly. Post the output of uname -a and dmesg. You can also go into the grub settings, turn off the splash, turn on verbose and watch the Xen hypervisor and dom0 load. Also of note, upstream Linux 3.x kernels boot Dom0 now and Ubuntu unstable is packaging them. You could try to grab one of those and boot from it. Thanks, Todd> Sincerely, > Forest-- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/products/cloudxen.html http://runningxen.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
actually apt-get install xen-hypervisor-4.1-amd64 will pretty much get you going on Ubuntu 11.04/11.10 On Mon, Jul 11, 2011 at 11:32 PM, Todd Deshane <todd.deshane@xen.org> wrote:> On Mon, Jul 11, 2011 at 4:55 PM, Forest Belton <fbelton@email.unc.edu> > wrote: > > Hi, > > I''m trying to install Xen on Ubuntu 11.04. I read somewhere (please > correct > > me if this is wrong) that Ubuntu hasn''t had dom0 support since 8.04 LTS, > and > > the recommended action was to grab a dom0-enabled kernel from Debian, so > I > > did. I''m running 2.6.32-5-xen-amd64 and built Xen 4.1.1 from source. > After > > installation and some troubleshooting, I tried to start xend. Here is the > > result: > > > > vmtest@morphy:~$ xend start > > xc: error: Could not obtain handle on privileged command interface (2 > No > > such file or directory): Internal error > > Traceback (most recent call last): > > File "/usr/sbin/xend", line 36, in <module> > > from xen.xend.server import SrvDaemon > > File > "/usr/local/lib/python2.7/dist-packages/xen/xend/server/SrvDaemon.py", > > line 26, in <module> > > import relocate > > File > "/usr/local/lib/python2.7/dist-packages/xen/xend/server/relocate.py", > > line 28, in <module> > > from xen.xend import XendDomain > > File "/usr/local/lib/python2.7/dist-packages/xen/xend/XendDomain.py", > line > > 36, in <module> > > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > > File > "/usr/local/lib/python2.7/dist-packages/xen/xend/XendCheckpoint.py", > > line 20, in <module> > > from xen.xend import balloon, sxp, image > > File "/usr/local/lib/python2.7/dist-packages/xen/xend/image.py", line > 46, > > in <module> > > xc = xen.lowlevel.xc.xc() > > xen.lowlevel.xc.Error: (1, ''Internal error'', ''xc_interface_open failed: > No > > such file or directory'') > > > > Some searching led me to believe that this error occurs when I haven''t > > booted into a Xen kernel, but this confuses me as I am fairly certain I > > have. /sys/hypervisor exists as well as /dev/xen. What have I overlooked? > I > > apologize in advance if I have posted to the wrong mailing list. > > > > I''m guessing that you haven''t booting into the Xen kernel directly and > it is a grub2 issue. (you can search xen.markmail.org for related > issues - let us know if you are unable to find anything) > > If not, another thing you can look into is making sure /proc/xen is > mounted properly. > > Post the output of uname -a and dmesg. You can also go into the grub > settings, turn off the splash, turn on verbose and watch the Xen > hypervisor and dom0 load. > > Also of note, upstream Linux 3.x kernels boot Dom0 now and Ubuntu > unstable is packaging them. You could try to grab one of those and > boot from it. > > Thanks, > Todd > > > Sincerely, > > Forest > > -- > Todd Deshane > http://www.linkedin.com/in/deshantm > http://www.xen.org/products/cloudxen.html > http://runningxen.com/ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jul 11, 2011 at 04:55:07PM -0400, Forest Belton wrote:> Hi, > I''m trying to install Xen on Ubuntu 11.04. I read somewhere (please > correct me if this is wrong) that Ubuntu hasn''t had dom0 support since > 8.04 LTS, and the recommended action was to grab a dom0-enabled kernel > from Debian, so I did. I''m running 2.6.32-5-xen-amd64 and built Xen 4.1.1 > from source. After installation and some troubleshooting, I tried to > start xend. Here is the result: >Note that xm/xend toolstack is deprecated in Xen 4.1 ! You should use xl/libxl instead.> vmtest@morphy:~$ xend start > xc: error: Could not obtain handle on privileged command interface (2 = > No such file or directory): Internal errorhttp://wiki.xen.org/xenwiki/XenCommonProblems#head-26434581604cc8357d9762aaaf040e8d87b37752 -- Pasi> Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > File > "/usr/local/lib/python2.7/dist-packages/xen/xend/server/SrvDaemon.py", > line 26, in <module> > import relocate > File > "/usr/local/lib/python2.7/dist-packages/xen/xend/server/relocate.py", > line 28, in <module> > from xen.xend import XendDomain > File "/usr/local/lib/python2.7/dist-packages/xen/xend/XendDomain.py", > line 36, in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File > "/usr/local/lib/python2.7/dist-packages/xen/xend/XendCheckpoint.py", > line 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/local/lib/python2.7/dist-packages/xen/xend/image.py", line > 46, in <module> > xc = xen.lowlevel.xc.xc() > xen.lowlevel.xc.Error: (1, ''Internal error'', ''xc_interface_open failed: > No such file or directory'') > > Some searching led me to believe that this error occurs when I haven''t > booted into a Xen kernel, but this confuses me as I am fairly certain I > have. /sys/hypervisor exists as well as /dev/xen. What have I overlooked? > I apologize in advance if I have posted to the wrong mailing list. > > Sincerely, > Forest > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jul 12, 2011 at 3:25 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Mon, Jul 11, 2011 at 04:55:07PM -0400, Forest Belton wrote: >> Hi, >> I''m trying to install Xen on Ubuntu 11.04. I read somewhere (please >> correct me if this is wrong) that Ubuntu hasn''t had dom0 support since >> 8.04 LTS, and the recommended action was to grab a dom0-enabled kernel >> from Debian, so I did. I''m running 2.6.32-5-xen-amd64 and built Xen 4.1.1 >> from source. After installation and some troubleshooting, I tried to >> start xend. Here is the result: >> > > Note that xm/xend toolstack is deprecated in Xen 4.1 ! You should use xl/libxl instead.... except that xl is not a drop-in replacement fro xm (yet). For example, I just found out that "name" is mandatory with xl, otherwise the domU will get name "test". This is different from "xm" which will use the file name as domU name. So personally I''m glad that xm still works on 4.1 :) -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users