Martinx - ジェームズ
2010-Aug-31 22:01 UTC
[Xen-users] Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Guys! Tomorrow in my "live" presentation at Linuxcon Xen Directions! I''ll show the Xen Live CD to the public! To celebrate! I want to share my last procedure to get and run Xen 4.0.1 on Ubuntu 10.04 64 bits, here we go: The procedure: 1- Install all the packages: aptitude update aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev debhelper fakeroot uuid-dev iasl texinfo git-core apt-get build-dep xen-3.3 2- Download, compile and install Xen and its tools: cd /usr/src wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz tar xf xen-4.0.1.tar.gz cd xen-4.0.1 make xen make tools make stubdom make install-xen # make install-tools make install-tools PYTHON_PREFIX_ARG make install-stubdom 3- Download, compile and install Linux from the Jemery''s tree: make prep-kernels wget http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config cd build-linux-2.6-pvops_x86_64 make menuconfig # Change whatever you want, if you now what you''re doing... make chmod g-s /usr/src/ -R make deb-pkg dpkg -i ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb depmod 2.6.32.18-tcmc-10.08-1-xen update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen 4- Enable Xen at boot: update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 5- Configure the Grub2: vim /etc/grub.d/40_custom ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ‘exec tail’ line above. menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { recordfail insmod ext2 set root=''(hd0,4)'' multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen } ---- cut here ---- NOTE.: Pay attention to you root partition and also you''ll need to disable the KMS (maybe the nomodeset option works for you) of your videoboard. update-grub reboot Choose the right Grub2 menu entry... Done! Cheers! Thiago _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martinx - ジェームズ
2010-Sep-03 17:26 UTC
[Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Guys, If my server is down, all of you can download the Linux configuration file (a.k.a. .config) from an attachment of this mail. Att, James 2010/8/31 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Guys! > > Tomorrow in my "live" presentation at Linuxcon Xen Directions! I''ll show > the Xen Live CD to the public! > To celebrate! I want to share my last procedure to get and run Xen 4.0.1 > on Ubuntu 10.04 64 bits, here we go: > > > > The procedure: > > > 1- Install all the packages: > > aptitude update > aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev > debhelper fakeroot uuid-dev iasl texinfo git-core > apt-get build-dep xen-3.3 > > 2- Download, compile and install Xen and its tools: > > cd /usr/src > wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz > tar xf xen-4.0.1.tar.gz > cd xen-4.0.1 > make xen > make tools > make stubdom > make install-xen > # make install-tools > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > > 3- Download, compile and install Linux from the Jemery''s tree: > > make prep-kernels > wget > http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config > cd build-linux-2.6-pvops_x86_64 > make menuconfig # Change whatever you want, if you now what you''re > doing... > make > chmod g-s /usr/src/ -R > make deb-pkg > dpkg -i > ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb > depmod 2.6.32.18-tcmc-10.08-1-xen > update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen > > 4- Enable Xen at boot: > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 5- Configure the Grub2: > > vim /etc/grub.d/40_custom > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ‘exec tail’ line above. > > menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { > recordfail > insmod ext2 > set root=''(hd0,4)'' > multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M > module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy > root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro > module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen > } > ---- cut here ---- > > NOTE.: Pay attention to you root partition and also you''ll need to disable > the KMS (maybe the nomodeset option works for you) of your videoboard. > > update-grub > reboot > > Choose the right Grub2 menu entry... > > Done! > > Cheers! > Thiago > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
nunziaG84@libero.it
2010-Sep-05 17:13 UTC
[Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hi, I would install Xen 4.0.1 on ubuntu lucid, How can i use the file configuration file of your mail? Thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
nunziaG84@libero.it
2010-Sep-05 21:00 UTC
[Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hello, you don''t consider my first post. I have installed xen 4.0.1 con kernel 2.6.32.21 with the method that you write. BUt when i restart my system with new kernel and i write sudo xend start the output is: 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 36, in <module> from xen.xend.server import SrvDaemon File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 36, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line 46, 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)'') Can you help me? Thank you ng _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Sep-06 06:06 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
On Sun, Sep 05, 2010 at 11:00:03PM +0200, nunziaG84@libero.it wrote:> Hello, > you don''t consider my first post. > I have installed xen 4.0.1 con kernel 2.6.32.21 with the method that you > write. > BUt when i restart my system with new kernel and i write > > sudo xend start > > the output is: > > 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 36, in <module> > from xen.xend.server import SrvDaemon > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", > line 26, in <module> > import relocate > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", > line 28, in <module> > from xen.xend import XendDomain > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line > 36, in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", > line 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line 46, 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)'') > > Can you help me? >Try going through: http://wiki.xensource.com/xenwiki/XenCommonProblems and: http://wiki.xensource.com/xenwiki/XenParavirtOps especially the troubleshooting sections. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
nunziaG84@libero.it
2010-Sep-06 07:00 UTC
[Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hi, thank for your help. There isn''t my version of the kernel. Can i use a configuration file of the version kernel 2.32.15 for my kernel version 2.6.32.21? ng _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
nunziaG84@libero.it
2010-Sep-06 07:05 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
I had a problem that i ignored when i had nabled Xen at boot: with: update-rc.d xend defaults 20 21 the output was: update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xend already exist. Can this be the problem that xend doesn''t start? ng _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Sep-06 09:55 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
On Mon, Sep 06, 2010 at 09:05:26AM +0200, nunziaG84@libero.it wrote:> I had a problem that i ignored when i had nabled Xen at boot: > with: > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xend already exist. > > Can this be the problem that xend doesn''t start? >Maybe, who knows. Does it start if you execute "/etc/init.d/xend start" manually? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Sep-06 09:57 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
On Mon, Sep 06, 2010 at 09:00:22AM +0200, nunziaG84@libero.it wrote:> Hi, > thank for your help. > There isn''t my version of the kernel. > Can i use a configuration file of the version kernel 2.32.15 > for my kernel version 2.6.32.21? >Are you talking about this: http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.21-pvops-dom0-xen-stable-x86_64 -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Sep-06 12:16 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
It just means that standard links already exist. No harm Please , run cd /dev/xen ls -l Boris. --- On Mon, 9/6/10, Pasi Kärkkäinen <pasik@iki.fi> wrote: From: Pasi Kärkkäinen <pasik@iki.fi> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "nunziaG84@libero.it" <nunziaG84@libero.it> Cc: xen-users@lists.xensource.com Date: Monday, September 6, 2010, 5:55 AM On Mon, Sep 06, 2010 at 09:05:26AM +0200, nunziaG84@libero.it wrote:> I had a problem that i ignored when i had nabled Xen at boot: > with: > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xend already exist. > > Can this be the problem that xend doesn''t start? >Maybe, who knows. Does it start if you execute "/etc/init.d/xend start" manually? -- Pasi _______________________________________________ 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
Priya
2010-Sep-16 12:11 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hey Guys! Need some help here... I am trying to install Xen4.0.1 on Ubuntu 10.04.1 LTS (64 bits) which has the kernel version 2.6.32.24-generic. I followed this tutorial for the installation, using the configuration file uploaded by Thiogo, which is actually meant for kernel version 2.6.32.18. The kernel compilation steps go through smoothly, except that when I enable the xend and the xend domain services using the update-rc.d command I get the same warning message as NunziaG84 update-rc.d xend defaults 20 21 the output was: update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) And then when I reboot the machine, xend does not start. On issuing the command /etc/init.d/xend start, or status, there is no terminal output. When I type in "xend start" directly, I get the following error message: sudo xend start> > the output is: > > ERROR Internal error: Could not obtain handle on privileged commandinterface> (2 = No such file or directory) > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > File"/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",> line 26, in <module> > import relocate > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", > line 28, in <module> > from xen.xend import XendDomain > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line > 36, in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", > line 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line 46,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 see that several other people here are facing similar issues. Could anyone throw some light on what the matter might be, and how one could move towards resolving it. Does anyone have a configuration file for my specific xen and host operating system kernel versions. Actually I am confused as to whether the kernel version of the .config file has to match that of our Xen download or our host operating system.... Thanks!!!! On Mon, Sep 6, 2010 at 8:16 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> It just means that standard links already exist. No harm > Please , run > cd /dev/xen > ls -l > > Boris. > > --- On *Mon, 9/6/10, Pasi Kärkkäinen <pasik@iki.fi>* wrote: > > > From: Pasi Kärkkäinen <pasik@iki.fi> > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "nunziaG84@libero.it" <nunziaG84@libero.it> > Cc: xen-users@lists.xensource.com > Date: Monday, September 6, 2010, 5:55 AM > > > On Mon, Sep 06, 2010 at 09:05:26AM +0200, nunziaG84@libero.it<http://mc/compose?to=nunziaG84@libero.it>wrote: > > I had a problem that i ignored when i had nabled Xen at boot: > > with: > > update-rc.d xend defaults 20 21 > > > > the output was: > > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not > match LSB > > Default-Start values (3 4 5) > > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match > LSB > > Default-Stop values (0 1 2 6) > > System start/stop links for /etc/init.d/xend already exist. > > > > Can this be the problem that xend doesn''t start? > > > > Maybe, who knows. > > Does it start if you execute "/etc/init.d/xend start" manually? > > -- Pasi > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=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 >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bruce Edge
2010-Sep-16 13:59 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
On Thu, Sep 16, 2010 at 5:11 AM, Priya <pbhat@acis.ufl.edu> wrote:> Hey Guys! > > > Need some help here... I am trying to install Xen4.0.1 on Ubuntu > 10.04.1 LTS (64 bits) which has the kernel version 2.6.32.24-generic. > I followed this tutorial for the installation, using the configuration > file uploaded by Thiogo, which is actually meant for kernel version > 2.6.32.18. > > The kernel compilation steps go through smoothly, except that when I > enable the xend and the xend domain services using the update-rc.d > command I get the same warning message as NunziaG84 > > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > > And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status, there is no terminal > output. > When I type in "xend start" directly, I get the following error message: > > sudo xend start > > > > the output is: > > > > ERROR Internal error: Could not obtain handle on privileged command > interface > > (2 = No such file or directory) >Possibly missing drivers related to hotplug issues? Can you post the output from lsmod? What does cat /proc/misc show? Also grep XEN /boot/config-<whatever kernel you''re running> -Bruce> Traceback (most recent call last): > > File "/usr/sbin/xend", line 36, in <module> > > from xen.xend.server import SrvDaemon > > File > "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", > > line 26, in <module> > > import relocate > > File > "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", > > line 28, in <module> > > from xen.xend import XendDomain > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", > line > > 36, in <module> > > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", > > line 20, in <module> > > from xen.xend import balloon, sxp, image > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line 46, > 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 see that several other people here are facing similar issues. Could > anyone throw some light on what the matter might be, and how one could > move towards resolving it. > Does anyone have a configuration file for my specific xen and host > operating system kernel versions. Actually I am confused as to whether > the kernel version of the .config file has to match that of our Xen > download or our host operating system.... > > > > Thanks!!!! > > On Mon, Sep 6, 2010 at 8:16 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote: > >> It just means that standard links already exist. No harm >> Please , run >> cd /dev/xen >> ls -l >> >> Boris. >> >> --- On *Mon, 9/6/10, Pasi Kärkkäinen <pasik@iki.fi>* wrote: >> >> >> From: Pasi Kärkkäinen <pasik@iki.fi> >> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >> :-D >> To: "nunziaG84@libero.it" <nunziaG84@libero.it> >> Cc: xen-users@lists.xensource.com >> Date: Monday, September 6, 2010, 5:55 AM >> >> >> On Mon, Sep 06, 2010 at 09:05:26AM +0200, nunziaG84@libero.it<http://mc/compose?to=nunziaG84@libero.it>wrote: >> > I had a problem that i ignored when i had nabled Xen at boot: >> > with: >> > update-rc.d xend defaults 20 21 >> > >> > the output was: >> > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not >> match LSB >> > Default-Start values (3 4 5) >> > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match >> LSB >> > Default-Stop values (0 1 2 6) >> > System start/stop links for /etc/init.d/xend already exist. >> > >> > Can this be the problem that xend doesn''t start? >> > >> >> Maybe, who knows. >> >> Does it start if you execute "/etc/init.d/xend start" manually? >> >> -- Pasi >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com<http://mc/compose?to=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 >> > > > > -- > Priya Bhat > > > > _______________________________________________ > 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
hurenkam
2010-Sep-16 14:17 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hi,> And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status, there is no terminal > output. > When I type in "xend start" directly, I get the following error > message: > sudo xend start >> >> the output is: >> >> ERROR Internal error: Could not obtain handle on privileged command > interfaceDo you have xenfs mounted? see if the following line comes up in the list if you type mount: # mount ... xenfs on /proc/xen type xenfs (rw) ... If not, then you can try mounting it manually. If xenfs is compiled as a module, you may have to modprobe it first. If it is not enabled in your kernel, then you have to rebuild your dom0 kernel, and enable it. On my (Ubuntu Server 10.04.1 based) system, this gets mounted automatically by either udev or xend itself (it is not in fstab). In my experience on this system, xend fails ususually due to one of the following reasons: 1) Failure to mount xenfs (because it is not configured, or the module is not loaded). 2) Inconsistent installation of xentools (in wrong python directory or mixed with older version). Regards, Mark. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Sep-16 14:25 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
One more time. Please, submit :- # ls -l /dev/xen Boris. --- On Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl> wrote: From: hurenkam <hurenkam@xs4all.nl> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Priya" <pbhat@acis.ufl.edu> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 10:17 AM Hi,> And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status, there is no terminal > output. > When I type in "xend start" directly, I get the following error > message: > sudo xend start >> >> the output is: >> >> ERROR Internal error: Could not obtain handle on privileged command > interfaceDo you have xenfs mounted? see if the following line comes up in the list if you type mount: # mount ... xenfs on /proc/xen type xenfs (rw) ... If not, then you can try mounting it manually. If xenfs is compiled as a module, you may have to modprobe it first. If it is not enabled in your kernel, then you have to rebuild your dom0 kernel, and enable it. On my (Ubuntu Server 10.04.1 based) system, this gets mounted automatically by either udev or xend itself (it is not in fstab). In my experience on this system, xend fails ususually due to one of the following reasons: 1) Failure to mount xenfs (because it is not configured, or the module is not loaded). 2) Inconsistent installation of xentools (in wrong python directory or mixed with older version). Regards, Mark. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Priya
2010-Sep-16 15:03 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Thanks for the responses ! @Mark xenfs is not mounted. Here is the output for the mount command: ------------- /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type tmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /dev/sdb1 on /media/08AF-8FE8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) ------------------------------ I did a modprobe on xenfs but I cannot mount it yet. Could you please give me the correct command line arguments for doing so. Here are my outputs: ------------------------ root@XenOpen:~# modprobe xenfs root@XenOpen:~# mount xenfs mount: can''t find xenfs in /etc/fstab or /etc/mtab ----------------------------------------------------------- Thanks a lot for your advice. Really appreciate it! @Borris: There is no "xen" directory in /dev....Here is what I have: --------------- root@XenOpen:~# ls -l /dev/xen ls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev adsp null snapshot tty41 vcs1 vcs5 vcsa30 agpgart nvram snd tty42 vcs10 vcs50 vcsa31 audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 block parport0 sr0 tty44 vcs12 vcs52 vcsa33 bsg port stderr tty45 vcs13 vcs53 vcsa34 bus ppp stdin tty46 vcs14 vcs54 vcsa35 cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 cdrw pts tty tty48 vcs16 vcs56 vcsa37 char ram tty0 tty49 vcs17 vcs57 vcsa38 console ram0 tty1 tty5 vcs18 vcs58 vcsa39 core ram1 tty10 tty50 vcs19 vcs59 vcsa4 cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 fd ram3 tty19 tty59 vcs27 vcsa vcsa48 full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 log raw tty26 tty9 vcs34 vcsa15 vcsa55 loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 mixer sg0 tty38 usbmon7 vcs46 vcsa27 vga_arbiter net sg1 tty39 usbmon8 vcs47 vcsa28 zero network_latency sg2 tty4 vcs vcs48 vcsa29 network_throughput shm tty40 vcs0 vcs49 vcsa3 --------------------- Thanks for taking the time guys! On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> One more time. Please, submit :- > # ls -l /dev/xen > > Boris. > > --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl>* wrote: > > > From: hurenkam <hurenkam@xs4all.nl> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "Priya" <pbhat@acis.ufl.edu> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, nunziaG84@libero.it, > xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> > Date: Thursday, September 16, 2010, 10:17 AM > > > Hi, > > > > And then when I reboot the machine, xend does not start. On issuing > > the command /etc/init.d/xend start, or status, there is no terminal > > output. > > When I type in "xend start" directly, I get the following error > > message: > > sudo xend start > >> > >> the output is: > >> > >> ERROR Internal error: Could not obtain handle on privileged command > > interface > > Do you have xenfs mounted? > see if the following line comes up in the list if you type mount: > > # mount > ... > xenfs on /proc/xen type xenfs (rw) > ... > > If not, then you can try mounting it manually. If xenfs is compiled as > a module, you may have to modprobe it first. If it is not enabled in > your > kernel, then you have to rebuild your dom0 kernel, and enable it. > > On my (Ubuntu Server 10.04.1 based) system, this gets mounted > automatically > by either udev or xend itself (it is not in fstab). > > In my experience on this system, xend fails ususually due to one of the > following reasons: > 1) Failure to mount xenfs (because it is not configured, or the module > is > not loaded). > 2) Inconsistent installation of xentools (in wrong python directory or > mixed with older version). > > > Regards, > Mark. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Sep-16 15:14 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
> root@XenOpen:~# ls -l /dev/xenls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev That''s a core issue , why xend fails to start. During pvops Dom0 load "udevd" should create :- # ls -l /dev/xen total 0 crw------- 1 root root 10, 58 Sep 16 18:41 evtchn crw------- 1 root root 10, 57 Sep 16 18:41 gntdev On any system Ubuntu 10.04.1 Server, F13,F14,etc Then xend will start after Dom0 gets loaded. Boris. --- On Thu, 9/16/10, Priya <pbhat@acis.ufl.edu> wrote: From: Priya <pbhat@acis.ufl.edu> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "hurenkam" <hurenkam@xs4all.nl>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 11:03 AM Thanks for the responses ! @Mark xenfs is not mounted. Here is the output for the mount command: ------------- /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type tmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /dev/sdb1 on /media/08AF-8FE8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) ------------------------------ I did a modprobe on xenfs but I cannot mount it yet. Could you please give me the correct command line arguments for doing so. Here are my outputs: ------------------------ root@XenOpen:~# modprobe xenfs root@XenOpen:~# mount xenfs mount: can''t find xenfs in /etc/fstab or /etc/mtab ----------------------------------------------------------- Thanks a lot for your advice. Really appreciate it! @Borris: There is no "xen" directory in /dev....Here is what I have: --------------- root@XenOpen:~# ls -l /dev/xen ls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev adsp null snapshot tty41 vcs1 vcs5 vcsa30 agpgart nvram snd tty42 vcs10 vcs50 vcsa31 audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 block parport0 sr0 tty44 vcs12 vcs52 vcsa33 bsg port stderr tty45 vcs13 vcs53 vcsa34 bus ppp stdin tty46 vcs14 vcs54 vcsa35 cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 cdrw pts tty tty48 vcs16 vcs56 vcsa37 char ram tty0 tty49 vcs17 vcs57 vcsa38 console ram0 tty1 tty5 vcs18 vcs58 vcsa39 core ram1 tty10 tty50 vcs19 vcs59 vcsa4 cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 fd ram3 tty19 tty59 vcs27 vcsa vcsa48 full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 log raw tty26 tty9 vcs34 vcsa15 vcsa55 loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 mixer sg0 tty38 usbmon7 vcs46 vcsa27 vga_arbiter net sg1 tty39 usbmon8 vcs47 vcsa28 zero network_latency sg2 tty4 vcs vcs48 vcsa29 network_throughput shm tty40 vcs0 vcs49 vcsa3 --------------------- Thanks for taking the time guys! On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: One more time. Please, submit :- # ls -l /dev/xen Boris. --- On Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl> wrote: From: hurenkam <hurenkam@xs4all.nl> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Priya" <pbhat@acis.ufl.edu> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 10:17 AM Hi,> And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status,there is no terminal> output. > When I type in "xend start" directly, I get the following error > message: > sudo xend start >> >> the output is: >> >> ERROR Internal error: Could not obtain handle on privileged command> interfaceDo you have xenfs mounted? see if the following line comes up in the list if you type mount: # mount ... xenfs on /proc/xen type xenfs (rw) ... If not, then you can try mounting it manually. If xenfs is compiled as a module, you may have to modprobe it first. If it is not enabled in your kernel, then you have to rebuild your dom0 kernel, and enable it. On my (Ubuntu Server 10.04.1 based) system, this gets mounted automatically by either udev or xend itself (it is not in fstab). In my experience on this system, xend fails ususually due to one of the following reasons: 1) Failure to mount xenfs (because it is not configured, or the module is not loaded). 2) Inconsistent installation of xentools (in wrong python directory or mixed with older version). Regards, Mark. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Priya
2010-Sep-16 15:25 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
There is no "/proc/xen" either! What do you all recommend? Should I use a different kernel (if so which one) or a different .config file? Can I fix the present set up in some way? I find it amusing that I am learning stuff about the internal setup of Xen that I wouldn''t have had this install been "seamless"... Cheers to that! On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> > root@XenOpen:~# ls -l /dev/xen > ls: cannot access /dev/xen: No such file or directory > root@XenOpen:~# ls /dev > > That''s a core issue , why xend fails to start. During pvops Dom0 load > "udevd" should > create :- > > # ls -l /dev/xen > total 0 > crw------- 1 root root 10, 58 Sep 16 18:41 evtchn > crw------- 1 root root 10, 57 Sep 16 18:41 gntdev > > On any system Ubuntu 10.04.1 Server, F13,F14,etc > Then xend will start after Dom0 gets loaded. > > Boris. > > > --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: > > > From: Priya <pbhat@acis.ufl.edu> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: "hurenkam" <hurenkam@xs4all.nl>, nunziaG84@libero.it, > xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> > Date: Thursday, September 16, 2010, 11:03 AM > > > Thanks for the responses ! > > @Mark > > xenfs is not mounted. Here is the output for the mount command: > ------------- > /dev/sda1 on / type ext4 (rw,errors=remount-ro) > proc on /proc type proc (rw,noexec,nosuid,nodev) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) > none on /sys type sysfs (rw,noexec,nosuid,nodev) > none on /sys/kernel/debug type debugfs (rw) > none on /sys/kernel/security type securityfs (rw) > none on /dev type tmpfs (rw,mode=0755) > none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) > none on /dev/shm type tmpfs (rw,nosuid,nodev) > none on /var/run type tmpfs (rw,nosuid,mode=0755) > none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) > none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) > /dev/sdb1 on /media/08AF-8FE8 type vfat > (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) > ------------------------------ > > > I did a modprobe on xenfs but I cannot mount it yet. Could you please give > me the correct command line arguments for doing so. Here are my outputs: > ------------------------ > > root@XenOpen:~# modprobe xenfs > root@XenOpen:~# mount xenfs > mount: can''t find xenfs in /etc/fstab or /etc/mtab > ----------------------------------------------------------- > Thanks a lot for your advice. Really appreciate it! > > > @Borris: > > There is no "xen" directory in /dev....Here is what I have: > > --------------- > > root@XenOpen:~# ls -l /dev/xen > ls: cannot access /dev/xen: No such file or directory > root@XenOpen:~# ls /dev > adsp null snapshot tty41 vcs1 vcs5 vcsa30 > agpgart nvram snd tty42 vcs10 vcs50 vcsa31 > audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 > block parport0 sr0 tty44 vcs12 vcs52 vcsa33 > bsg port stderr tty45 vcs13 vcs53 vcsa34 > bus ppp stdin tty46 vcs14 vcs54 vcsa35 > cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 > cdrw pts tty tty48 vcs16 vcs56 vcsa37 > char ram tty0 tty49 vcs17 vcs57 vcsa38 > console ram0 tty1 tty5 vcs18 vcs58 vcsa39 > core ram1 tty10 tty50 vcs19 vcs59 vcsa4 > cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 > cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 > disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 > dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 > dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 > dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 > dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 > fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 > fd ram3 tty19 tty59 vcs27 vcsa vcsa48 > full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 > hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 > hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 > hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 > input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 > kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 > kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 > log raw tty26 tty9 vcs34 vcsa15 vcsa55 > loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 > loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 > loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 > loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 > loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 > loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 > loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 > loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 > lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 > mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 > mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 > mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 > mixer sg0 tty38 usbmon7 vcs46 vcsa27 > vga_arbiter > net sg1 tty39 usbmon8 vcs47 vcsa28 zero > network_latency sg2 tty4 vcs vcs48 vcsa29 > network_throughput shm tty40 vcs0 vcs49 vcsa3 > > --------------------- > > Thanks for taking the time guys! > > > > > > On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > wrote: > > One more time. Please, submit :- > # ls -l /dev/xen > > Boris. > > --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> > >* wrote: > > > From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> > > > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "Priya" <pbhat@acis.ufl.edu <http://mc/compose?to=pbhat@acis.ufl.edu>> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, > nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, > xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> > Date: Thursday, September 16, 2010, 10:17 AM > > > Hi, > > > > And then when I reboot the machine, xend does not start. On issuing > > the command /etc/init.d/xend start, or status, there is no terminal > > output. > > When I type in "xend start" directly, I get the following error > > message: > > sudo xend start > >> > >> the output is: > >> > >> ERROR Internal error: Could not obtain handle on privileged command > > interface > > Do you have xenfs mounted? > see if the following line comes up in the list if you type mount: > > # mount > ... > xenfs on /proc/xen type xenfs (rw) > ... > > If not, then you can try mounting it manually. If xenfs is compiled as > a module, you may have to modprobe it first. If it is not enabled in > your > kernel, then you have to rebuild your dom0 kernel, and enable it. > > On my (Ubuntu Server 10.04.1 based) system, this gets mounted > automatically > by either udev or xend itself (it is not in fstab). > > In my experience on this system, xend fails ususually due to one of the > following reasons: > 1) Failure to mount xenfs (because it is not configured, or the module > is > not loaded). > 2) Inconsistent installation of xentools (in wrong python directory or > mixed with older version). > > > Regards, > Mark. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > Priya Bhat > > > >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hurenkam
2010-Sep-16 15:30 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hi,> xenfs is not mounted. Here is the output for the mount command: > > I did a modprobe on xenfs but I cannot mount it yet. Could you please > give me the correct command line arguments for doing so. Here are my > outputs: > > root@XenOpen:~# modprobe xenfs > root@XenOpen:~# mount xenfs > mount: can''t find xenfs in /etc/fstab or /etc/mtabTry this: # mount -t xenfs xenfs /proc/xen> There is no "xen" directory in /dev....Here is what I have:That''s also a problem, it should exist, and should contain the following: # ls -l /dev/xen total 0 crw-rw---- 1 root root 10, 62 2010-09-16 00:37 evtchn crw-rw---- 1 root root 10, 61 2010-09-16 00:37 gntdev Perhaps they are built as modules, try modprobing them: # modprobe xen-gntdev # modprobe xen-evtchn Ubuntu is unaware of these devices, so unless you built them into your kernel, they may not automatically be available after you boot. Probably udev could/should take care of this during boot, but i''ve just decided to configure my kernel with these devices as built-in. If you wish, you can add the modules to your modules list in /etc/initramfs-tools/modules, then they will automatically be added to your initrd when you run update-initramfs to create your initrd. Regards, Mark. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Priya
2010-Sep-16 15:36 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Sorry, I did not see the mail from Bruce earlier. Here are the terminal outputs you asked for, Bruce. ---- root@XenOpen:~# lsmod Module Size Used by xenfs 11046 0 vfat 8598 1 fat 45282 1 vfat ipv6 284318 24 snd_hda_codec_analog 73426 1 snd_hda_intel 23438 2 snd_hda_codec 70730 2 snd_hda_codec_analog,snd_hda_intel snd_hwdep 6570 1 snd_hda_codec snd_pcm_oss 40013 0 snd_mixer_oss 14087 1 snd_pcm_oss snd_pcm 78016 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_seq_dummy 1766 0 snd_seq_oss 31174 0 snd_seq_midi 6091 0 snd_rawmidi 20356 1 snd_seq_midi snd_seq_midi_event 6310 2 snd_seq_oss,snd_seq_midi snd_seq 53806 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event i915 279427 3 snd_timer 20001 2 snd_pcm,snd_seq drm_kms_helper 23398 1 i915 drm 166951 4 i915,drm_kms_helper snd_seq_device 6351 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq i2c_algo_bit 5069 1 i915 i2c_core 27420 3 i915,drm,i2c_algo_bit snd 63300 18 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device video 19968 1 i915 soundcore 6399 1 snd output 2221 1 video lp 11146 0 ppdev 8056 0 snd_page_alloc 7605 2 snd_hda_intel,snd_pcm dcdbas 8652 0 parport_pc 21209 1 serio_raw 4566 0 parport 32527 3 lp,ppdev,parport_pc ata_generic 3531 0 usb_storage 45353 1 pata_acpi 3459 0 e1000e 119323 0 --------------------- root@XenOpen:~# cat /proc/misc 59 network_throughput 60 network_latency 61 cpu_dma_latency 62 device-mapper 175 agpgart 144 nvram 228 hpet 231 snapshot 227 mcelog 63 vga_arbiter ------------------------------- root@XenOpen:~# grep XEN /boot/config-2.6.32.21 CONFIG_XEN=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=128 CONFIG_XEN_SAVE_RESTORE=y CONFIG_XEN_DEBUG_FS=y CONFIG_SWIOTLB_XEN=y CONFIG_MICROCODE_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_DOM0_PCI=y CONFIG_XEN_PCI_PASSTHROUGH=y CONFIG_PCI_XEN=y CONFIG_XEN_PCIDEV_FRONTEND=m CONFIG_XEN_BLKDEV_FRONTEND=m CONFIG_NETXEN_NIC=m CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_KBDDEV_FRONTEND=m CONFIG_HVC_XEN=y CONFIG_XEN_FBDEV_FRONTEND=y CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_BACKEND=y CONFIG_XEN_NETDEV_BACKEND=y CONFIG_XEN_BLKDEV_BACKEND=y CONFIG_XEN_BLKDEV_TAP=m CONFIG_XEN_BLKBACK_PAGEMAP=y CONFIG_XEN_PCIDEV_BACKEND=m # CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set CONFIG_XEN_PCIDEV_BACKEND_PASS=y # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set # CONFIG_XEN_PCIDEV_BE_DEBUG is not set CONFIG_XENFS=m CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_MCE=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=m CONFIG_XEN_S3=y CONFIG_ACPI_PROCESSOR_XEN=y CONFIG_XEN_PLATFORM_PCI=y ---- I can see from the last output that xenfs is a module. How do I mount it? Cheers! On Thu, Sep 16, 2010 at 9:59 AM, Bruce Edge <bruce.edge@gmail.com> wrote:> On Thu, Sep 16, 2010 at 5:11 AM, Priya <pbhat@acis.ufl.edu> wrote: > >> Hey Guys! >> >> >> Need some help here... I am trying to install Xen4.0.1 on Ubuntu >> 10.04.1 LTS (64 bits) which has the kernel version 2.6.32.24-generic. >> I followed this tutorial for the installation, using the configuration >> file uploaded by Thiogo, which is actually meant for kernel version >> 2.6.32.18. >> >> The kernel compilation steps go through smoothly, except that when I >> enable the xend and the xend domain services using the update-rc.d >> command I get the same warning message as NunziaG84 >> >> update-rc.d xend defaults 20 21 >> >> the output was: >> update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match >> LSB >> Default-Start values (3 4 5) >> update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match >> LSB >> Default-Stop values (0 1 2 6) >> >> And then when I reboot the machine, xend does not start. On issuing >> the command /etc/init.d/xend start, or status, there is no terminal >> output. >> When I type in "xend start" directly, I get the following error message: >> >> sudo xend start >> > >> > the output is: >> > >> > ERROR Internal error: Could not obtain handle on privileged command >> interface >> > (2 = No such file or directory) >> > > Possibly missing drivers related to hotplug issues? > Can you post the output from lsmod? > What does cat /proc/misc show? > Also grep XEN /boot/config-<whatever kernel you''re running> > > -Bruce > > > Traceback (most recent call last): >> > File "/usr/sbin/xend", line 36, in <module> >> > from xen.xend.server import SrvDaemon >> > File >> "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", >> > line 26, in <module> >> > import relocate >> > File >> "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", >> > line 28, in <module> >> > from xen.xend import XendDomain >> > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", >> line >> > 36, in <module> >> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo >> > File >> "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", >> > line 20, in <module> >> > from xen.xend import balloon, sxp, image >> > File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line >> 46, 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 see that several other people here are facing similar issues. Could >> anyone throw some light on what the matter might be, and how one could >> move towards resolving it. >> Does anyone have a configuration file for my specific xen and host >> operating system kernel versions. Actually I am confused as to whether >> the kernel version of the .config file has to match that of our Xen >> download or our host operating system.... >> >> >> >> Thanks!!!! >> >> On Mon, Sep 6, 2010 at 8:16 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote: >> >>> It just means that standard links already exist. No harm >>> Please , run >>> cd /dev/xen >>> ls -l >>> >>> Boris. >>> >>> --- On *Mon, 9/6/10, Pasi Kärkkäinen <pasik@iki.fi>* wrote: >>> >>> >>> From: Pasi Kärkkäinen <pasik@iki.fi> >>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>> :-D >>> To: "nunziaG84@libero.it" <nunziaG84@libero.it> >>> Cc: xen-users@lists.xensource.com >>> Date: Monday, September 6, 2010, 5:55 AM >>> >>> >>> On Mon, Sep 06, 2010 at 09:05:26AM +0200, nunziaG84@libero.it<http://mc/compose?to=nunziaG84@libero.it>wrote: >>> > I had a problem that i ignored when i had nabled Xen at boot: >>> > with: >>> > update-rc.d xend defaults 20 21 >>> > >>> > the output was: >>> > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not >>> match LSB >>> > Default-Start values (3 4 5) >>> > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match >>> LSB >>> > Default-Stop values (0 1 2 6) >>> > System start/stop links for /etc/init.d/xend already exist. >>> > >>> > Can this be the problem that xend doesn''t start? >>> > >>> >>> Maybe, who knows. >>> >>> Does it start if you execute "/etc/init.d/xend start" manually? >>> >>> -- Pasi >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com<http://mc/compose?to=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 >>> >> >> >> >> -- >> Priya Bhat >> >> >> >> _______________________________________________ >> 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 >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2010-Sep-16 15:49 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
I''m not completely sure, but while I was playing with Xen, I met this error. I happens when older xen-utils contact with newer hypervisor (or newer utils with older hypervizor??? not sure). Dirty solution: clear all signs of xen utils and xen themself from system (not only uninstall, not only aptitude purge, but manual removing any noties about xen from filesystem). (You can keep installation directory). After cleaning install required version, it shall works fine. В Чтв, 16/09/2010 в 08:11 -0400, Priya пишет:> Hey Guys! > > > > Need some help here... I am trying to install Xen4.0.1 on Ubuntu > 10.04.1 LTS (64 bits) which has the kernel version 2.6.32.24-generic. > I followed this tutorial for the installation, using the configuration > file uploaded by Thiogo, which is actually meant for kernel version > 2.6.32.18. > > The kernel compilation steps go through smoothly, except that when I > enable the xend and the xend domain services using the update-rc.d > command I get the same warning message as NunziaG84 > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not > match LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not > match LSB > Default-Stop values (0 1 2 6) > > And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status, there is no terminal > output. > When I type in "xend start" directly, I get the following error > message: > sudo xend start > > > > the output is: > > > > 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 36, in <module> > > from xen.xend.server import SrvDaemon > > File > "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", > > line 26, in <module> > > import relocate > > File > "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", > > line 28, in <module> > > from xen.xend import XendDomain > > File > "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line > > 36, in <module> > > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > > File > "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", > > line 20, in <module> > > from xen.xend import balloon, sxp, image > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", > line 46, 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 see that several other people here are facing similar issues. Could > anyone throw some light on what the matter might be, and how one could > move towards resolving it. > Does anyone have a configuration file for my specific xen and host > operating system kernel versions. Actually I am confused as to whether > the kernel version of the .config file has to match that of our Xen > download or our host operating system.... > > > > Thanks!!!! > > On Mon, Sep 6, 2010 at 8:16 AM, Boris Derzhavets > <bderzhavets@yahoo.com> wrote: > It just means that standard links already exist. No harm > Please , run > cd /dev/xen > ls -l > > Boris. > > --- On Mon, 9/6/10, Pasi Kärkkäinen <pasik@iki.fi> wrote: > > From: Pasi Kärkkäinen <pasik@iki.fi> > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid > 10.04 - Desktop / Server - 64 Bits - With OpenGL > (Intel GEM) enabled - From Linuxcon Brazil! :-D > To: "nunziaG84@libero.it" <nunziaG84@libero.it> > Cc: xen-users@lists.xensource.com > Date: Monday, September 6, 2010, 5:55 AM > > > > On Mon, Sep 06, 2010 at 09:05:26AM +0200, > nunziaG84@libero.it wrote: > > I had a problem that i ignored when i had nabled Xen > at boot: > > with: > > update-rc.d xend defaults 20 21 > > > > the output was: > > update-rc.d: warning: xend start runlevel arguments > (2 3 4 5) do not match LSB > > Default-Start values (3 4 5) > > update-rc.d: warning: xend stop runlevel arguments > (0 1 6) do not match LSB > > Default-Stop values (0 1 2 6) > > System start/stop links for /etc/init.d/xend > already exist. > > > > Can this be the problem that xend doesn''t start? > > > > Maybe, who knows. > > Does it start if you execute "/etc/init.d/xend start" > manually? > > -- Pasi > > > _______________________________________________ > 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 > > > > -- > Priya Bhat > > > > _______________________________________________ > 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
Boris Derzhavets
2010-Sep-16 16:03 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Don''t worry about /proc/xen. Config is attached. Some where down here you tune wrong :- Device Drivers [*] Xen memory balloon driver │ │ │ │ [*] Scrub pages before returning them to stem │ │ │ │ <*> Xen /dev/xen/evtchn device │ │ │ │ [*] Backend driver support │ │ │ │ <*> Xen backend network device │ │ │ │ <*> Block-device backend driver │ │ │ │ <*> Block-device tap backend driver │ │ │ │ <*> PCI-device backend driver │ │ │ │ PCI Backend Mode (Virtual PCI) ---> │ │ │ │ [*] PCI Backend Debugging │ │ │ │ <*> Xen filesystem │ │ │ │ [*] Create compatibility mount point /proc/xen │ │ │ │ [*] Create xen entries under /sys/hypervisor │ │ │ │ <*> userspace grant access device driver │ │ │ │ <*> xen platform pci device driver │ │ │ │ [*] Staging drivers ---> │ │ │ │ [*] X86 Platform Specific Device Drivers ---> │ │ │ └──────────────────────────────────────────────────────────────── Boris. --- On Thu, 9/16/10, Priya <pbhat@acis.ufl.edu> wrote: From: Priya <pbhat@acis.ufl.edu> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com Date: Thursday, September 16, 2010, 11:25 AM There is no "/proc/xen" either! What do you all recommend? Should I use a different kernel (if so which one) or a different .config file? Can I fix the present set up in some way? I find it amusing that I am learning stuff about the internal setup of Xen that I wouldn''t have had this install been "seamless"... Cheers to that! On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> root@XenOpen:~# ls -l /dev/xenls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev That''s a core issue , why xend fails to start. During pvops Dom0 load "udevd" should create :- # ls -l /dev/xen total 0 crw------- 1 root root 10, 58 Sep 16 18:41 evtchn crw------- 1 root root 10, 57 Sep 16 18:41 gntdev On any system Ubuntu 10.04.1 Server, F13,F14,etc Then xend will start after Dom0 gets loaded. Boris. --- On Thu, 9/16/10, Priya <pbhat@acis.ufl.edu> wrote: From: Priya <pbhat@acis.ufl.edu> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "hurenkam" <hurenkam@xs4all.nl>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 11:03 AM Thanks for the responses ! @Mark xenfs is not mounted. Here is the output for the mount command: ------------- /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type tmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /dev/sdb1 on /media/08AF-8FE8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) ------------------------------ I did a modprobe on xenfs but I cannot mount it yet. Could you please give me the correct command line arguments for doing so. Here are my outputs: ------------------------ root@XenOpen:~# modprobe xenfs root@XenOpen:~# mount xenfs mount: can''t find xenfs in /etc/fstab or /etc/mtab ----------------------------------------------------------- Thanks a lot for your advice. Really appreciate it! @Borris: There is no "xen" directory in /dev....Here is what I have: --------------- root@XenOpen:~# ls -l /dev/xen ls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev adsp null snapshot tty41 vcs1 vcs5 vcsa30 agpgart nvram snd tty42 vcs10 vcs50 vcsa31 audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 block parport0 sr0 tty44 vcs12 vcs52 vcsa33 bsg port stderr tty45 vcs13 vcs53 vcsa34 bus ppp stdin tty46 vcs14 vcs54 vcsa35 cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 cdrw pts tty tty48 vcs16 vcs56 vcsa37 char ram tty0 tty49 vcs17 vcs57 vcsa38 console ram0 tty1 tty5 vcs18 vcs58 vcsa39 core ram1 tty10 tty50 vcs19 vcs59 vcsa4 cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 fd ram3 tty19 tty59 vcs27 vcsa vcsa48 full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 log raw tty26 tty9 vcs34 vcsa15 vcsa55 loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 mixer sg0 tty38 usbmon7 vcs46 vcsa27 vga_arbiter net sg1 tty39 usbmon8 vcs47 vcsa28 zero network_latency sg2 tty4 vcs vcs48 vcsa29 network_throughput shm tty40 vcs0 vcs49 vcsa3 --------------------- Thanks for taking the time guys! On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: One more time. Please, submit :- # ls -l /dev/xen Boris. --- On Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl> wrote: From: hurenkam <hurenkam@xs4all.nl> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Priya" <pbhat@acis.ufl.edu> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 10:17 AM Hi,> And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status,there is no terminal> output. > When I type in "xend start" directly, I get the following error > message: > sudo xend start >> >> the output is: >> >> ERROR Internal error: Could not obtain handle on privileged command> interfaceDo you have xenfs mounted? see if the following line comes up in the list if you type mount: # mount ... xenfs on /proc/xen type xenfs (rw) ... If not, then you can try mounting it manually. If xenfs is compiled as a module, you may have to modprobe it first. If it is not enabled in your kernel, then you have to rebuild your dom0 kernel, and enable it. On my (Ubuntu Server 10.04.1 based) system, this gets mounted automatically by either udev or xend itself (it is not in fstab). In my experience on this system, xend fails ususually due to one of the following reasons: 1) Failure to mount xenfs (because it is not configured, or the module is not loaded). 2) Inconsistent installation of xentools (in wrong python directory or mixed with older version). Regards, Mark. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- Priya Bhat -- Priya Bhat -----Inline Attachment Follows----- _______________________________________________ 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
Priya
2010-Sep-16 18:20 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hey Boris! I am using your configuration file to install xen4.0.1 from scratch. Thanks! Could you please also send me the grub entry (or the file that you made for the xen boot in the /etc/grub.d/ directory). I just want to confirm that it is the same as the original tutorial. Also, did you change anything else from the steps given below (from the original mail by Thiago) while installing your version: ----- The procedure: 1- Install all the packages: aptitude update aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev debhelper fakeroot uuid-dev iasl texinfo git-core apt-get build-dep xen-3.3 2- Download, compile and install Xen and its tools: cd /usr/src wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz tar xf xen-4.0.1.tar.gz cd xen-4.0.1 make xen make tools make stubdom make install-xen # make install-tools make install-tools PYTHON_PREFIX_ARG make install-stubdom 3- Download, compile and install Linux from the Jemery''s tree: make prep-kernels wget http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config cd build-linux-2.6-pvops_x86_64 make menuconfig # Change whatever you want, if you now what you''re doing... make chmod g-s /usr/src/ -R make deb-pkg dpkg -i ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb depmod 2.6.32.18-tcmc-10.08-1-xen update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen 4- Enable Xen at boot: update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 5- Configure the Grub2: vim /etc/grub.d/40_custom ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ‘exec tail’ line above. menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { recordfail insmod ext2 set root=''(hd0,4)'' multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen } ---- cut here ---- NOTE.: Pay attention to you root partition and also you''ll need to disable the KMS (maybe the nomodeset option works for you) of your videoboard. update-grub reboot Choose the right Grub2 menu entry... ---------- Thanks! On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> Don''t worry about /proc/xen. Config is attached. > Some where down here you tune wrong :- > > Device Drivers > > [*] Xen memory balloon > driver │ │ > │ │ [*] Scrub pages before returning them to > stem │ │ > │ │ <*> Xen /dev/xen/evtchn > device │ │ > │ │ [*] Backend driver > support │ │ > │ │ <*> Xen backend network > device │ │ > │ │ <*> Block-device backend > driver │ │ > │ │ <*> Block-device tap backend > driver │ │ > │ │ <*> PCI-device backend > driver │ │ > │ │ PCI Backend Mode (Virtual PCI) > ---> │ │ > │ │ [*] PCI Backend > Debugging │ │ > │ │ <*> Xen > filesystem > │ │ > │ │ [*] Create compatibility mount point > /proc/xen │ │ > │ │ [*] Create xen entries under > /sys/hypervisor │ │ > │ │ <*> userspace grant access device > driver │ │ > │ │ <*> xen platform pci device > driver │ │ > │ │ [*] Staging drivers > ---> │ │ > │ │ [*] X86 Platform Specific Device Drivers > ---> │ │ > │ └──────────────────────────────────────────────────────────────── > > Boris. > > --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: > > > From: Priya <pbhat@acis.ufl.edu> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi > Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com > Date: Thursday, September 16, 2010, 11:25 AM > > There is no "/proc/xen" either! > > What do you all recommend? Should I use a different kernel (if so which > one) or a different .config file? > > Can I fix the present set up in some way? > > I find it amusing that I am learning stuff about the internal setup of Xen > that I wouldn''t have had this install been "seamless"... > > Cheers to that! > > > On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > wrote: > > > root@XenOpen:~# ls -l /dev/xen > ls: cannot access /dev/xen: No such file or directory > root@XenOpen:~# ls /dev > > That''s a core issue , why xend fails to start. During pvops Dom0 load > "udevd" should > create :- > > # ls -l /dev/xen > total 0 > crw------- 1 root root 10, 58 Sep 16 18:41 evtchn > crw------- 1 root root 10, 57 Sep 16 18:41 gntdev > > On any system Ubuntu 10.04.1 Server, F13,F14,etc > Then xend will start after Dom0 gets loaded. > > Boris. > > > --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> > >* wrote: > > > From: Priya <pbhat@acis.ufl.edu <http://mc/compose?to=pbhat@acis.ufl.edu>> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: "hurenkam" <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl>>, > nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, > xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> > Date: Thursday, September 16, 2010, 11:03 AM > > > Thanks for the responses ! > > @Mark > > xenfs is not mounted. Here is the output for the mount command: > ------------- > /dev/sda1 on / type ext4 (rw,errors=remount-ro) > proc on /proc type proc (rw,noexec,nosuid,nodev) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) > none on /sys type sysfs (rw,noexec,nosuid,nodev) > none on /sys/kernel/debug type debugfs (rw) > none on /sys/kernel/security type securityfs (rw) > none on /dev type tmpfs (rw,mode=0755) > none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) > none on /dev/shm type tmpfs (rw,nosuid,nodev) > none on /var/run type tmpfs (rw,nosuid,mode=0755) > none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) > none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) > /dev/sdb1 on /media/08AF-8FE8 type vfat > (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) > > ------------------------------ > > > I did a modprobe on xenfs but I cannot mount it yet. Could you please give > me the correct command line arguments for doing so. Here are my outputs: > ------------------------ > > root@XenOpen:~# modprobe xenfs > root@XenOpen:~# mount xenfs > mount: can''t find xenfs in /etc/fstab or /etc/mtab > ----------------------------------------------------------- > Thanks a lot for your advice. Really appreciate it! > > > @Borris: > > There is no "xen" directory in /dev....Here is what I have: > > --------------- > > > root@XenOpen:~# ls -l /dev/xen > ls: cannot access /dev/xen: No such file or directory > root@XenOpen:~# ls /dev > adsp null snapshot tty41 vcs1 vcs5 vcsa30 > agpgart nvram snd tty42 vcs10 vcs50 vcsa31 > audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 > block parport0 sr0 tty44 vcs12 vcs52 vcsa33 > bsg port stderr tty45 vcs13 vcs53 vcsa34 > bus ppp stdin tty46 vcs14 vcs54 vcsa35 > cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 > cdrw pts tty tty48 vcs16 vcs56 vcsa37 > char ram tty0 tty49 vcs17 vcs57 vcsa38 > console ram0 tty1 tty5 vcs18 vcs58 vcsa39 > core ram1 tty10 tty50 vcs19 vcs59 vcsa4 > cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 > cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 > disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 > dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 > dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 > dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 > dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 > fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 > fd ram3 tty19 tty59 vcs27 vcsa vcsa48 > full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 > hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 > hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 > hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 > input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 > kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 > kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 > log raw tty26 tty9 vcs34 vcsa15 vcsa55 > loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 > loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 > loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 > loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 > loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 > loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 > loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 > loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 > lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 > mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 > mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 > mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 > mixer sg0 tty38 usbmon7 vcs46 vcsa27 > vga_arbiter > net sg1 tty39 usbmon8 vcs47 vcsa28 zero > network_latency sg2 tty4 vcs vcs48 vcsa29 > network_throughput shm tty40 vcs0 vcs49 vcsa3 > > --------------------- > > Thanks for taking the time guys! > > > > > > On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > wrote: > > One more time. Please, submit :- > # ls -l /dev/xen > > Boris. > > --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> > >* wrote: > > > From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> > > > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! > :-D > To: "Priya" <pbhat@acis.ufl.edu <http://mc/compose?to=pbhat@acis.ufl.edu>> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, > nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, > xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> > Date: Thursday, September 16, 2010, 10:17 AM > > > Hi, > > > > And then when I reboot the machine, xend does not start. On issuing > > the command /etc/init.d/xend start, or status, there is no terminal > > output. > > When I type in "xend start" directly, I get the following error > > message: > > sudo xend start > >> > >> the output is: > >> > >> ERROR Internal error: Could not obtain handle on privileged command > > interface > > Do you have xenfs mounted? > see if the following line comes up in the list if you type mount: > > # mount > ... > xenfs on /proc/xen type xenfs (rw) > ... > > If not, then you can try mounting it manually. If xenfs is compiled as > a module, you may have to modprobe it first. If it is not enabled in > your > kernel, then you have to rebuild your dom0 kernel, and enable it. > > On my (Ubuntu Server 10.04.1 based) system, this gets mounted > automatically > by either udev or xend itself (it is not in fstab). > > In my experience on this system, xend fails ususually due to one of the > following reasons: > 1) Failure to mount xenfs (because it is not configured, or the module > is > not loaded). > 2) Inconsistent installation of xentools (in wrong python directory or > mixed with older version). > > > Regards, > Mark. > > > > _______________________________________________ > > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > Priya Bhat > > > > > > > -- > Priya Bhat > > > > -----Inline Attachment Follows----- > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=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 >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Outback Dingo
2010-Sep-16 19:09 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
funny, how so many of us are having trouble with this documentation, ive got a kernel and all built, but i fear same as you somethings not right with the grub config On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu> wrote:> Hey Boris! > > I am using your configuration file to install xen4.0.1 from scratch. > Thanks! Could you please also send me the grub entry (or the file that you > made for the xen boot in the /etc/grub.d/ directory). I just want to confirm > that it is the same as the original tutorial. > > Also, did you change anything else from the steps given below (from the > original mail by Thiago) while installing your version: > > > ----- > The procedure: > > > 1- Install all the packages: > > aptitude update > aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev > debhelper fakeroot uuid-dev iasl texinfo git-core > apt-get build-dep xen-3.3 > > 2- Download, compile and install Xen and its tools: > > cd /usr/src > wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz > tar xf xen-4.0.1.tar.gz > cd xen-4.0.1 > make xen > make tools > make stubdom > make install-xen > # make install-tools > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > > 3- Download, compile and install Linux from the Jemery''s tree: > > make prep-kernels > wget > http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config > cd build-linux-2.6-pvops_x86_64 > make menuconfig # Change whatever you want, if you now what you''re > doing... > make > chmod g-s /usr/src/ -R > make deb-pkg > dpkg -i > ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb > depmod 2.6.32.18-tcmc-10.08-1-xen > update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen > > 4- Enable Xen at boot: > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 5- Configure the Grub2: > > vim /etc/grub.d/40_custom > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ‘exec tail’ line above. > > menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { > recordfail > insmod ext2 > set root=''(hd0,4)'' > multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M > module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy > root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro > module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen > } > ---- cut here ---- > > NOTE.: Pay attention to you root partition and also you''ll need to disable > the KMS (maybe the nomodeset option works for you) of your videoboard. > > update-grub > reboot > > Choose the right Grub2 menu entry... > ---------- > > > Thanks! > > > On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote: > >> Don''t worry about /proc/xen. Config is attached. >> Some where down here you tune wrong :- >> >> Device Drivers >> >> [*] Xen memory balloon >> driver │ │ >> │ │ [*] Scrub pages before returning them to >> stem │ │ >> │ │ <*> Xen /dev/xen/evtchn >> device │ │ >> │ │ [*] Backend driver >> support │ │ >> │ │ <*> Xen backend network >> device │ │ >> │ │ <*> Block-device backend >> driver │ │ >> │ │ <*> Block-device tap backend >> driver │ │ >> │ │ <*> PCI-device backend >> driver │ │ >> │ │ PCI Backend Mode (Virtual PCI) >> ---> │ │ >> │ │ [*] PCI Backend >> Debugging │ │ >> │ │ <*> Xen >> filesystem >> │ │ >> │ │ [*] Create compatibility mount point >> /proc/xen │ │ >> │ │ [*] Create xen entries under >> /sys/hypervisor │ │ >> │ │ <*> userspace grant access device >> driver │ │ >> │ │ <*> xen platform pci device >> driver │ │ >> │ │ [*] Staging drivers >> ---> │ │ >> │ │ [*] X86 Platform Specific Device Drivers >> ---> │ │ >> │ └──────────────────────────────────────────────────────────────── >> >> Boris. >> >> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: >> >> >> From: Priya <pbhat@acis.ufl.edu> >> >> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >> :-D >> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi >> Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com >> Date: Thursday, September 16, 2010, 11:25 AM >> >> There is no "/proc/xen" either! >> >> What do you all recommend? Should I use a different kernel (if so which >> one) or a different .config file? >> >> Can I fix the present set up in some way? >> >> I find it amusing that I am learning stuff about the internal setup of Xen >> that I wouldn''t have had this install been "seamless"... >> >> Cheers to that! >> >> >> On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >> > wrote: >> >> > root@XenOpen:~# ls -l /dev/xen >> ls: cannot access /dev/xen: No such file or directory >> root@XenOpen:~# ls /dev >> >> That''s a core issue , why xend fails to start. During pvops Dom0 load >> "udevd" should >> create :- >> >> # ls -l /dev/xen >> total 0 >> crw------- 1 root root 10, 58 Sep 16 18:41 evtchn >> crw------- 1 root root 10, 57 Sep 16 18:41 gntdev >> >> On any system Ubuntu 10.04.1 Server, F13,F14,etc >> Then xend will start after Dom0 gets loaded. >> >> Boris. >> >> >> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >> >* wrote: >> >> >> From: Priya <pbhat@acis.ufl.edu <http://mc/compose?to=pbhat@acis.ufl.edu> >> > >> >> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >> :-D >> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >> > >> Cc: "hurenkam" <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl>>, >> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >> Date: Thursday, September 16, 2010, 11:03 AM >> >> >> Thanks for the responses ! >> >> @Mark >> >> xenfs is not mounted. Here is the output for the mount command: >> ------------- >> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >> proc on /proc type proc (rw,noexec,nosuid,nodev) >> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) >> none on /sys type sysfs (rw,noexec,nosuid,nodev) >> none on /sys/kernel/debug type debugfs (rw) >> none on /sys/kernel/security type securityfs (rw) >> none on /dev type tmpfs (rw,mode=0755) >> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) >> none on /dev/shm type tmpfs (rw,nosuid,nodev) >> none on /var/run type tmpfs (rw,nosuid,mode=0755) >> none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) >> none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >> /dev/sdb1 on /media/08AF-8FE8 type vfat >> (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) >> >> ------------------------------ >> >> >> I did a modprobe on xenfs but I cannot mount it yet. Could you please give >> me the correct command line arguments for doing so. Here are my outputs: >> ------------------------ >> >> root@XenOpen:~# modprobe xenfs >> root@XenOpen:~# mount xenfs >> mount: can''t find xenfs in /etc/fstab or /etc/mtab >> ----------------------------------------------------------- >> Thanks a lot for your advice. Really appreciate it! >> >> >> @Borris: >> >> There is no "xen" directory in /dev....Here is what I have: >> >> --------------- >> >> >> root@XenOpen:~# ls -l /dev/xen >> ls: cannot access /dev/xen: No such file or directory >> root@XenOpen:~# ls /dev >> adsp null snapshot tty41 vcs1 vcs5 vcsa30 >> agpgart nvram snd tty42 vcs10 vcs50 vcsa31 >> audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 >> block parport0 sr0 tty44 vcs12 vcs52 vcsa33 >> bsg port stderr tty45 vcs13 vcs53 vcsa34 >> bus ppp stdin tty46 vcs14 vcs54 vcsa35 >> cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 >> cdrw pts tty tty48 vcs16 vcs56 vcsa37 >> char ram tty0 tty49 vcs17 vcs57 vcsa38 >> console ram0 tty1 tty5 vcs18 vcs58 vcsa39 >> core ram1 tty10 tty50 vcs19 vcs59 vcsa4 >> cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 >> cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 >> disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 >> dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 >> dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 >> dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 >> dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 >> fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 >> fd ram3 tty19 tty59 vcs27 vcsa vcsa48 >> full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 >> hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 >> hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 >> hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 >> input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 >> kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 >> kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 >> log raw tty26 tty9 vcs34 vcsa15 vcsa55 >> loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 >> loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 >> loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 >> loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 >> loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 >> loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 >> loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 >> loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 >> lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 >> mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 >> mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 >> mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 >> mixer sg0 tty38 usbmon7 vcs46 vcsa27 >> vga_arbiter >> net sg1 tty39 usbmon8 vcs47 vcsa28 zero >> network_latency sg2 tty4 vcs vcs48 vcsa29 >> network_throughput shm tty40 vcs0 vcs49 vcsa3 >> >> --------------------- >> >> Thanks for taking the time guys! >> >> >> >> >> >> On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >> > wrote: >> >> One more time. Please, submit :- >> # ls -l /dev/xen >> >> Boris. >> >> --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >> >* wrote: >> >> >> From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >> > >> >> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >> :-D >> To: "Priya" <pbhat@acis.ufl.edu <http://mc/compose?to=pbhat@acis.ufl.edu> >> > >> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, >> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >> Date: Thursday, September 16, 2010, 10:17 AM >> >> >> Hi, >> >> >> > And then when I reboot the machine, xend does not start. On issuing >> > the command /etc/init.d/xend start, or status, there is no terminal >> > output. >> > When I type in "xend start" directly, I get the following error >> > message: >> > sudo xend start >> >> >> >> the output is: >> >> >> >> ERROR Internal error: Could not obtain handle on privileged command >> > interface >> >> Do you have xenfs mounted? >> see if the following line comes up in the list if you type mount: >> >> # mount >> ... >> xenfs on /proc/xen type xenfs (rw) >> ... >> >> If not, then you can try mounting it manually. If xenfs is compiled as >> a module, you may have to modprobe it first. If it is not enabled in >> your >> kernel, then you have to rebuild your dom0 kernel, and enable it. >> >> On my (Ubuntu Server 10.04.1 based) system, this gets mounted >> automatically >> by either udev or xend itself (it is not in fstab). >> >> In my experience on this system, xend fails ususually due to one of the >> following reasons: >> 1) Failure to mount xenfs (because it is not configured, or the module >> is >> not loaded). >> 2) Inconsistent installation of xentools (in wrong python directory or >> mixed with older version). >> >> >> Regards, >> Mark. >> >> >> >> _______________________________________________ >> >> Xen-users mailing list >> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users >> >> >> >> >> -- >> Priya Bhat >> >> >> >> >> >> >> -- >> Priya Bhat >> >> >> >> -----Inline Attachment Follows----- >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com<http://mc/compose?to=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 >> > > > > -- > Priya Bhat > > > > _______________________________________________ > 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
Priya
2010-Sep-16 20:08 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Hey guys! Thanks for the continued support and advice. It seems like my job is not done yet.. :( I finished the installation using Thiago''s documentation and the configuration file from Boris. While building the kernel, I kept the default setting for all the questions that came up at the prompt. When I set up the xend and the xendaemon services using, I still get the earlier warning: update-rc.d xend defaults 20 21 the output was: update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) And after rebooting the machine, I don''t even get the grub2 choices for boot. All I get is a Kernel Panic message saying: *kernel panic - not syncing : VFS: unable to mount root FS on unknown-block* * * *Obviously, this is a problem with the grub file that I created, but shouldn''t I at least get the option to boot up the Ubuntu 10.04 that was initially working?* * * *Now, can anyone please tell me how to correctly assign "root" to the correct hard disk partition ("hda.?") while creating your custom grub file in the /etc/grub2.d/ directory?* * * Now that I don''t get the options from grub about which OS operating system I want to boot up from, is there a way to change the grub file to point to the correct hd partition? State of complete collapse at this time............ On Thu, Sep 16, 2010 at 3:09 PM, Outback Dingo <outbackdingo@gmail.com>wrote:> funny, how so many of us are having trouble with this documentation, ive > got a kernel and all built, but i fear same as you somethings not right with > the grub config > > > On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu> wrote: > >> Hey Boris! >> >> I am using your configuration file to install xen4.0.1 from scratch. >> Thanks! Could you please also send me the grub entry (or the file that you >> made for the xen boot in the /etc/grub.d/ directory). I just want to confirm >> that it is the same as the original tutorial. >> >> Also, did you change anything else from the steps given below (from the >> original mail by Thiago) while installing your version: >> >> >> ----- >> The procedure: >> >> >> 1- Install all the packages: >> >> aptitude update >> aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev >> debhelper fakeroot uuid-dev iasl texinfo git-core >> apt-get build-dep xen-3.3 >> >> 2- Download, compile and install Xen and its tools: >> >> cd /usr/src >> wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz >> tar xf xen-4.0.1.tar.gz >> cd xen-4.0.1 >> make xen >> make tools >> make stubdom >> make install-xen >> # make install-tools >> make install-tools PYTHON_PREFIX_ARG>> make install-stubdom >> >> >> 3- Download, compile and install Linux from the Jemery''s tree: >> >> make prep-kernels >> wget >> http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config >> cd build-linux-2.6-pvops_x86_64 >> make menuconfig # Change whatever you want, if you now what you''re >> doing... >> make >> chmod g-s /usr/src/ -R >> make deb-pkg >> dpkg -i >> ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb >> depmod 2.6.32.18-tcmc-10.08-1-xen >> update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen >> >> 4- Enable Xen at boot: >> >> update-rc.d xend defaults 20 21 >> update-rc.d xendomains defaults 21 20 >> >> 5- Configure the Grub2: >> >> vim /etc/grub.d/40_custom >> >> ---- cut here ---- >> #!/bin/sh >> exec tail -n +3 $0 >> # This file provides an easy way to add custom menu entries. Simply type >> the >> # menu entries you want to add after this comment. Be careful not to >> change >> # the ‘exec tail’ line above. >> >> menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { >> recordfail >> insmod ext2 >> set root=''(hd0,4)'' >> multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M >> module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy >> root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro >> module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen >> } >> ---- cut here ---- >> >> NOTE.: Pay attention to you root partition and also you''ll need to >> disable the KMS (maybe the nomodeset option works for you) of your >> videoboard. >> >> update-grub >> reboot >> >> Choose the right Grub2 menu entry... >> ---------- >> >> >> Thanks! >> >> >> On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets <bderzhavets@yahoo.com >> > wrote: >> >>> Don''t worry about /proc/xen. Config is attached. >>> Some where down here you tune wrong :- >>> >>> Device Drivers >>> >>> [*] Xen memory balloon >>> driver │ │ >>> │ │ [*] Scrub pages before returning them to >>> stem │ │ >>> │ │ <*> Xen /dev/xen/evtchn >>> device │ │ >>> │ │ [*] Backend driver >>> support │ │ >>> │ │ <*> Xen backend network >>> device │ │ >>> │ │ <*> Block-device backend >>> driver │ │ >>> │ │ <*> Block-device tap backend >>> driver │ │ >>> │ │ <*> PCI-device backend >>> driver │ │ >>> │ │ PCI Backend Mode (Virtual PCI) >>> ---> │ │ >>> │ │ [*] PCI Backend >>> Debugging │ │ >>> │ │ <*> Xen >>> filesystem >>> │ │ >>> │ │ [*] Create compatibility mount point >>> /proc/xen │ │ >>> │ │ [*] Create xen entries under >>> /sys/hypervisor │ │ >>> │ │ <*> userspace grant access device >>> driver │ │ >>> │ │ <*> xen platform pci device >>> driver │ │ >>> │ │ [*] Staging drivers >>> ---> │ │ >>> │ │ [*] X86 Platform Specific Device Drivers >>> ---> │ │ >>> │ └──────────────────────────────────────────────────────────────── >>> >>> Boris. >>> >>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: >>> >>> >>> From: Priya <pbhat@acis.ufl.edu> >>> >>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>> :-D >>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi >>> Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com >>> Date: Thursday, September 16, 2010, 11:25 AM >>> >>> There is no "/proc/xen" either! >>> >>> What do you all recommend? Should I use a different kernel (if so which >>> one) or a different .config file? >>> >>> Can I fix the present set up in some way? >>> >>> I find it amusing that I am learning stuff about the internal setup of >>> Xen that I wouldn''t have had this install been "seamless"... >>> >>> Cheers to that! >>> >>> >>> On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets < >>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>> >>> > root@XenOpen:~# ls -l /dev/xen >>> ls: cannot access /dev/xen: No such file or directory >>> root@XenOpen:~# ls /dev >>> >>> That''s a core issue , why xend fails to start. During pvops Dom0 load >>> "udevd" should >>> create :- >>> >>> # ls -l /dev/xen >>> total 0 >>> crw------- 1 root root 10, 58 Sep 16 18:41 evtchn >>> crw------- 1 root root 10, 57 Sep 16 18:41 gntdev >>> >>> On any system Ubuntu 10.04.1 Server, F13,F14,etc >>> Then xend will start after Dom0 gets loaded. >>> >>> Boris. >>> >>> >>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>> >* wrote: >>> >>> >>> From: Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>> > >>> >>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>> :-D >>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >>> > >>> Cc: "hurenkam" <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl>>, >>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>> Date: Thursday, September 16, 2010, 11:03 AM >>> >>> >>> Thanks for the responses ! >>> >>> @Mark >>> >>> xenfs is not mounted. Here is the output for the mount command: >>> ------------- >>> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >>> proc on /proc type proc (rw,noexec,nosuid,nodev) >>> none on /proc/sys/fs/binfmt_misc type binfmt_misc >>> (rw,noexec,nosuid,nodev) >>> none on /sys type sysfs (rw,noexec,nosuid,nodev) >>> none on /sys/kernel/debug type debugfs (rw) >>> none on /sys/kernel/security type securityfs (rw) >>> none on /dev type tmpfs (rw,mode=0755) >>> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) >>> none on /dev/shm type tmpfs (rw,nosuid,nodev) >>> none on /var/run type tmpfs (rw,nosuid,mode=0755) >>> none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) >>> none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >>> /dev/sdb1 on /media/08AF-8FE8 type vfat >>> (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) >>> >>> ------------------------------ >>> >>> >>> I did a modprobe on xenfs but I cannot mount it yet. Could you please >>> give me the correct command line arguments for doing so. Here are my >>> outputs: >>> ------------------------ >>> >>> root@XenOpen:~# modprobe xenfs >>> root@XenOpen:~# mount xenfs >>> mount: can''t find xenfs in /etc/fstab or /etc/mtab >>> ----------------------------------------------------------- >>> Thanks a lot for your advice. Really appreciate it! >>> >>> >>> @Borris: >>> >>> There is no "xen" directory in /dev....Here is what I have: >>> >>> --------------- >>> >>> >>> root@XenOpen:~# ls -l /dev/xen >>> ls: cannot access /dev/xen: No such file or directory >>> root@XenOpen:~# ls /dev >>> adsp null snapshot tty41 vcs1 vcs5 vcsa30 >>> agpgart nvram snd tty42 vcs10 vcs50 vcsa31 >>> audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 >>> block parport0 sr0 tty44 vcs12 vcs52 vcsa33 >>> bsg port stderr tty45 vcs13 vcs53 vcsa34 >>> bus ppp stdin tty46 vcs14 vcs54 vcsa35 >>> cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 >>> cdrw pts tty tty48 vcs16 vcs56 vcsa37 >>> char ram tty0 tty49 vcs17 vcs57 vcsa38 >>> console ram0 tty1 tty5 vcs18 vcs58 vcsa39 >>> core ram1 tty10 tty50 vcs19 vcs59 vcsa4 >>> cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 >>> cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 >>> disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 >>> dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 >>> dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 >>> dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 >>> dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 >>> fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 >>> fd ram3 tty19 tty59 vcs27 vcsa vcsa48 >>> full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 >>> hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 >>> hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 >>> hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 >>> input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 >>> kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 >>> kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 >>> log raw tty26 tty9 vcs34 vcsa15 vcsa55 >>> loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 >>> loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 >>> loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 >>> loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 >>> loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 >>> loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 >>> loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 >>> loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 >>> lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 >>> mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 >>> mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 >>> mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 >>> mixer sg0 tty38 usbmon7 vcs46 vcsa27 >>> vga_arbiter >>> net sg1 tty39 usbmon8 vcs47 vcsa28 zero >>> network_latency sg2 tty4 vcs vcs48 vcsa29 >>> network_throughput shm tty40 vcs0 vcs49 vcsa3 >>> >>> --------------------- >>> >>> Thanks for taking the time guys! >>> >>> >>> >>> >>> >>> On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets < >>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>> >>> One more time. Please, submit :- >>> # ls -l /dev/xen >>> >>> Boris. >>> >>> --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>> >* wrote: >>> >>> >>> From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>> > >>> >>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>> :-D >>> To: "Priya" <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>> > >>> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, >>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>> Date: Thursday, September 16, 2010, 10:17 AM >>> >>> >>> Hi, >>> >>> >>> > And then when I reboot the machine, xend does not start. On issuing >>> > the command /etc/init.d/xend start, or status, there is no terminal >>> > output. >>> > When I type in "xend start" directly, I get the following error >>> > message: >>> > sudo xend start >>> >> >>> >> the output is: >>> >> >>> >> ERROR Internal error: Could not obtain handle on privileged command >>> > interface >>> >>> Do you have xenfs mounted? >>> see if the following line comes up in the list if you type mount: >>> >>> # mount >>> ... >>> xenfs on /proc/xen type xenfs (rw) >>> ... >>> >>> If not, then you can try mounting it manually. If xenfs is compiled as >>> a module, you may have to modprobe it first. If it is not enabled in >>> your >>> kernel, then you have to rebuild your dom0 kernel, and enable it. >>> >>> On my (Ubuntu Server 10.04.1 based) system, this gets mounted >>> automatically >>> by either udev or xend itself (it is not in fstab). >>> >>> In my experience on this system, xend fails ususually due to one of the >>> following reasons: >>> 1) Failure to mount xenfs (because it is not configured, or the module >>> is >>> not loaded). >>> 2) Inconsistent installation of xentools (in wrong python directory or >>> mixed with older version). >>> >>> >>> Regards, >>> Mark. >>> >>> >>> >>> _______________________________________________ >>> >>> Xen-users mailing list >>> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> >>> http://lists.xensource.com/xen-users >>> >>> >>> >>> >>> -- >>> Priya Bhat >>> >>> >>> >>> >>> >>> >>> -- >>> Priya Bhat >>> >>> >>> >>> -----Inline Attachment Follows----- >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com<http://mc/compose?to=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 >>> >> >> >> >> -- >> Priya Bhat >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Priya
2010-Sep-16 20:53 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
@Outback Dingo, Could you please share you .config and grub file and advice on what you did differently from the documentation to compile the xen kernel. Thanks! On Thu, Sep 16, 2010 at 4:08 PM, Priya <pbhat@acis.ufl.edu> wrote:> Hey guys! > > Thanks for the continued support and advice. It seems like my job is not > done yet.. :( > > I finished the installation using Thiago''s documentation and the > configuration file from Boris. > While building the kernel, I kept the default setting for all the questions > that came up at the prompt. > > When I set up the xend and the xendaemon services using, I still get the > earlier warning: > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > > And after rebooting the machine, I don''t even get the grub2 choices for > boot. All I get is a Kernel Panic message saying: > > *kernel panic - not syncing : VFS: unable to mount root FS on > unknown-block* > * > * > *Obviously, this is a problem with the grub file that I created, but > shouldn''t I at least get the option to boot up the Ubuntu 10.04 that was > initially working?* > * > * > *Now, can anyone please tell me how to correctly assign "root" to the > correct hard disk partition ("hda.?") while creating your custom grub file > in the /etc/grub2.d/ directory?* > * > * > Now that I don''t get the options from grub about which OS operating system > I want to boot up from, is there a way to change the grub file to point to > the correct hd partition? State of complete collapse at this > time............ > > > > On Thu, Sep 16, 2010 at 3:09 PM, Outback Dingo <outbackdingo@gmail.com>wrote: > >> funny, how so many of us are having trouble with this documentation, ive >> got a kernel and all built, but i fear same as you somethings not right with >> the grub config >> >> >> On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu> wrote: >> >>> Hey Boris! >>> >>> I am using your configuration file to install xen4.0.1 from scratch. >>> Thanks! Could you please also send me the grub entry (or the file that you >>> made for the xen boot in the /etc/grub.d/ directory). I just want to confirm >>> that it is the same as the original tutorial. >>> >>> Also, did you change anything else from the steps given below (from the >>> original mail by Thiago) while installing your version: >>> >>> >>> ----- >>> The procedure: >>> >>> >>> 1- Install all the packages: >>> >>> aptitude update >>> aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev >>> debhelper fakeroot uuid-dev iasl texinfo git-core >>> apt-get build-dep xen-3.3 >>> >>> 2- Download, compile and install Xen and its tools: >>> >>> cd /usr/src >>> wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz >>> tar xf xen-4.0.1.tar.gz >>> cd xen-4.0.1 >>> make xen >>> make tools >>> make stubdom >>> make install-xen >>> # make install-tools >>> make install-tools PYTHON_PREFIX_ARG>>> make install-stubdom >>> >>> >>> 3- Download, compile and install Linux from the Jemery''s tree: >>> >>> make prep-kernels >>> wget >>> http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config >>> cd build-linux-2.6-pvops_x86_64 >>> make menuconfig # Change whatever you want, if you now what you''re >>> doing... >>> make >>> chmod g-s /usr/src/ -R >>> make deb-pkg >>> dpkg -i >>> ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb >>> depmod 2.6.32.18-tcmc-10.08-1-xen >>> update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen >>> >>> 4- Enable Xen at boot: >>> >>> update-rc.d xend defaults 20 21 >>> update-rc.d xendomains defaults 21 20 >>> >>> 5- Configure the Grub2: >>> >>> vim /etc/grub.d/40_custom >>> >>> ---- cut here ---- >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ‘exec tail’ line above. >>> >>> menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { >>> recordfail >>> insmod ext2 >>> set root=''(hd0,4)'' >>> multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M >>> module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen >>> dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro >>> module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen >>> } >>> ---- cut here ---- >>> >>> NOTE.: Pay attention to you root partition and also you''ll need to >>> disable the KMS (maybe the nomodeset option works for you) of your >>> videoboard. >>> >>> update-grub >>> reboot >>> >>> Choose the right Grub2 menu entry... >>> ---------- >>> >>> >>> Thanks! >>> >>> >>> On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets < >>> bderzhavets@yahoo.com> wrote: >>> >>>> Don''t worry about /proc/xen. Config is attached. >>>> Some where down here you tune wrong :- >>>> >>>> Device Drivers >>>> >>>> [*] Xen memory balloon >>>> driver │ │ >>>> │ │ [*] Scrub pages before returning them to >>>> stem │ │ >>>> │ │ <*> Xen /dev/xen/evtchn >>>> device │ │ >>>> │ │ [*] Backend driver >>>> support │ │ >>>> │ │ <*> Xen backend network >>>> device │ │ >>>> │ │ <*> Block-device backend >>>> driver │ │ >>>> │ │ <*> Block-device tap backend >>>> driver │ │ >>>> │ │ <*> PCI-device backend >>>> driver │ │ >>>> │ │ PCI Backend Mode (Virtual PCI) >>>> ---> │ │ >>>> │ │ [*] PCI Backend >>>> Debugging │ │ >>>> │ │ <*> Xen >>>> filesystem >>>> │ │ >>>> │ │ [*] Create compatibility mount point >>>> /proc/xen │ │ >>>> │ │ [*] Create xen entries under >>>> /sys/hypervisor │ │ >>>> │ │ <*> userspace grant access device >>>> driver │ │ >>>> │ │ <*> xen platform pci device >>>> driver │ │ >>>> │ │ [*] Staging drivers >>>> ---> │ │ >>>> │ │ [*] X86 Platform Specific Device Drivers >>>> ---> │ │ >>>> │ └──────────────────────────────────────────────────────────────── >>>> >>>> Boris. >>>> >>>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: >>>> >>>> >>>> From: Priya <pbhat@acis.ufl.edu> >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>>> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi >>>> Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com >>>> Date: Thursday, September 16, 2010, 11:25 AM >>>> >>>> There is no "/proc/xen" either! >>>> >>>> What do you all recommend? Should I use a different kernel (if so which >>>> one) or a different .config file? >>>> >>>> Can I fix the present set up in some way? >>>> >>>> I find it amusing that I am learning stuff about the internal setup of >>>> Xen that I wouldn''t have had this install been "seamless"... >>>> >>>> Cheers to that! >>>> >>>> >>>> On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets < >>>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>>> >>>> > root@XenOpen:~# ls -l /dev/xen >>>> ls: cannot access /dev/xen: No such file or directory >>>> root@XenOpen:~# ls /dev >>>> >>>> That''s a core issue , why xend fails to start. During pvops Dom0 load >>>> "udevd" should >>>> create :- >>>> >>>> # ls -l /dev/xen >>>> total 0 >>>> crw------- 1 root root 10, 58 Sep 16 18:41 evtchn >>>> crw------- 1 root root 10, 57 Sep 16 18:41 gntdev >>>> >>>> On any system Ubuntu 10.04.1 Server, F13,F14,etc >>>> Then xend will start after Dom0 gets loaded. >>>> >>>> Boris. >>>> >>>> >>>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> >* wrote: >>>> >>>> >>>> From: Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> > >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >>>> > >>>> Cc: "hurenkam" <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl>>, >>>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>>> Date: Thursday, September 16, 2010, 11:03 AM >>>> >>>> >>>> Thanks for the responses ! >>>> >>>> @Mark >>>> >>>> xenfs is not mounted. Here is the output for the mount command: >>>> ------------- >>>> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >>>> proc on /proc type proc (rw,noexec,nosuid,nodev) >>>> none on /proc/sys/fs/binfmt_misc type binfmt_misc >>>> (rw,noexec,nosuid,nodev) >>>> none on /sys type sysfs (rw,noexec,nosuid,nodev) >>>> none on /sys/kernel/debug type debugfs (rw) >>>> none on /sys/kernel/security type securityfs (rw) >>>> none on /dev type tmpfs (rw,mode=0755) >>>> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) >>>> none on /dev/shm type tmpfs (rw,nosuid,nodev) >>>> none on /var/run type tmpfs (rw,nosuid,mode=0755) >>>> none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) >>>> none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >>>> /dev/sdb1 on /media/08AF-8FE8 type vfat >>>> (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) >>>> >>>> ------------------------------ >>>> >>>> >>>> I did a modprobe on xenfs but I cannot mount it yet. Could you please >>>> give me the correct command line arguments for doing so. Here are my >>>> outputs: >>>> ------------------------ >>>> >>>> root@XenOpen:~# modprobe xenfs >>>> root@XenOpen:~# mount xenfs >>>> mount: can''t find xenfs in /etc/fstab or /etc/mtab >>>> ----------------------------------------------------------- >>>> Thanks a lot for your advice. Really appreciate it! >>>> >>>> >>>> @Borris: >>>> >>>> There is no "xen" directory in /dev....Here is what I have: >>>> >>>> --------------- >>>> >>>> >>>> root@XenOpen:~# ls -l /dev/xen >>>> ls: cannot access /dev/xen: No such file or directory >>>> root@XenOpen:~# ls /dev >>>> adsp null snapshot tty41 vcs1 vcs5 vcsa30 >>>> agpgart nvram snd tty42 vcs10 vcs50 vcsa31 >>>> audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 >>>> block parport0 sr0 tty44 vcs12 vcs52 vcsa33 >>>> bsg port stderr tty45 vcs13 vcs53 vcsa34 >>>> bus ppp stdin tty46 vcs14 vcs54 vcsa35 >>>> cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 >>>> cdrw pts tty tty48 vcs16 vcs56 vcsa37 >>>> char ram tty0 tty49 vcs17 vcs57 vcsa38 >>>> console ram0 tty1 tty5 vcs18 vcs58 vcsa39 >>>> core ram1 tty10 tty50 vcs19 vcs59 vcsa4 >>>> cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 >>>> cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 >>>> disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 >>>> dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 >>>> dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 >>>> dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 >>>> dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 >>>> fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 >>>> fd ram3 tty19 tty59 vcs27 vcsa vcsa48 >>>> full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 >>>> hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 >>>> hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 >>>> hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 >>>> input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 >>>> kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 >>>> kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 >>>> log raw tty26 tty9 vcs34 vcsa15 vcsa55 >>>> loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 >>>> loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 >>>> loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 >>>> loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 >>>> loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 >>>> loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 >>>> loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 >>>> loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 >>>> lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 >>>> mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 >>>> mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 >>>> mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 >>>> mixer sg0 tty38 usbmon7 vcs46 vcsa27 >>>> vga_arbiter >>>> net sg1 tty39 usbmon8 vcs47 vcsa28 zero >>>> network_latency sg2 tty4 vcs vcs48 vcsa29 >>>> network_throughput shm tty40 vcs0 vcs49 vcsa3 >>>> >>>> --------------------- >>>> >>>> Thanks for taking the time guys! >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets < >>>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>>> >>>> One more time. Please, submit :- >>>> # ls -l /dev/xen >>>> >>>> Boris. >>>> >>>> --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>>> >* wrote: >>>> >>>> >>>> From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>>> > >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Priya" <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> > >>>> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, >>>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>>> Date: Thursday, September 16, 2010, 10:17 AM >>>> >>>> >>>> Hi, >>>> >>>> >>>> > And then when I reboot the machine, xend does not start. On issuing >>>> > the command /etc/init.d/xend start, or status, there is no terminal >>>> > output. >>>> > When I type in "xend start" directly, I get the following error >>>> > message: >>>> > sudo xend start >>>> >> >>>> >> the output is: >>>> >> >>>> >> ERROR Internal error: Could not obtain handle on privileged command >>>> > interface >>>> >>>> Do you have xenfs mounted? >>>> see if the following line comes up in the list if you type mount: >>>> >>>> # mount >>>> ... >>>> xenfs on /proc/xen type xenfs (rw) >>>> ... >>>> >>>> If not, then you can try mounting it manually. If xenfs is compiled as >>>> a module, you may have to modprobe it first. If it is not enabled in >>>> your >>>> kernel, then you have to rebuild your dom0 kernel, and enable it. >>>> >>>> On my (Ubuntu Server 10.04.1 based) system, this gets mounted >>>> automatically >>>> by either udev or xend itself (it is not in fstab). >>>> >>>> In my experience on this system, xend fails ususually due to one of the >>>> following reasons: >>>> 1) Failure to mount xenfs (because it is not configured, or the module >>>> is >>>> not loaded). >>>> 2) Inconsistent installation of xentools (in wrong python directory or >>>> mixed with older version). >>>> >>>> >>>> Regards, >>>> Mark. >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> >>>> http://lists.xensource.com/xen-users >>>> >>>> >>>> >>>> >>>> -- >>>> Priya Bhat >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Priya Bhat >>>> >>>> >>>> >>>> -----Inline Attachment Follows----- >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com<http://mc/compose?to=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 >>>> >>> >>> >>> >>> -- >>> Priya Bhat >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> > > > -- > Priya Bhat > > >-- Priya Bhat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
listmail
2010-Sep-16 22:05 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Checkout /etc/default/grub. I am pretty sure Lucid hides the grub menu by default now. Not sure if you can hit a key to make it appear so you may have to use the desktop cd and use a chroot to fix things. On 9/16/2010 4:08 PM, Priya wrote:> Hey guys! > > Thanks for the continued support and advice. It seems like my job is > not done yet.. :( > > I finished the installation using Thiago''s documentation and the > configuration file from Boris. > While building the kernel, I kept the default setting for all the > questions that came up at the prompt. > > When I set up the xend and the xendaemon services using, I still get > the earlier warning: > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not > match LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not > match LSB > Default-Stop values (0 1 2 6) > > And after rebooting the machine, I don''t even get the grub2 choices > for boot. All I get is a Kernel Panic message saying: > > *kernel panic - not syncing : VFS: unable to mount root FS on > unknown-block* > * > * > *Obviously, this is a problem with the grub file that I created, but > shouldn''t I at least get the option to boot up the Ubuntu 10.04 that > was initially working?* > * > * > *Now, can anyone please tell me how to correctly assign "root" to the > correct hard disk partition ("hda.?") while creating your custom grub > file in the /etc/grub2.d/ directory?* > * > * > Now that I don''t get the options from grub about which OS operating > system I want to boot up from, is there a way to change the grub file > to point to the correct hd partition? State of complete collapse at > this time............ > > > > On Thu, Sep 16, 2010 at 3:09 PM, Outback Dingo <outbackdingo@gmail.com > <mailto:outbackdingo@gmail.com>> wrote: > > funny, how so many of us are having trouble with this > documentation, ive got a kernel and all built, but i fear same as > you somethings not right with the grub config > > > On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu > <mailto:pbhat@acis.ufl.edu>> wrote: > > Hey Boris! > > I am using your configuration file to install xen4.0.1 from > scratch. Thanks! Could you please also send me the grub entry > (or the file that you made for the xen boot in the > /etc/grub.d/ directory). I just want to confirm that it is the > same as the original tutorial. > > Also, did you change anything else from the steps given below > (from the original mail by Thiago) while installing your version: > > > ----- > The procedure: > > > 1- Install all the packages: > > aptitude update > aptitude install bridge-utils build-essential libncurses5-dev > dpkg-dev debhelper fakeroot uuid-dev iasl texinfo git-core > apt-get build-dep xen-3.3 > > 2- Download, compile and install Xen and its tools: > > cd /usr/src > wget > http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz > tar xf xen-4.0.1.tar.gz > cd xen-4.0.1 > make xen > make tools > make stubdom > make install-xen > # make install-tools > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > > 3- Download, compile and install Linux from the Jemery''s tree: > > make prep-kernels > wget > http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1 > -O build-linux-2.6-pvops_x86_64/.config > cd build-linux-2.6-pvops_x86_64 > make menuconfig # Change whatever you want, if you now what > you''re doing... > make > chmod g-s /usr/src/ -R > make deb-pkg > dpkg -i > ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb > depmod 2.6.32.18-tcmc-10.08-1-xen > update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen > > 4- Enable Xen at boot: > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 5- Configure the Grub2: > > vim /etc/grub.d/40_custom > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. > Simply type the > # menu entries you want to add after this comment. Be careful > not to change > # the ‘exec tail’ line above. > > menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { > recordfail > insmod ext2 > set root=''(hd0,4)'' > multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy > dom0_mem=832M > module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen > dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro > module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen > } > ---- cut here ---- > > NOTE.: Pay attention to you root partition and also you''ll > need to disable the KMS (maybe the nomodeset option works for > you) of your videoboard. > > update-grub > reboot > > Choose the right Grub2 menu entry... > ---------- > > > Thanks! > > > On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets > <bderzhavets@yahoo.com <mailto:bderzhavets@yahoo.com>> wrote: > > Don''t worry about /proc/xen. Config is attached. > Some where down here you tune wrong :- > > Device Drivers > > [*] Xen memory balloon > driver > │ │ > │ │ [*] Scrub pages before returning > them to stem │ │ > │ │ <*> Xen /dev/xen/evtchn > device > │ │ > │ │ [*] Backend driver > support > │ │ > │ │ <*> Xen backend network > device > │ │ > │ │ <*> Block-device backend > driver │ > │ > │ │ <*> Block-device tap backend > driver │ │ > │ │ <*> PCI-device backend > driver > │ │ > │ │ PCI Backend Mode (Virtual > PCI) ---> │ │ > │ │ [*] PCI Backend > Debugging > │ │ > │ │ <*> Xen > filesystem > │ │ > │ │ [*] Create compatibility mount > point /proc/xen │ │ > │ │ [*] Create xen entries under > /sys/hypervisor │ │ > │ │ <*> userspace grant access device > driver │ │ > │ │ <*> xen platform pci device > driver > │ │ > │ │ [*] Staging drivers > ---> > │ │ > │ │ [*] X86 Platform Specific Device > Drivers ---> │ │ > │ > └──────────────────────────────────────────────────────────────── > > Boris. > > --- On *Thu, 9/16/10, Priya /<pbhat@acis.ufl.edu > <mailto:pbhat@acis.ufl.edu>>/* wrote: > > > From: Priya <pbhat@acis.ufl.edu > <mailto:pbhat@acis.ufl.edu>> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid > 10.04 - Desktop / Server - 64 Bits - With OpenGL > (Intel GEM) enabled - From Linuxcon Brazil! :-D > To: "Boris Derzhavets" <bderzhavets@yahoo.com > <mailto:bderzhavets@yahoo.com>> > Cc: nunziaG84@libero.it <mailto:nunziaG84@libero.it>, > "hurenkam" <hurenkam@xs4all.nl > <mailto:hurenkam@xs4all.nl>>, "Pasi Kärkkäinen" > <pasik@iki.fi <mailto:pasik@iki.fi>>, > xen-users@lists.xensource.com > <mailto:xen-users@lists.xensource.com> > Date: Thursday, September 16, 2010, 11:25 AM > > There is no "/proc/xen" either! > > What do you all recommend? Should I use a different > kernel (if so which one) or a different .config file? > > Can I fix the present set up in some way? > > I find it amusing that I am learning stuff about the > internal setup of Xen that I wouldn''t have had this > install been "seamless"... > > Cheers to that! > > > On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets > <bderzhavets@yahoo.com > <http://mc/compose?to=bderzhavets@yahoo.com>> wrote: > > > root@XenOpen:~# ls -l /dev/xen > ls: cannot access /dev/xen: No such file or directory > root@XenOpen:~# ls /dev > > That''s a core issue , why xend fails to start. > During pvops Dom0 load "udevd" should > create :- > > # ls -l /dev/xen > total 0 > crw------- 1 root root 10, 58 Sep 16 18:41 evtchn > crw------- 1 root root 10, 57 Sep 16 18:41 gntdev > > On any system Ubuntu 10.04.1 Server, F13,F14,etc > Then xend will start after Dom0 gets loaded. > > Boris. > > > --- On *Thu, 9/16/10, Priya /<pbhat@acis.ufl.edu > <http://mc/compose?to=pbhat@acis.ufl.edu>>/* wrote: > > > From: Priya <pbhat@acis.ufl.edu > <http://mc/compose?to=pbhat@acis.ufl.edu>> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 on > Ubuntu Lucid 10.04 - Desktop / Server - 64 > Bits - With OpenGL (Intel GEM) enabled - From > Linuxcon Brazil! :-D > To: "Boris Derzhavets" <bderzhavets@yahoo.com > <http://mc/compose?to=bderzhavets@yahoo.com>> > Cc: "hurenkam" <hurenkam@xs4all.nl > <http://mc/compose?to=hurenkam@xs4all.nl>>, > nunziaG84@libero.it > <http://mc/compose?to=nunziaG84@libero.it>, > xen-users@lists.xensource.com > <http://mc/compose?to=xen-users@lists.xensource.com>, > "Pasi Kärkkäinen" <pasik@iki.fi > <http://mc/compose?to=pasik@iki.fi>> > Date: Thursday, September 16, 2010, 11:03 AM > > > Thanks for the responses ! > > @Mark > > xenfs is not mounted. Here is the output for > the mount command: > ------------- > /dev/sda1 on / type ext4 (rw,errors=remount-ro) > proc on /proc type proc (rw,noexec,nosuid,nodev) > none on /proc/sys/fs/binfmt_misc type > binfmt_misc (rw,noexec,nosuid,nodev) > none on /sys type sysfs (rw,noexec,nosuid,nodev) > none on /sys/kernel/debug type debugfs (rw) > none on /sys/kernel/security type securityfs (rw) > none on /dev type tmpfs (rw,mode=0755) > none on /dev/pts type devpts > (rw,noexec,nosuid,gid=5,mode=0620) > none on /dev/shm type tmpfs (rw,nosuid,nodev) > none on /var/run type tmpfs (rw,nosuid,mode=0755) > none on /var/lock type tmpfs > (rw,noexec,nosuid,nodev) > none on /lib/init/rw type tmpfs > (rw,nosuid,mode=0755) > /dev/sdb1 on /media/08AF-8FE8 type vfat > (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) > > ------------------------------ > > > I did a modprobe on xenfs but I cannot mount > it yet. Could you please give me the correct > command line arguments for doing so. Here are > my outputs: > ------------------------ > > root@XenOpen:~# modprobe xenfs > root@XenOpen:~# mount xenfs > mount: can''t find xenfs in /etc/fstab or /etc/mtab > ----------------------------------------------------------- > Thanks a lot for your advice. Really > appreciate it! > > > @Borris: > > There is no "xen" directory in /dev....Here is > what I have: > > --------------- > > > root@XenOpen:~# ls -l /dev/xen > ls: cannot access /dev/xen: No such file or > directory > root@XenOpen:~# ls /dev > adsp null snapshot > tty41 vcs1 vcs5 vcsa30 > agpgart nvram snd > tty42 vcs10 vcs50 vcsa31 > audio oldmem sndstat > tty43 vcs11 vcs51 vcsa32 > block parport0 sr0 > tty44 vcs12 vcs52 vcsa33 > bsg port stderr > tty45 vcs13 vcs53 vcsa34 > bus ppp stdin > tty46 vcs14 vcs54 vcsa35 > cdrom ptmx stdout > tty47 vcs15 vcs55 vcsa36 > cdrw pts tty > tty48 vcs16 vcs56 vcsa37 > char ram tty0 > tty49 vcs17 vcs57 vcsa38 > console ram0 tty1 > tty5 vcs18 vcs58 vcsa39 > core ram1 tty10 > tty50 vcs19 vcs59 vcsa4 > cpu ram10 tty11 > tty51 vcs2 vcs6 vcsa40 > cpu_dma_latency ram11 tty12 > tty52 vcs20 vcs60 vcsa41 > disk ram12 tty13 > tty53 vcs21 vcs61 vcsa42 > dri ram13 tty14 > tty54 vcs22 vcs62 vcsa43 > dsp ram14 tty15 > tty55 vcs23 vcs63 vcsa44 > dvd ram15 tty16 > tty56 vcs24 vcs7 vcsa45 > dvdrw ram16 tty17 > tty57 vcs25 vcs8 vcsa46 > fb0 ram2 tty18 > tty58 vcs26 vcs9 vcsa47 > fd ram3 tty19 > tty59 vcs27 vcsa vcsa48 > full ram4 tty2 > tty6 vcs28 vcsa0 vcsa49 > hidraw0 ram5 tty20 > tty60 vcs29 vcsa1 vcsa5 > hidraw1 ram6 tty21 > tty61 vcs3 vcsa10 vcsa50 > hpet ram7 tty22 > tty62 vcs30 vcsa11 vcsa51 > input ram8 tty23 > tty63 vcs31 vcsa12 vcsa52 > kmem ram9 tty24 > tty7 vcs32 vcsa13 vcsa53 > kmsg random tty25 > tty8 vcs33 vcsa14 vcsa54 > log raw tty26 > tty9 vcs34 vcsa15 vcsa55 > loop0 root tty27 > ttyS0 vcs35 vcsa16 vcsa56 > loop1 rtc tty28 > ttyS1 vcs36 vcsa17 vcsa57 > loop2 rtc0 tty29 > ttyS2 vcs37 vcsa18 vcsa58 > loop3 scd0 tty3 > ttyS3 vcs38 vcsa19 vcsa59 > loop4 sda tty30 > urandom vcs39 vcsa2 vcsa6 > loop5 sda1 tty31 > usbmon0 vcs4 vcsa20 vcsa60 > loop6 sda2 tty32 > usbmon1 vcs40 vcsa21 vcsa61 > loop7 sda5 tty33 > usbmon2 vcs41 vcsa22 vcsa62 > lp0 sdb tty34 > usbmon3 vcs42 vcsa23 vcsa63 > mapper sdb1 tty35 > usbmon4 vcs43 vcsa24 vcsa7 > mcelog sequencer tty36 > usbmon5 vcs44 vcsa25 vcsa8 > mem sequencer2 tty37 > usbmon6 vcs45 vcsa26 vcsa9 > mixer sg0 tty38 > usbmon7 vcs46 vcsa27 vga_arbiter > net sg1 tty39 > usbmon8 vcs47 vcsa28 zero > network_latency sg2 tty4 > vcs vcs48 vcsa29 > network_throughput shm tty40 > vcs0 vcs49 vcsa3 > > --------------------- > > Thanks for taking the time guys! > > > > > > On Thu, Sep 16, 2010 at 10:25 AM, Boris > Derzhavets <bderzhavets@yahoo.com > <http://mc/compose?to=bderzhavets@yahoo.com>> > wrote: > > One more time. Please, submit :- > # ls -l /dev/xen > > Boris. > > --- On *Thu, 9/16/10, hurenkam > /<hurenkam@xs4all.nl > <http://mc/compose?to=hurenkam@xs4all.nl>>/* > wrote: > > > From: hurenkam <hurenkam@xs4all.nl > <http://mc/compose?to=hurenkam@xs4all.nl>> > > Subject: Re: [Xen-users] Re: Xen 4.0.1 > on Ubuntu Lucid 10.04 - Desktop / > Server - 64 Bits - With OpenGL (Intel > GEM) enabled - From Linuxcon Brazil! :-D > To: "Priya" <pbhat@acis.ufl.edu > <http://mc/compose?to=pbhat@acis.ufl.edu>> > Cc: "Boris Derzhavets" > <bderzhavets@yahoo.com > <http://mc/compose?to=bderzhavets@yahoo.com>>, > nunziaG84@libero.it > <http://mc/compose?to=nunziaG84@libero.it>, > xen-users@lists.xensource.com > <http://mc/compose?to=xen-users@lists.xensource.com>, > "Pasi Kärkkäinen" <pasik@iki.fi > <http://mc/compose?to=pasik@iki.fi>> > Date: Thursday, September 16, 2010, > 10:17 AM > > > Hi, > > > > And then when I reboot the machine, > xend does not start. On issuing > > the command /etc/init.d/xend start, > or status, there is no terminal > > output. > > When I type in "xend start" > directly, I get the following error > > message: > > sudo xend start > >> > >> the output is: > >> > >> ERROR Internal error: Could not > obtain handle on privileged command > > interface > > Do you have xenfs mounted? > see if the following line comes up in > the list if you type mount: > > # mount > ... > xenfs on /proc/xen type xenfs (rw) > ... > > If not, then you can try mounting it > manually. If xenfs is compiled as > a module, you may have to modprobe it > first. If it is not enabled in > your > kernel, then you have to rebuild your > dom0 kernel, and enable it. > > On my (Ubuntu Server 10.04.1 based) > system, this gets mounted > automatically > by either udev or xend itself (it is > not in fstab). > > In my experience on this system, xend > fails ususually due to one of the > following reasons: > 1) Failure to mount xenfs (because it > is not configured, or the module > is > not loaded). > 2) Inconsistent installation of > xentools (in wrong python directory or > mixed with older version). > > > Regards, > Mark. > > > > _______________________________________________ > > > Xen-users mailing list > Xen-users@lists.xensource.com > <http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > Priya Bhat > > > > > > > -- > Priya Bhat > > > > -----Inline Attachment Follows----- > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > <http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > Priya Bhat > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > -- > Priya Bhat > > > > _______________________________________________ > 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
Bruce Edge
2010-Sep-16 22:16 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
On Thu, Sep 16, 2010 at 1:08 PM, Priya <pbhat@acis.ufl.edu> wrote:> Hey guys! > > Thanks for the continued support and advice. It seems like my job is not > done yet.. :( > > I finished the installation using Thiago''s documentation and the > configuration file from Boris. > While building the kernel, I kept the default setting for all the questions > that came up at the prompt. > > When I set up the xend and the xendaemon services using, I still get the > earlier warning: > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > >These are benign.> And after rebooting the machine, I don''t even get the grub2 choices for > boot. All I get is a Kernel Panic message saying: > > *kernel panic - not syncing : VFS: unable to mount root FS on > unknown-block* >Things to check. domU: - Loading appropriate mass storage driver in initrd. - xvda/sda naming problems - missing initrd - problems with etc/modules.confm eg missing modules. Does it eventually drop you to an (initramfs) prompt ? If so, what does ls /dev show? Any sda/xvda entries? How are you specifying the disk param in the domU .cfg file? disk = [ ''phy:system/dpm_%s,xvda:sda1,w'' ] vs: disk = [ ''phy:system/dpm_0,xvda,w'' ] dom0: Does the dom0 kernel have: CONFIG_XEN_BLKDEV_BACKEND=y Or, if it''s CONFIG_XEN_BLKDEV_BACKEND=m try load that module before starting the domU. -Bruce *Obviously, this is a problem with the grub file that I created, but> shouldn''t I at least get the option to boot up the Ubuntu 10.04 that was > initially working?* > * > * > *Now, can anyone please tell me how to correctly assign "root" to the > correct hard disk partition ("hda.?") while creating your custom grub file > in the /etc/grub2.d/ directory?* > * > * > Now that I don''t get the options from grub about which OS operating system > I want to boot up from, is there a way to change the grub file to point to > the correct hd partition? State of complete collapse at this > time............ > > > > On Thu, Sep 16, 2010 at 3:09 PM, Outback Dingo <outbackdingo@gmail.com>wrote: > >> funny, how so many of us are having trouble with this documentation, ive >> got a kernel and all built, but i fear same as you somethings not right with >> the grub config >> >> >> On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu> wrote: >> >>> Hey Boris! >>> >>> I am using your configuration file to install xen4.0.1 from scratch. >>> Thanks! Could you please also send me the grub entry (or the file that you >>> made for the xen boot in the /etc/grub.d/ directory). I just want to confirm >>> that it is the same as the original tutorial. >>> >>> Also, did you change anything else from the steps given below (from the >>> original mail by Thiago) while installing your version: >>> >>> >>> ----- >>> The procedure: >>> >>> >>> 1- Install all the packages: >>> >>> aptitude update >>> aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev >>> debhelper fakeroot uuid-dev iasl texinfo git-core >>> apt-get build-dep xen-3.3 >>> >>> 2- Download, compile and install Xen and its tools: >>> >>> cd /usr/src >>> wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz >>> tar xf xen-4.0.1.tar.gz >>> cd xen-4.0.1 >>> make xen >>> make tools >>> make stubdom >>> make install-xen >>> # make install-tools >>> make install-tools PYTHON_PREFIX_ARG>>> make install-stubdom >>> >>> >>> 3- Download, compile and install Linux from the Jemery''s tree: >>> >>> make prep-kernels >>> wget >>> http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config >>> cd build-linux-2.6-pvops_x86_64 >>> make menuconfig # Change whatever you want, if you now what you''re >>> doing... >>> make >>> chmod g-s /usr/src/ -R >>> make deb-pkg >>> dpkg -i >>> ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb >>> depmod 2.6.32.18-tcmc-10.08-1-xen >>> update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen >>> >>> 4- Enable Xen at boot: >>> >>> update-rc.d xend defaults 20 21 >>> update-rc.d xendomains defaults 21 20 >>> >>> 5- Configure the Grub2: >>> >>> vim /etc/grub.d/40_custom >>> >>> ---- cut here ---- >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ‘exec tail’ line above. >>> >>> menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { >>> recordfail >>> insmod ext2 >>> set root=''(hd0,4)'' >>> multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M >>> module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen >>> dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro >>> module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen >>> } >>> ---- cut here ---- >>> >>> NOTE.: Pay attention to you root partition and also you''ll need to >>> disable the KMS (maybe the nomodeset option works for you) of your >>> videoboard. >>> >>> update-grub >>> reboot >>> >>> Choose the right Grub2 menu entry... >>> ---------- >>> >>> >>> Thanks! >>> >>> >>> On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets < >>> bderzhavets@yahoo.com> wrote: >>> >>>> Don''t worry about /proc/xen. Config is attached. >>>> Some where down here you tune wrong :- >>>> >>>> Device Drivers >>>> >>>> [*] Xen memory balloon >>>> driver │ │ >>>> │ │ [*] Scrub pages before returning them to >>>> stem │ │ >>>> │ │ <*> Xen /dev/xen/evtchn >>>> device │ │ >>>> │ │ [*] Backend driver >>>> support │ │ >>>> │ │ <*> Xen backend network >>>> device │ │ >>>> │ │ <*> Block-device backend >>>> driver │ │ >>>> │ │ <*> Block-device tap backend >>>> driver │ │ >>>> │ │ <*> PCI-device backend >>>> driver │ │ >>>> │ │ PCI Backend Mode (Virtual PCI) >>>> ---> │ │ >>>> │ │ [*] PCI Backend >>>> Debugging │ │ >>>> │ │ <*> Xen >>>> filesystem >>>> │ │ >>>> │ │ [*] Create compatibility mount point >>>> /proc/xen │ │ >>>> │ │ [*] Create xen entries under >>>> /sys/hypervisor │ │ >>>> │ │ <*> userspace grant access device >>>> driver │ │ >>>> │ │ <*> xen platform pci device >>>> driver │ │ >>>> │ │ [*] Staging drivers >>>> ---> │ │ >>>> │ │ [*] X86 Platform Specific Device Drivers >>>> ---> │ │ >>>> │ └──────────────────────────────────────────────────────────────── >>>> >>>> Boris. >>>> >>>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: >>>> >>>> >>>> From: Priya <pbhat@acis.ufl.edu> >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>>> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi >>>> Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com >>>> Date: Thursday, September 16, 2010, 11:25 AM >>>> >>>> There is no "/proc/xen" either! >>>> >>>> What do you all recommend? Should I use a different kernel (if so which >>>> one) or a different .config file? >>>> >>>> Can I fix the present set up in some way? >>>> >>>> I find it amusing that I am learning stuff about the internal setup of >>>> Xen that I wouldn''t have had this install been "seamless"... >>>> >>>> Cheers to that! >>>> >>>> >>>> On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets < >>>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>>> >>>> > root@XenOpen:~# ls -l /dev/xen >>>> ls: cannot access /dev/xen: No such file or directory >>>> root@XenOpen:~# ls /dev >>>> >>>> That''s a core issue , why xend fails to start. During pvops Dom0 load >>>> "udevd" should >>>> create :- >>>> >>>> # ls -l /dev/xen >>>> total 0 >>>> crw------- 1 root root 10, 58 Sep 16 18:41 evtchn >>>> crw------- 1 root root 10, 57 Sep 16 18:41 gntdev >>>> >>>> On any system Ubuntu 10.04.1 Server, F13,F14,etc >>>> Then xend will start after Dom0 gets loaded. >>>> >>>> Boris. >>>> >>>> >>>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> >* wrote: >>>> >>>> >>>> From: Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> > >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >>>> > >>>> Cc: "hurenkam" <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl>>, >>>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>>> Date: Thursday, September 16, 2010, 11:03 AM >>>> >>>> >>>> Thanks for the responses ! >>>> >>>> @Mark >>>> >>>> xenfs is not mounted. Here is the output for the mount command: >>>> ------------- >>>> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >>>> proc on /proc type proc (rw,noexec,nosuid,nodev) >>>> none on /proc/sys/fs/binfmt_misc type binfmt_misc >>>> (rw,noexec,nosuid,nodev) >>>> none on /sys type sysfs (rw,noexec,nosuid,nodev) >>>> none on /sys/kernel/debug type debugfs (rw) >>>> none on /sys/kernel/security type securityfs (rw) >>>> none on /dev type tmpfs (rw,mode=0755) >>>> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) >>>> none on /dev/shm type tmpfs (rw,nosuid,nodev) >>>> none on /var/run type tmpfs (rw,nosuid,mode=0755) >>>> none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) >>>> none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >>>> /dev/sdb1 on /media/08AF-8FE8 type vfat >>>> (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) >>>> >>>> ------------------------------ >>>> >>>> >>>> I did a modprobe on xenfs but I cannot mount it yet. Could you please >>>> give me the correct command line arguments for doing so. Here are my >>>> outputs: >>>> ------------------------ >>>> >>>> root@XenOpen:~# modprobe xenfs >>>> root@XenOpen:~# mount xenfs >>>> mount: can''t find xenfs in /etc/fstab or /etc/mtab >>>> ----------------------------------------------------------- >>>> Thanks a lot for your advice. Really appreciate it! >>>> >>>> >>>> @Borris: >>>> >>>> There is no "xen" directory in /dev....Here is what I have: >>>> >>>> --------------- >>>> >>>> >>>> root@XenOpen:~# ls -l /dev/xen >>>> ls: cannot access /dev/xen: No such file or directory >>>> root@XenOpen:~# ls /dev >>>> adsp null snapshot tty41 vcs1 vcs5 vcsa30 >>>> agpgart nvram snd tty42 vcs10 vcs50 vcsa31 >>>> audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 >>>> block parport0 sr0 tty44 vcs12 vcs52 vcsa33 >>>> bsg port stderr tty45 vcs13 vcs53 vcsa34 >>>> bus ppp stdin tty46 vcs14 vcs54 vcsa35 >>>> cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 >>>> cdrw pts tty tty48 vcs16 vcs56 vcsa37 >>>> char ram tty0 tty49 vcs17 vcs57 vcsa38 >>>> console ram0 tty1 tty5 vcs18 vcs58 vcsa39 >>>> core ram1 tty10 tty50 vcs19 vcs59 vcsa4 >>>> cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 >>>> cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 >>>> disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 >>>> dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 >>>> dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 >>>> dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 >>>> dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 >>>> fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 >>>> fd ram3 tty19 tty59 vcs27 vcsa vcsa48 >>>> full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 >>>> hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 >>>> hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 >>>> hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 >>>> input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 >>>> kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 >>>> kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 >>>> log raw tty26 tty9 vcs34 vcsa15 vcsa55 >>>> loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 >>>> loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 >>>> loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 >>>> loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 >>>> loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 >>>> loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 >>>> loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 >>>> loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 >>>> lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 >>>> mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 >>>> mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 >>>> mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 >>>> mixer sg0 tty38 usbmon7 vcs46 vcsa27 >>>> vga_arbiter >>>> net sg1 tty39 usbmon8 vcs47 vcsa28 zero >>>> network_latency sg2 tty4 vcs vcs48 vcsa29 >>>> network_throughput shm tty40 vcs0 vcs49 vcsa3 >>>> >>>> --------------------- >>>> >>>> Thanks for taking the time guys! >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets < >>>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>>> >>>> One more time. Please, submit :- >>>> # ls -l /dev/xen >>>> >>>> Boris. >>>> >>>> --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>>> >* wrote: >>>> >>>> >>>> From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>>> > >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Priya" <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> > >>>> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, >>>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>>> Date: Thursday, September 16, 2010, 10:17 AM >>>> >>>> >>>> Hi, >>>> >>>> >>>> > And then when I reboot the machine, xend does not start. On issuing >>>> > the command /etc/init.d/xend start, or status, there is no terminal >>>> > output. >>>> > When I type in "xend start" directly, I get the following error >>>> > message: >>>> > sudo xend start >>>> >> >>>> >> the output is: >>>> >> >>>> >> ERROR Internal error: Could not obtain handle on privileged command >>>> > interface >>>> >>>> Do you have xenfs mounted? >>>> see if the following line comes up in the list if you type mount: >>>> >>>> # mount >>>> ... >>>> xenfs on /proc/xen type xenfs (rw) >>>> ... >>>> >>>> If not, then you can try mounting it manually. If xenfs is compiled as >>>> a module, you may have to modprobe it first. If it is not enabled in >>>> your >>>> kernel, then you have to rebuild your dom0 kernel, and enable it. >>>> >>>> On my (Ubuntu Server 10.04.1 based) system, this gets mounted >>>> automatically >>>> by either udev or xend itself (it is not in fstab). >>>> >>>> In my experience on this system, xend fails ususually due to one of the >>>> following reasons: >>>> 1) Failure to mount xenfs (because it is not configured, or the module >>>> is >>>> not loaded). >>>> 2) Inconsistent installation of xentools (in wrong python directory or >>>> mixed with older version). >>>> >>>> >>>> Regards, >>>> Mark. >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> >>>> http://lists.xensource.com/xen-users >>>> >>>> >>>> >>>> >>>> -- >>>> Priya Bhat >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Priya Bhat >>>> >>>> >>>> >>>> -----Inline Attachment Follows----- >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com<http://mc/compose?to=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 >>>> >>> >>> >>> >>> -- >>> Priya Bhat >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> > > > -- > Priya Bhat > > > > _______________________________________________ > 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
Bruce Edge
2010-Sep-16 22:18 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
On Thu, Sep 16, 2010 at 3:05 PM, listmail <listmail@triad.rr.com> wrote:> Checkout /etc/default/grub. I am pretty sure Lucid hides the grub menu > by default now. Not sure if you can hit a key to make it appear so you may > have to use the desktop cd and use a chroot to fix things. >You could also use partprobe on dom0 to make embedded lvm partitions visible if that''s what you''re using. Just don''t try run update-grub while chrooted. Better to hack /boot/grub/grub.cfg directly then re-run update-grub after you get it booted. -Bruce> > > On 9/16/2010 4:08 PM, Priya wrote: > > Hey guys! > > Thanks for the continued support and advice. It seems like my job is not > done yet.. :( > > I finished the installation using Thiago''s documentation and the > configuration file from Boris. > While building the kernel, I kept the default setting for all the questions > that came up at the prompt. > > When I set up the xend and the xendaemon services using, I still get the > earlier warning: > update-rc.d xend defaults 20 21 > > the output was: > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB > Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > > And after rebooting the machine, I don''t even get the grub2 choices for > boot. All I get is a Kernel Panic message saying: > > *kernel panic - not syncing : VFS: unable to mount root FS on > unknown-block* > * > * > *Obviously, this is a problem with the grub file that I created, but > shouldn''t I at least get the option to boot up the Ubuntu 10.04 that was > initially working?* > * > * > *Now, can anyone please tell me how to correctly assign "root" to the > correct hard disk partition ("hda.?") while creating your custom grub file > in the /etc/grub2.d/ directory?* > * > * > Now that I don''t get the options from grub about which OS operating system > I want to boot up from, is there a way to change the grub file to point to > the correct hd partition? State of complete collapse at this > time............ > > > > On Thu, Sep 16, 2010 at 3:09 PM, Outback Dingo <outbackdingo@gmail.com>wrote: > >> funny, how so many of us are having trouble with this documentation, ive >> got a kernel and all built, but i fear same as you somethings not right with >> the grub config >> >> >> On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu> wrote: >> >>> Hey Boris! >>> >>> I am using your configuration file to install xen4.0.1 from scratch. >>> Thanks! Could you please also send me the grub entry (or the file that you >>> made for the xen boot in the /etc/grub.d/ directory). I just want to confirm >>> that it is the same as the original tutorial. >>> >>> Also, did you change anything else from the steps given below (from the >>> original mail by Thiago) while installing your version: >>> >>> >>> ----- >>> The procedure: >>> >>> >>> 1- Install all the packages: >>> >>> aptitude update >>> aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev >>> debhelper fakeroot uuid-dev iasl texinfo git-core >>> apt-get build-dep xen-3.3 >>> >>> 2- Download, compile and install Xen and its tools: >>> >>> cd /usr/src >>> wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz >>> tar xf xen-4.0.1.tar.gz >>> cd xen-4.0.1 >>> make xen >>> make tools >>> make stubdom >>> make install-xen >>> # make install-tools >>> make install-tools PYTHON_PREFIX_ARG>>> make install-stubdom >>> >>> >>> 3- Download, compile and install Linux from the Jemery''s tree: >>> >>> make prep-kernels >>> wget >>> http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1-O build-linux-2.6-pvops_x86_64/.config >>> cd build-linux-2.6-pvops_x86_64 >>> make menuconfig # Change whatever you want, if you now what you''re >>> doing... >>> make >>> chmod g-s /usr/src/ -R >>> make deb-pkg >>> dpkg -i >>> ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb >>> depmod 2.6.32.18-tcmc-10.08-1-xen >>> update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen >>> >>> 4- Enable Xen at boot: >>> >>> update-rc.d xend defaults 20 21 >>> update-rc.d xendomains defaults 21 20 >>> >>> 5- Configure the Grub2: >>> >>> vim /etc/grub.d/40_custom >>> >>> ---- cut here ---- >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ‘exec tail’ line above. >>> >>> menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { >>> recordfail >>> insmod ext2 >>> set root=''(hd0,4)'' >>> multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M >>> module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen >>> dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro >>> module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen >>> } >>> ---- cut here ---- >>> >>> NOTE.: Pay attention to you root partition and also you''ll need to >>> disable the KMS (maybe the nomodeset option works for you) of your >>> videoboard. >>> >>> update-grub >>> reboot >>> >>> Choose the right Grub2 menu entry... >>> ---------- >>> >>> >>> Thanks! >>> >>> >>> On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets < >>> bderzhavets@yahoo.com> wrote: >>> >>>> Don''t worry about /proc/xen. Config is attached. >>>> Some where down here you tune wrong :- >>>> >>>> Device Drivers >>>> >>>> [*] Xen memory balloon >>>> driver │ │ >>>> │ │ [*] Scrub pages before returning them to >>>> stem │ │ >>>> │ │ <*> Xen /dev/xen/evtchn >>>> device │ │ >>>> │ │ [*] Backend driver >>>> support │ │ >>>> │ │ <*> Xen backend network >>>> device │ │ >>>> │ │ <*> Block-device backend >>>> driver │ │ >>>> │ │ <*> Block-device tap backend >>>> driver │ │ >>>> │ │ <*> PCI-device backend >>>> driver │ │ >>>> │ │ PCI Backend Mode (Virtual PCI) >>>> ---> │ │ >>>> │ │ [*] PCI Backend >>>> Debugging │ │ >>>> │ │ <*> Xen >>>> filesystem >>>> │ │ >>>> │ │ [*] Create compatibility mount point >>>> /proc/xen │ │ >>>> │ │ [*] Create xen entries under >>>> /sys/hypervisor │ │ >>>> │ │ <*> userspace grant access device >>>> driver │ │ >>>> │ │ <*> xen platform pci device >>>> driver │ │ >>>> │ │ [*] Staging drivers >>>> ---> │ │ >>>> │ │ [*] X86 Platform Specific Device Drivers >>>> ---> │ │ >>>> │ └──────────────────────────────────────────────────────────────── >>>> >>>> Boris. >>>> >>>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu>* wrote: >>>> >>>> >>>> From: Priya <pbhat@acis.ufl.edu> >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>>> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi >>>> Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com >>>> Date: Thursday, September 16, 2010, 11:25 AM >>>> >>>> There is no "/proc/xen" either! >>>> >>>> What do you all recommend? Should I use a different kernel (if so which >>>> one) or a different .config file? >>>> >>>> Can I fix the present set up in some way? >>>> >>>> I find it amusing that I am learning stuff about the internal setup of >>>> Xen that I wouldn''t have had this install been "seamless"... >>>> >>>> Cheers to that! >>>> >>>> >>>> On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets < >>>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>>> >>>> > root@XenOpen:~# ls -l /dev/xen >>>> ls: cannot access /dev/xen: No such file or directory >>>> root@XenOpen:~# ls /dev >>>> >>>> That''s a core issue , why xend fails to start. During pvops Dom0 load >>>> "udevd" should >>>> create :- >>>> >>>> # ls -l /dev/xen >>>> total 0 >>>> crw------- 1 root root 10, 58 Sep 16 18:41 evtchn >>>> crw------- 1 root root 10, 57 Sep 16 18:41 gntdev >>>> >>>> On any system Ubuntu 10.04.1 Server, F13,F14,etc >>>> Then xend will start after Dom0 gets loaded. >>>> >>>> Boris. >>>> >>>> >>>> --- On *Thu, 9/16/10, Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> >* wrote: >>>> >>>> >>>> From: Priya <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu>> >>>> >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >>>> > >>>> Cc: "hurenkam" <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl>>, >>>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>>> Date: Thursday, September 16, 2010, 11:03 AM >>>> >>>> >>>> Thanks for the responses ! >>>> >>>> @Mark >>>> >>>> xenfs is not mounted. Here is the output for the mount command: >>>> ------------- >>>> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >>>> proc on /proc type proc (rw,noexec,nosuid,nodev) >>>> none on /proc/sys/fs/binfmt_misc type binfmt_misc >>>> (rw,noexec,nosuid,nodev) >>>> none on /sys type sysfs (rw,noexec,nosuid,nodev) >>>> none on /sys/kernel/debug type debugfs (rw) >>>> none on /sys/kernel/security type securityfs (rw) >>>> none on /dev type tmpfs (rw,mode=0755) >>>> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) >>>> none on /dev/shm type tmpfs (rw,nosuid,nodev) >>>> none on /var/run type tmpfs (rw,nosuid,mode=0755) >>>> none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) >>>> none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >>>> /dev/sdb1 on /media/08AF-8FE8 type vfat >>>> (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) >>>> >>>> ------------------------------ >>>> >>>> >>>> I did a modprobe on xenfs but I cannot mount it yet. Could you please >>>> give me the correct command line arguments for doing so. Here are my >>>> outputs: >>>> ------------------------ >>>> >>>> root@XenOpen:~# modprobe xenfs >>>> root@XenOpen:~# mount xenfs >>>> mount: can''t find xenfs in /etc/fstab or /etc/mtab >>>> ----------------------------------------------------------- >>>> Thanks a lot for your advice. Really appreciate it! >>>> >>>> >>>> @Borris: >>>> >>>> There is no "xen" directory in /dev....Here is what I have: >>>> >>>> --------------- >>>> >>>> >>>> root@XenOpen:~# ls -l /dev/xen >>>> ls: cannot access /dev/xen: No such file or directory >>>> root@XenOpen:~# ls /dev >>>> adsp null snapshot tty41 vcs1 vcs5 vcsa30 >>>> agpgart nvram snd tty42 vcs10 vcs50 vcsa31 >>>> audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 >>>> block parport0 sr0 tty44 vcs12 vcs52 vcsa33 >>>> bsg port stderr tty45 vcs13 vcs53 vcsa34 >>>> bus ppp stdin tty46 vcs14 vcs54 vcsa35 >>>> cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 >>>> cdrw pts tty tty48 vcs16 vcs56 vcsa37 >>>> char ram tty0 tty49 vcs17 vcs57 vcsa38 >>>> console ram0 tty1 tty5 vcs18 vcs58 vcsa39 >>>> core ram1 tty10 tty50 vcs19 vcs59 vcsa4 >>>> cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 >>>> cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 >>>> disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 >>>> dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 >>>> dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 >>>> dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 >>>> dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 >>>> fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 >>>> fd ram3 tty19 tty59 vcs27 vcsa vcsa48 >>>> full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 >>>> hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 >>>> hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 >>>> hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 >>>> input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 >>>> kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 >>>> kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 >>>> log raw tty26 tty9 vcs34 vcsa15 vcsa55 >>>> loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 >>>> loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 >>>> loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 >>>> loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 >>>> loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 >>>> loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 >>>> loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 >>>> loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 >>>> lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 >>>> mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 >>>> mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 >>>> mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 >>>> mixer sg0 tty38 usbmon7 vcs46 vcsa27 >>>> vga_arbiter >>>> net sg1 tty39 usbmon8 vcs47 vcsa28 zero >>>> network_latency sg2 tty4 vcs vcs48 vcsa29 >>>> network_throughput shm tty40 vcs0 vcs49 vcsa3 >>>> >>>> --------------------- >>>> >>>> Thanks for taking the time guys! >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets < >>>> bderzhavets@yahoo.com <http://mc/compose?to=bderzhavets@yahoo.com>>wrote: >>>> >>>> One more time. Please, submit :- >>>> # ls -l /dev/xen >>>> >>>> Boris. >>>> >>>> --- On *Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>>> >* wrote: >>>> >>>> >>>> From: hurenkam <hurenkam@xs4all.nl<http://mc/compose?to=hurenkam@xs4all.nl> >>>> > >>>> >>>> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / >>>> Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! >>>> :-D >>>> To: "Priya" <pbhat@acis.ufl.edu<http://mc/compose?to=pbhat@acis.ufl.edu> >>>> > >>>> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>>, >>>> nunziaG84@libero.it <http://mc/compose?to=nunziaG84@libero.it>, >>>> xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, >>>> "Pasi Kärkkäinen" <pasik@iki.fi <http://mc/compose?to=pasik@iki.fi>> >>>> Date: Thursday, September 16, 2010, 10:17 AM >>>> >>>> >>>> Hi, >>>> >>>> >>>> > And then when I reboot the machine, xend does not start. On issuing >>>> > the command /etc/init.d/xend start, or status, there is no terminal >>>> > output. >>>> > When I type in "xend start" directly, I get the following error >>>> > message: >>>> > sudo xend start >>>> >> >>>> >> the output is: >>>> >> >>>> >> ERROR Internal error: Could not obtain handle on privileged command >>>> > interface >>>> >>>> Do you have xenfs mounted? >>>> see if the following line comes up in the list if you type mount: >>>> >>>> # mount >>>> ... >>>> xenfs on /proc/xen type xenfs (rw) >>>> ... >>>> >>>> If not, then you can try mounting it manually. If xenfs is compiled as >>>> a module, you may have to modprobe it first. If it is not enabled in >>>> your >>>> kernel, then you have to rebuild your dom0 kernel, and enable it. >>>> >>>> On my (Ubuntu Server 10.04.1 based) system, this gets mounted >>>> automatically >>>> by either udev or xend itself (it is not in fstab). >>>> >>>> In my experience on this system, xend fails ususually due to one of the >>>> following reasons: >>>> 1) Failure to mount xenfs (because it is not configured, or the module >>>> is >>>> not loaded). >>>> 2) Inconsistent installation of xentools (in wrong python directory or >>>> mixed with older version). >>>> >>>> >>>> Regards, >>>> Mark. >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> >>>> http://lists.xensource.com/xen-users >>>> >>>> >>>> >>>> >>>> -- >>>> Priya Bhat >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Priya Bhat >>>> >>>> >>>> >>>> -----Inline Attachment Follows----- >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com<http://mc/compose?to=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 >>>> >>> >>> >>> >>> -- >>> Priya Bhat >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> > > > -- > Priya Bhat > > > > _______________________________________________ > Xen-users mailing listXen-users@lists.xensource.comhttp://lists.xensource.com/xen-users > > > > _______________________________________________ > 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
listmail
2010-Sep-16 23:26 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Yes, the direct edit should work and is a much easier approach. To add to my previous suggestion perhaps, for use in other circumstances; you can run update-grub from a chroot if you prepare /dev and /proc ahead of time. Assuming dom0 root was mounted on /mnt/a, doing a mount --bind /dev /mnt/a/dev && mount -t proc none /mnt/a/proc ahead of creating the chroot would suffice. On occasion I''ve also used kpartx and makedev to be able to install grub from a chroot on domU''s using file based images. On 9/16/2010 6:18 PM, Bruce Edge wrote:> On Thu, Sep 16, 2010 at 3:05 PM, listmail <listmail@triad.rr.com > <mailto:listmail@triad.rr.com>> wrote: > > Checkout /etc/default/grub. I am pretty sure Lucid hides the > grub menu by default now. Not sure if you can hit a key to make > it appear so you may have to use the desktop cd and use a chroot > to fix things. > > > You could also use partprobe on dom0 to make embedded lvm partitions > visible if that''s what you''re using. > > Just don''t try run update-grub while chrooted. Better to hack > /boot/grub/grub.cfg directly then re-run update-grub after you get it > booted. > > -Bruce > > > > On 9/16/2010 4:08 PM, Priya wrote: >> Hey guys! >> >> Thanks for the continued support and advice. It seems like my job >> is not done yet.. :( >> >> I finished the installation using Thiago''s documentation and the >> configuration file from Boris. >> While building the kernel, I kept the default setting for all the >> questions that came up at the prompt. >> >> When I set up the xend and the xendaemon services using, I still >> get the earlier warning: >> update-rc.d xend defaults 20 21 >> >> the output was: >> update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do >> not match LSB >> Default-Start values (3 4 5) >> update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not >> match LSB >> Default-Stop values (0 1 2 6) >> >> And after rebooting the machine, I don''t even get the grub2 >> choices for boot. All I get is a Kernel Panic message saying: >> >> *kernel panic - not syncing : VFS: unable to mount root FS on >> unknown-block* >> * >> * >> *Obviously, this is a problem with the grub file that I created, >> but shouldn''t I at least get the option to boot up the Ubuntu >> 10.04 that was initially working?* >> * >> * >> *Now, can anyone please tell me how to correctly assign "root" to >> the correct hard disk partition ("hda.?") while creating your >> custom grub file in the /etc/grub2.d/ directory?* >> * >> * >> Now that I don''t get the options from grub about which OS >> operating system I want to boot up from, is there a way to change >> the grub file to point to the correct hd partition? State of >> complete collapse at this time............ >> >> >> >> On Thu, Sep 16, 2010 at 3:09 PM, Outback Dingo >> <outbackdingo@gmail.com <mailto:outbackdingo@gmail.com>> wrote: >> >> funny, how so many of us are having trouble with this >> documentation, ive got a kernel and all built, but i fear >> same as you somethings not right with the grub config >> >> >> On Thu, Sep 16, 2010 at 2:20 PM, Priya <pbhat@acis.ufl.edu >> <mailto:pbhat@acis.ufl.edu>> wrote: >> >> Hey Boris! >> >> I am using your configuration file to install xen4.0.1 >> from scratch. Thanks! Could you please also send me the >> grub entry (or the file that you made for the xen boot in >> the /etc/grub.d/ directory). I just want to confirm that >> it is the same as the original tutorial. >> >> Also, did you change anything else from the steps given >> below (from the original mail by Thiago) while installing >> your version: >> >> >> ----- >> The procedure: >> >> >> 1- Install all the packages: >> >> aptitude update >> aptitude install bridge-utils build-essential >> libncurses5-dev dpkg-dev debhelper fakeroot uuid-dev iasl >> texinfo git-core >> apt-get build-dep xen-3.3 >> >> 2- Download, compile and install Xen and its tools: >> >> cd /usr/src >> wget >> http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz >> tar xf xen-4.0.1.tar.gz >> cd xen-4.0.1 >> make xen >> make tools >> make stubdom >> make install-xen >> # make install-tools >> make install-tools PYTHON_PREFIX_ARG>> make install-stubdom >> >> >> 3- Download, compile and install Linux from the Jemery''s >> tree: >> >> make prep-kernels >> wget >> http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1 >> -O build-linux-2.6-pvops_x86_64/.config >> cd build-linux-2.6-pvops_x86_64 >> make menuconfig # Change whatever you want, if you now >> what you''re doing... >> make >> chmod g-s /usr/src/ -R >> make deb-pkg >> dpkg -i >> ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb >> depmod 2.6.32.18-tcmc-10.08-1-xen >> update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen >> >> 4- Enable Xen at boot: >> >> update-rc.d xend defaults 20 21 >> update-rc.d xendomains defaults 21 20 >> >> 5- Configure the Grub2: >> >> vim /etc/grub.d/40_custom >> >> ---- cut here ---- >> #!/bin/sh >> exec tail -n +3 $0 >> # This file provides an easy way to add custom menu >> entries. Simply type the >> # menu entries you want to add after this comment. Be >> careful not to change >> # the ‘exec tail’ line above. >> >> menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { >> recordfail >> insmod ext2 >> set root=''(hd0,4)'' >> multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy >> dom0_mem=832M >> module >> (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen >> dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro >> module >> (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen >> } >> ---- cut here ---- >> >> NOTE.: Pay attention to you root partition and also >> you''ll need to disable the KMS (maybe the nomodeset >> option works for you) of your videoboard. >> >> update-grub >> reboot >> >> Choose the right Grub2 menu entry... >> ---------- >> >> >> Thanks! >> >> >> On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets >> <bderzhavets@yahoo.com <mailto:bderzhavets@yahoo.com>> wrote: >> >> Don''t worry about /proc/xen. Config is attached. >> Some where down here you tune wrong :- >> >> Device Drivers >> >> [*] Xen memory balloon >> driver >> │ │ >> │ │ [*] Scrub pages before >> returning them to >> stem │ │ >> │ │ <*> Xen /dev/xen/evtchn >> device >> │ │ >> │ │ [*] Backend driver >> support >> │ │ >> │ │ <*> Xen backend network >> device >> │ │ >> │ │ <*> Block-device backend >> driver >> │ │ >> │ │ <*> Block-device tap backend >> driver >> │ │ >> │ │ <*> PCI-device backend >> driver >> │ │ >> │ │ PCI Backend Mode >> (Virtual PCI) >> ---> │ │ >> │ │ [*] PCI Backend >> Debugging >> │ │ >> │ │ <*> Xen >> filesystem >> │ │ >> │ │ [*] Create compatibility >> mount point >> /proc/xen │ │ >> │ │ [*] Create xen entries under >> /sys/hypervisor >> │ │ >> │ │ <*> userspace grant access device >> driver │ │ >> │ │ <*> xen platform pci device >> driver >> │ │ >> │ │ [*] Staging drivers >> ---> >> │ │ >> │ │ [*] X86 Platform Specific >> Device Drivers >> ---> │ │ >> │ >> └──────────────────────────────────────────────────────────────── >> >> Boris. >> >> --- On *Thu, 9/16/10, Priya /<pbhat@acis.ufl.edu >> <mailto:pbhat@acis.ufl.edu>>/* wrote: >> >> >> From: Priya <pbhat@acis.ufl.edu >> <mailto:pbhat@acis.ufl.edu>> >> >> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu >> Lucid 10.04 - Desktop / Server - 64 Bits - With >> OpenGL (Intel GEM) enabled - From Linuxcon >> Brazil! :-D >> To: "Boris Derzhavets" <bderzhavets@yahoo.com >> <mailto:bderzhavets@yahoo.com>> >> Cc: nunziaG84@libero.it >> <mailto:nunziaG84@libero.it>, "hurenkam" >> <hurenkam@xs4all.nl <mailto:hurenkam@xs4all.nl>>, >> "Pasi Kärkkäinen" <pasik@iki.fi >> <mailto:pasik@iki.fi>>, >> xen-users@lists.xensource.com >> <mailto:xen-users@lists.xensource.com> >> Date: Thursday, September 16, 2010, 11:25 AM >> >> There is no "/proc/xen" either! >> >> What do you all recommend? Should I use a >> different kernel (if so which one) or a different >> .config file? >> >> Can I fix the present set up in some way? >> >> I find it amusing that I am learning stuff about >> the internal setup of Xen that I wouldn''t have >> had this install been "seamless"... >> >> Cheers to that! >> >> >> On Thu, Sep 16, 2010 at 11:14 AM, Boris >> Derzhavets <bderzhavets@yahoo.com >> <http://mc/compose?to=bderzhavets@yahoo.com>> wrote: >> >> > root@XenOpen:~# ls -l /dev/xen >> ls: cannot access /dev/xen: No such file or >> directory >> root@XenOpen:~# ls /dev >> >> That''s a core issue , why xend fails to >> start. During pvops Dom0 load "udevd" should >> create :- >> >> # ls -l /dev/xen >> total 0 >> crw------- 1 root root 10, 58 Sep 16 18:41 evtchn >> crw------- 1 root root 10, 57 Sep 16 18:41 gntdev >> >> On any system Ubuntu 10.04.1 Server, F13,F14,etc >> Then xend will start after Dom0 gets loaded. >> >> Boris. >> >> >> --- On *Thu, 9/16/10, Priya >> /<pbhat@acis.ufl.edu >> <http://mc/compose?to=pbhat@acis.ufl.edu>>/* >> wrote: >> >> >> From: Priya <pbhat@acis.ufl.edu >> <http://mc/compose?to=pbhat@acis.ufl.edu>> >> >> Subject: Re: [Xen-users] Re: Xen 4.0.1 on >> Ubuntu Lucid 10.04 - Desktop / Server - >> 64 Bits - With OpenGL (Intel GEM) enabled >> - From Linuxcon Brazil! :-D >> To: "Boris Derzhavets" >> <bderzhavets@yahoo.com >> <http://mc/compose?to=bderzhavets@yahoo.com>> >> Cc: "hurenkam" <hurenkam@xs4all.nl >> <http://mc/compose?to=hurenkam@xs4all.nl>>, >> nunziaG84@libero.it >> <http://mc/compose?to=nunziaG84@libero.it>, >> xen-users@lists.xensource.com >> <http://mc/compose?to=xen-users@lists.xensource.com>, >> "Pasi Kärkkäinen" <pasik@iki.fi >> <http://mc/compose?to=pasik@iki.fi>> >> Date: Thursday, September 16, 2010, 11:03 AM >> >> >> Thanks for the responses ! >> >> @Mark >> >> xenfs is not mounted. Here is the output >> for the mount command: >> ------------- >> /dev/sda1 on / type ext4 >> (rw,errors=remount-ro) >> proc on /proc type proc >> (rw,noexec,nosuid,nodev) >> none on /proc/sys/fs/binfmt_misc type >> binfmt_misc (rw,noexec,nosuid,nodev) >> none on /sys type sysfs >> (rw,noexec,nosuid,nodev) >> none on /sys/kernel/debug type debugfs (rw) >> none on /sys/kernel/security type >> securityfs (rw) >> none on /dev type tmpfs (rw,mode=0755) >> none on /dev/pts type devpts >> (rw,noexec,nosuid,gid=5,mode=0620) >> none on /dev/shm type tmpfs (rw,nosuid,nodev) >> none on /var/run type tmpfs >> (rw,nosuid,mode=0755) >> none on /var/lock type tmpfs >> (rw,noexec,nosuid,nodev) >> none on /lib/init/rw type tmpfs >> (rw,nosuid,mode=0755) >> /dev/sdb1 on /media/08AF-8FE8 type vfat >> (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) >> >> ------------------------------ >> >> >> I did a modprobe on xenfs but I cannot >> mount it yet. Could you please give me >> the correct command line arguments for >> doing so. Here are my outputs: >> ------------------------ >> >> root@XenOpen:~# modprobe xenfs >> root@XenOpen:~# mount xenfs >> mount: can''t find xenfs in /etc/fstab or >> /etc/mtab >> ----------------------------------------------------------- >> Thanks a lot for your advice. Really >> appreciate it! >> >> >> @Borris: >> >> There is no "xen" directory in >> /dev....Here is what I have: >> >> --------------- >> >> >> root@XenOpen:~# ls -l /dev/xen >> ls: cannot access /dev/xen: No such file >> or directory >> root@XenOpen:~# ls /dev >> adsp null snapshot >> tty41 vcs1 vcs5 vcsa30 >> agpgart nvram snd >> tty42 vcs10 vcs50 vcsa31 >> audio oldmem sndstat >> tty43 vcs11 vcs51 vcsa32 >> block parport0 sr0 >> tty44 vcs12 vcs52 vcsa33 >> bsg port stderr >> tty45 vcs13 vcs53 vcsa34 >> bus ppp stdin >> tty46 vcs14 vcs54 vcsa35 >> cdrom ptmx stdout >> tty47 vcs15 vcs55 vcsa36 >> cdrw pts tty >> tty48 vcs16 vcs56 vcsa37 >> char ram tty0 >> tty49 vcs17 vcs57 vcsa38 >> console ram0 tty1 >> tty5 vcs18 vcs58 vcsa39 >> core ram1 tty10 >> tty50 vcs19 vcs59 vcsa4 >> cpu ram10 tty11 >> tty51 vcs2 vcs6 vcsa40 >> cpu_dma_latency ram11 tty12 >> tty52 vcs20 vcs60 vcsa41 >> disk ram12 tty13 >> tty53 vcs21 vcs61 vcsa42 >> dri ram13 tty14 >> tty54 vcs22 vcs62 vcsa43 >> dsp ram14 tty15 >> tty55 vcs23 vcs63 vcsa44 >> dvd ram15 tty16 >> tty56 vcs24 vcs7 vcsa45 >> dvdrw ram16 tty17 >> tty57 vcs25 vcs8 vcsa46 >> fb0 ram2 tty18 >> tty58 vcs26 vcs9 vcsa47 >> fd ram3 tty19 >> tty59 vcs27 vcsa vcsa48 >> full ram4 tty2 >> tty6 vcs28 vcsa0 vcsa49 >> hidraw0 ram5 tty20 >> tty60 vcs29 vcsa1 vcsa5 >> hidraw1 ram6 tty21 >> tty61 vcs3 vcsa10 vcsa50 >> hpet ram7 tty22 >> tty62 vcs30 vcsa11 vcsa51 >> input ram8 tty23 >> tty63 vcs31 vcsa12 vcsa52 >> kmem ram9 tty24 >> tty7 vcs32 vcsa13 vcsa53 >> kmsg random tty25 >> tty8 vcs33 vcsa14 vcsa54 >> log raw tty26 >> tty9 vcs34 vcsa15 vcsa55 >> loop0 root tty27 >> ttyS0 vcs35 vcsa16 vcsa56 >> loop1 rtc tty28 >> ttyS1 vcs36 vcsa17 vcsa57 >> loop2 rtc0 tty29 >> ttyS2 vcs37 vcsa18 vcsa58 >> loop3 scd0 tty3 >> ttyS3 vcs38 vcsa19 vcsa59 >> loop4 sda tty30 >> urandom vcs39 vcsa2 vcsa6 >> loop5 sda1 tty31 >> usbmon0 vcs4 vcsa20 vcsa60 >> loop6 sda2 tty32 >> usbmon1 vcs40 vcsa21 vcsa61 >> loop7 sda5 tty33 >> usbmon2 vcs41 vcsa22 vcsa62 >> lp0 sdb tty34 >> usbmon3 vcs42 vcsa23 vcsa63 >> mapper sdb1 tty35 >> usbmon4 vcs43 vcsa24 vcsa7 >> mcelog sequencer tty36 >> usbmon5 vcs44 vcsa25 vcsa8 >> mem sequencer2 tty37 >> usbmon6 vcs45 vcsa26 vcsa9 >> mixer sg0 tty38 >> usbmon7 vcs46 vcsa27 vga_arbiter >> net sg1 tty39 >> usbmon8 vcs47 vcsa28 zero >> network_latency sg2 tty4 >> vcs vcs48 vcsa29 >> network_throughput shm tty40 >> vcs0 vcs49 vcsa3 >> >> --------------------- >> >> Thanks for taking the time guys! >> >> >> >> >> >> On Thu, Sep 16, 2010 at 10:25 AM, Boris >> Derzhavets <bderzhavets@yahoo.com >> <http://mc/compose?to=bderzhavets@yahoo.com>> >> wrote: >> >> One more time. Please, submit :- >> # ls -l /dev/xen >> >> Boris. >> >> --- On *Thu, 9/16/10, hurenkam >> /<hurenkam@xs4all.nl >> <http://mc/compose?to=hurenkam@xs4all.nl>>/* >> wrote: >> >> >> From: hurenkam >> <hurenkam@xs4all.nl >> <http://mc/compose?to=hurenkam@xs4all.nl>> >> >> Subject: Re: [Xen-users] Re: Xen >> 4.0.1 on Ubuntu Lucid 10.04 - >> Desktop / Server - 64 Bits - With >> OpenGL (Intel GEM) enabled - From >> Linuxcon Brazil! :-D >> To: "Priya" <pbhat@acis.ufl.edu >> <http://mc/compose?to=pbhat@acis.ufl.edu>> >> Cc: "Boris Derzhavets" >> <bderzhavets@yahoo.com >> <http://mc/compose?to=bderzhavets@yahoo.com>>, >> nunziaG84@libero.it >> <http://mc/compose?to=nunziaG84@libero.it>, >> xen-users@lists.xensource.com >> <http://mc/compose?to=xen-users@lists.xensource.com>, >> "Pasi Kärkkäinen" <pasik@iki.fi >> <http://mc/compose?to=pasik@iki.fi>> >> Date: Thursday, September 16, >> 2010, 10:17 AM >> >> >> Hi, >> >> >> > And then when I reboot the >> machine, xend does not start. On >> issuing >> > the command /etc/init.d/xend >> start, or status, there is no >> terminal >> > output. >> > When I type in "xend start" >> directly, I get the following error >> > message: >> > sudo xend start >> >> >> >> the output is: >> >> >> >> ERROR Internal error: Could >> not obtain handle on privileged >> command >> > interface >> >> Do you have xenfs mounted? >> see if the following line comes >> up in the list if you type mount: >> >> # mount >> ... >> xenfs on /proc/xen type xenfs (rw) >> ... >> >> If not, then you can try mounting >> it manually. If xenfs is compiled as >> a module, you may have to >> modprobe it first. If it is not >> enabled in >> your >> kernel, then you have to rebuild >> your dom0 kernel, and enable it. >> >> On my (Ubuntu Server 10.04.1 >> based) system, this gets mounted >> automatically >> by either udev or xend itself (it >> is not in fstab). >> >> In my experience on this system, >> xend fails ususually due to one >> of the >> following reasons: >> 1) Failure to mount xenfs >> (because it is not configured, or >> the module >> is >> not loaded). >> 2) Inconsistent installation of >> xentools (in wrong python >> directory or >> mixed with older version). >> >> >> Regards, >> Mark. >> >> >> >> _______________________________________________ >> >> >> Xen-users mailing list >> Xen-users@lists.xensource.com >> <http://mc/compose?to=Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users >> >> >> >> >> -- >> Priya Bhat >> >> >> >> >> >> >> -- >> Priya Bhat >> >> >> >> -----Inline Attachment Follows----- >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> <http://mc/compose?to=Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> <mailto:Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users >> >> >> >> >> -- >> Priya Bhat >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> <mailto:Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users >> >> >> >> >> >> -- >> Priya Bhat >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com <mailto: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
Boris Derzhavets
2010-Sep-18 11:56 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Switch to make-kpkg & hard linking xen_evtchn and libvirt stuff ( second manual from Xen 4.0 Docs). Boris. --- On Thu, 9/16/10, Priya <pbhat@acis.ufl.edu> wrote: From: Priya <pbhat@acis.ufl.edu> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com Date: Thursday, September 16, 2010, 2:20 PM Hey Boris! I am using your configuration file to install xen4.0.1 from scratch. Thanks! Could you please also send me the grub entry (or the file that you made for the xen boot in the /etc/grub.d/ directory). I just want to confirm that it is the same as the original tutorial. Also, did you change anything else from the steps given below (from the original mail by Thiago) while installing your version: ----- The procedure: 1- Install all the packages: aptitude update aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev debhelper fakeroot uuid-dev iasl texinfo git-core apt-get build-dep xen-3.3 2- Download, compile and install Xen and its tools: cd /usr/src wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz tar xf xen-4.0.1.tar.gz cd xen-4.0.1 make xen make tools make stubdom make install-xen # make install-tools make install-tools PYTHON_PREFIX_ARG make install-stubdom 3- Download, compile and install Linux from the Jemery''s tree: make prep-kernels wget http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1 -O build-linux-2.6-pvops_x86_64/.config cd build-linux-2.6-pvops_x86_64 make menuconfig # Change whatever you want, if you now what you''re doing... make chmod g-s /usr/src/ -R make deb-pkg dpkg -i ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb depmod 2.6.32.18-tcmc-10.08-1-xen update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen 4- Enable Xen at boot: update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 5- Configure the Grub2: vim /etc/grub.d/40_custom ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ‘exec tail’ line above. menuentry ''Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18'' { recordfail insmod ext2 set root=''(hd0,4)'' multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen } ---- cut here ---- NOTE.: Pay attention to you root partition and also you''ll need to disable the KMS (maybe the nomodeset option works for you) of your videoboard. update-grub reboot Choose the right Grub2 menu entry... ---------- Thanks! On Thu, Sep 16, 2010 at 12:03 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: Don''t worry about /proc/xen. Config is attached. Some where down here you tune wrong :- Device Drivers [*] Xen memory balloon driver │ │ │ │ [*] Scrub pages before returning them to stem │ │ │ │ <*> Xen /dev/xen/evtchn device │ │ │ │ [*] Backend driver support │ │ │ │ <*> Xen backend network device │ │ │ │ <*> Block-device backend driver │ │ │ │ <*> Block-device tap backend driver │ │ │ │ <*> PCI-device backend driver │ │ │ │ PCI Backend Mode (Virtual PCI) ---> │ │ │ │ [*] PCI Backend Debugging │ │ │ │ <*> Xen filesystem │ │ │ │ [*] Create compatibility mount point /proc/xen │ │ │ │ [*] Create xen entries under /sys/hypervisor │ │ │ │ <*> userspace grant access device driver │ │ │ │ <*> xen platform pci device driver │ │ │ │ [*] Staging drivers ---> │ │ │ │ [*] X86 Platform Specific Device Drivers ---> │ │ │ └──────────────────────────────────────────────────────────────── Boris. --- On Thu, 9/16/10, Priya <pbhat@acis.ufl.edu> wrote: From: Priya <pbhat@acis.ufl.edu> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: nunziaG84@libero.it, "hurenkam" <hurenkam@xs4all.nl>, "Pasi Kärkkäinen" <pasik@iki.fi>, xen-users@lists.xensource.com Date: Thursday, September 16, 2010, 11:25 AM There is no "/proc/xen" either! What do you all recommend? Should I use a different kernel (if so which one) or a different .config file? Can I fix the present set up in some way? I find it amusing that I am learning stuff about the internal setup of Xen that I wouldn''t have had this install been "seamless"... Cheers to that! On Thu, Sep 16, 2010 at 11:14 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> root@XenOpen:~# ls -l /dev/xenls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev That''s a core issue , why xend fails to start. During pvops Dom0 load "udevd" should create :- # ls -l /dev/xen total 0 crw------- 1 root root 10, 58 Sep 16 18:41 evtchn crw------- 1 root root 10, 57 Sep 16 18:41 gntdev On any system Ubuntu 10.04.1 Server, F13,F14,etc Then xend will start after Dom0 gets loaded. Boris. --- On Thu, 9/16/10, Priya <pbhat@acis.ufl.edu> wrote: From: Priya <pbhat@acis.ufl.edu> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "hurenkam" <hurenkam@xs4all.nl>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 11:03 AM Thanks for the responses ! @Mark xenfs is not mounted. Here is the output for the mount command: ------------- /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type tmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /dev/sdb1 on /media/08AF-8FE8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) ------------------------------ I did a modprobe on xenfs but I cannot mount it yet. Could you please give me the correct command line arguments for doing so. Here are my outputs: ------------------------ root@XenOpen:~# modprobe xenfs root@XenOpen:~# mount xenfs mount: can''t find xenfs in /etc/fstab or /etc/mtab ----------------------------------------------------------- Thanks a lot for your advice. Really appreciate it! @Borris: There is no "xen" directory in /dev....Here is what I have: --------------- root@XenOpen:~# ls -l /dev/xen ls: cannot access /dev/xen: No such file or directory root@XenOpen:~# ls /dev adsp null snapshot tty41 vcs1 vcs5 vcsa30 agpgart nvram snd tty42 vcs10 vcs50 vcsa31 audio oldmem sndstat tty43 vcs11 vcs51 vcsa32 block parport0 sr0 tty44 vcs12 vcs52 vcsa33 bsg port stderr tty45 vcs13 vcs53 vcsa34 bus ppp stdin tty46 vcs14 vcs54 vcsa35 cdrom ptmx stdout tty47 vcs15 vcs55 vcsa36 cdrw pts tty tty48 vcs16 vcs56 vcsa37 char ram tty0 tty49 vcs17 vcs57 vcsa38 console ram0 tty1 tty5 vcs18 vcs58 vcsa39 core ram1 tty10 tty50 vcs19 vcs59 vcsa4 cpu ram10 tty11 tty51 vcs2 vcs6 vcsa40 cpu_dma_latency ram11 tty12 tty52 vcs20 vcs60 vcsa41 disk ram12 tty13 tty53 vcs21 vcs61 vcsa42 dri ram13 tty14 tty54 vcs22 vcs62 vcsa43 dsp ram14 tty15 tty55 vcs23 vcs63 vcsa44 dvd ram15 tty16 tty56 vcs24 vcs7 vcsa45 dvdrw ram16 tty17 tty57 vcs25 vcs8 vcsa46 fb0 ram2 tty18 tty58 vcs26 vcs9 vcsa47 fd ram3 tty19 tty59 vcs27 vcsa vcsa48 full ram4 tty2 tty6 vcs28 vcsa0 vcsa49 hidraw0 ram5 tty20 tty60 vcs29 vcsa1 vcsa5 hidraw1 ram6 tty21 tty61 vcs3 vcsa10 vcsa50 hpet ram7 tty22 tty62 vcs30 vcsa11 vcsa51 input ram8 tty23 tty63 vcs31 vcsa12 vcsa52 kmem ram9 tty24 tty7 vcs32 vcsa13 vcsa53 kmsg random tty25 tty8 vcs33 vcsa14 vcsa54 log raw tty26 tty9 vcs34 vcsa15 vcsa55 loop0 root tty27 ttyS0 vcs35 vcsa16 vcsa56 loop1 rtc tty28 ttyS1 vcs36 vcsa17 vcsa57 loop2 rtc0 tty29 ttyS2 vcs37 vcsa18 vcsa58 loop3 scd0 tty3 ttyS3 vcs38 vcsa19 vcsa59 loop4 sda tty30 urandom vcs39 vcsa2 vcsa6 loop5 sda1 tty31 usbmon0 vcs4 vcsa20 vcsa60 loop6 sda2 tty32 usbmon1 vcs40 vcsa21 vcsa61 loop7 sda5 tty33 usbmon2 vcs41 vcsa22 vcsa62 lp0 sdb tty34 usbmon3 vcs42 vcsa23 vcsa63 mapper sdb1 tty35 usbmon4 vcs43 vcsa24 vcsa7 mcelog sequencer tty36 usbmon5 vcs44 vcsa25 vcsa8 mem sequencer2 tty37 usbmon6 vcs45 vcsa26 vcsa9 mixer sg0 tty38 usbmon7 vcs46 vcsa27 vga_arbiter net sg1 tty39 usbmon8 vcs47 vcsa28 zero network_latency sg2 tty4 vcs vcs48 vcsa29 network_throughput shm tty40 vcs0 vcs49 vcsa3 --------------------- Thanks for taking the time guys! On Thu, Sep 16, 2010 at 10:25 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: One more time. Please, submit :- # ls -l /dev/xen Boris. --- On Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl> wrote: From: hurenkam <hurenkam@xs4all.nl> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Priya" <pbhat@acis.ufl.edu> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 10:17 AM Hi,> And then when I reboot the machine, xend does not start. On issuing > the command /etc/init.d/xend start, or status,there is no terminal> output. > When I type in "xend start" directly, I get the following error > message: > sudo xend start >> >> the output is: >> >> ERROR Internal error: Could not obtain handle on privileged command> interfaceDo you have xenfs mounted? see if the following line comes up in the list if you type mount: # mount ... xenfs on /proc/xen type xenfs (rw) ... If not, then you can try mounting it manually. If xenfs is compiled as a module, you may have to modprobe it first. If it is not enabled in your kernel, then you have to rebuild your dom0 kernel, and enable it. On my (Ubuntu Server 10.04.1 based) system, this gets mounted automatically by either udev or xend itself (it is not in fstab). In my experience on this system, xend fails ususually due to one of the following reasons: 1) Failure to mount xenfs (because it is not configured, or the module is not loaded). 2) Inconsistent installation of xentools (in wrong python directory or mixed with older version). Regards, Mark. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- Priya Bhat -- Priya Bhat -----Inline Attachment Follows----- _______________________________________________ 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 -- Priya Bhat -----Inline Attachment Follows----- _______________________________________________ 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
Boris Derzhavets
2010-Sep-23 12:16 UTC
Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Could you submit .config file for particular pvops kernel ( loading under Xen and not creating devices required) Boris. --- On Thu, 9/16/10, hurenkam <hurenkam@xs4all.nl> wrote: From: hurenkam <hurenkam@xs4all.nl> Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D To: "Priya" <pbhat@acis.ufl.edu> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, nunziaG84@libero.it, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi> Date: Thursday, September 16, 2010, 11:30 AM Hi,> xenfs is not mounted. Here is the output for the mount command: > > I did a modprobe on xenfs but I cannot mount it yet. Could you please > give me the correct command line arguments for doing so. Here are my > outputs: > > root@XenOpen:~# modprobe xenfs > root@XenOpen:~# mount xenfs > mount: can''t find xenfs in /etc/fstab or /etc/mtabTry this: # mount -t xenfs xenfs /proc/xen> There is no "xen" directory in /dev....Here is what I have:That''s also a problem, it should exist, and should contain the following: # ls -l /dev/xen total 0 crw-rw---- 1 root root 10, 62 2010-09-16 00:37 evtchn crw-rw---- 1 root root 10, 61 2010-09-16 00:37 gntdev Perhaps they are built as modules, try modprobing them: # modprobe xen-gntdev # modprobe xen-evtchn Ubuntu is unaware of these devices, so unless you built them into your kernel, they may not automatically be available after you boot. Probably udev could/should take care of this during boot, but i''ve just decided to configure my kernel with these devices as built-in. If you wish, you can add the modules to your modules list in /etc/initramfs-tools/modules, then they will automatically be added to your initrd when you run update-initramfs to create your initrd. Regards, Mark. _______________________________________________ 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
Maybe Matching Threads
- grep: /proc/xen/capabilities: No such file or directory
- Installing Xen4.0.1 on Ubuntu 10.04 LTS issues (VGA crashes at boot-up)
- Secondary Samba4 DC doesn't show up in "host -t SVR _ldap..." output.
- Kernel DomU 2.6.36.1 dont boot PVonHVM
- Kernel DomU 2.6.36.1 dont boot PVonHVM