Hi all,
I''m struggling to install Xen Hypervisor on my PC, but after one
week''s
attempt again and again, it still doesn''t work. Anyone can give some
suggestion or helpful link?
1. download the xen 4.0.0 stable tarball from here,
http://www.xen.org/products/xen_source.html
2. unzip the tar and run install.sh and ''make world''
3. make install
4. then I can found vmlinuz-2.6.31.13 and xen.4.0.gz under /boot
5. make initrd.img by the command: mkinitramfs -o initrd.img-2.6.31.13
2.6.31.13
6. Edit the grub/menu.lst adding the following line
title xen 4.0 Linux Kernel 2.6.31.13
root (hd0, 1)
kernel /boot/xen-4.0.gz dom0_mem=512M loglvl=all guest_loglvl=all
sync_console console_to_ring com1=1152000, 8n1 console=com1 iommu=off
module /boot/vmlinuz-2.6.31.13 ro root=UUID=xxxxxxxxxxxxxxxxxxxxxxx
console=hvc0 earlyprintk=xen nomodest loglevel=10
module /boot/initrd.img-2.6.31.13
7. run ''update-rc.d xend defaults 20 21'',
''update-rc.d xendomain defaults 21
20"
8. reboot
Result: the system succeeds to startup, and I can find two
''xend'' processes are started by ''ps -xua |grep
xen'', also, ''xenwatch'' and
''xenbus'',
But, when I run ''xm list'', it told me that '' Is xend
runing?''
In the serial output, there are many errors saying "*No **Module names
xen.xend.server*". Obviously, the xend fails to start.
By google a lot, I finally fix this problem with the guide of the following
link:
http://old.nabble.com/Fail-to-start-Xend-with--unstable-code-td24628838.html
The Reason is XEN rely on python, but the default python path is
/usr/lib/python2.6/, while XEN would find its script from
/usr/local/lib/python2.6/dist-packages,
So the solution is to run ''make install-tools
PYTHON_PREFIX_ARG='' or modify
the Config.mk to remove the path follows PYTHON_PREFIX_ARG
So that the Xend succeed to start when system startup, but another issue
happens, that is
*Ignoring unknown interface eth0=eth0*"
R*TNETLINK answers: Device or resource busy*
*/etc/xen/scripts/network-bridge: line 240: sigerr: command not found*
And the result to run ''brctr show'' is
*#brctl show*
*tmpbr0 8000.0000 no*
*br0 8000.0000 yes*
and I can find ''virbr0'' and ''tmpbridge'' by
running ''ifconfig'', while there
is no interface named like ''peth0'', which should be generated
by
xen/scripts/network-bridge
many discusses in internet, but unfortunately, I didn''t find any
feasible
solution. At last, I found some guide in xen website which said something
wrong with my /etc/network/interfaces
the original is
*auto lo*
*iface lo loopback*
I modified it to be
*auto eth0*
*iface eth0 inet dhcp*
after next boot, I found the ''peth0'' to run ''ifconfig
-a'', while no ''virb0''
or ''tmpbridge'' any more, and no xen processes found by
''ps -aux|grep xen''
since then, whatever I tried, even to reinstall xen by ''make
clean;make;make
install'' again, the result kept the same as above line.
I didn''t find any installation guide, does anyone know where I can get
such
guide? Please HELP...............
Thanks,
Sean
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
I installed on Ubuntu 10.04 ... On Thu, Jul 22, 2010 at 11:33 AM, Sean Shoufu Luo <luoshoufu@gmail.com>wrote:> Hi all, > > I''m struggling to install Xen Hypervisor on my PC, but after one week''s > attempt again and again, it still doesn''t work. Anyone can give some > suggestion or helpful link? > > 1. download the xen 4.0.0 stable tarball from here, > http://www.xen.org/products/xen_source.html > 2. unzip the tar and run install.sh and ''make world'' > 3. make install > 4. then I can found vmlinuz-2.6.31.13 and xen.4.0.gz under /boot > 5. make initrd.img by the command: mkinitramfs -o initrd.img-2.6.31.13 > 2.6.31.13 > 6. Edit the grub/menu.lst adding the following line > title xen 4.0 Linux Kernel 2.6.31.13 > root (hd0, 1) > kernel /boot/xen-4.0.gz dom0_mem=512M loglvl=all guest_loglvl=all > sync_console console_to_ring com1=1152000, 8n1 console=com1 iommu=off > module /boot/vmlinuz-2.6.31.13 ro root=UUID=xxxxxxxxxxxxxxxxxxxxxxx > console=hvc0 earlyprintk=xen nomodest loglevel=10 > module /boot/initrd.img-2.6.31.13 > 7. run ''update-rc.d xend defaults 20 21'', ''update-rc.d xendomain defaults > 21 20" > 8. reboot > > Result: the system succeeds to startup, and I can find two > ''xend'' processes are started by ''ps -xua |grep xen'', also, ''xenwatch'' and > ''xenbus'', > But, when I run ''xm list'', it told me that '' Is xend runing?'' > In the serial output, there are many errors saying "*No **Module names > xen.xend.server*". Obviously, the xend fails to start. > By google a lot, I finally fix this problem with the guide of the following > link: > > http://old.nabble.com/Fail-to-start-Xend-with--unstable-code-td24628838.html > The Reason is XEN rely on python, but the default python path is > /usr/lib/python2.6/, while XEN would find its script from > /usr/local/lib/python2.6/dist-packages, > So the solution is to run ''make install-tools PYTHON_PREFIX_ARG='' or modify > the Config.mk to remove the path follows PYTHON_PREFIX_ARG > > So that the Xend succeed to start when system startup, but another issue > happens, that is > *Ignoring unknown interface eth0=eth0*" > R*TNETLINK answers: Device or resource busy* > > */etc/xen/scripts/network-bridge: line 240: sigerr: command not found* > > And the result to run ''brctr show'' is > > *#brctl show* > > *tmpbr0 8000.0000 no* > > *br0 8000.0000 yes* > > > and I can find ''virbr0'' and ''tmpbridge'' by running ''ifconfig'', while there > is no interface named like ''peth0'', which should be generated by > xen/scripts/network-bridge > many discusses in internet, but unfortunately, I didn''t find any feasible > solution. At last, I found some guide in xen website which said something > wrong with my /etc/network/interfaces > the original is > *auto lo* > *iface lo loopback* > > I modified it to be > *auto eth0* > *iface eth0 inet dhcp* > > after next boot, I found the ''peth0'' to run ''ifconfig -a'', while no ''virb0'' > or ''tmpbridge'' any more, and no xen processes found by ''ps -aux|grep xen'' > since then, whatever I tried, even to reinstall xen by ''make > clean;make;make install'' again, the result kept the same as above line. > > > I didn''t find any installation guide, does anyone know where I can get such > guide? Please HELP............... > > > Thanks, > Sean > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Ignoring unknown interface eth0=eth0"> RTNETLINKanswers: Device or resource busy> /etc/xen/scripts/network-bridge: line 240: sigerr: command not found> And the result to run ''brctr show'' is> #brctl show> tmpbr08000.0000 no> br0 8000.0000 yes What happens you comment out all bridge declarations in /etc/xen/xend-config.sxpand define bridge via /etc/network/interfaces via OSSystem restart. Boris. --- On Wed, 7/21/10, Sean Shoufu Luo <luoshoufu@gmail.com> wrote: From: Sean Shoufu Luo <luoshoufu@gmail.com> Subject: [Xen-users] Re: Installation To: Xen-users@lists.xensource.com Date: Wednesday, July 21, 2010, 11:48 PM I installed on Ubuntu 10.04 ... On Thu, Jul 22, 2010 at 11:33 AM, Sean Shoufu Luo <luoshoufu@gmail.com> wrote: Hi all, I''m struggling to install Xen Hypervisor on my PC, but after one week''s attempt again and again, it still doesn''t work. Anyone can give some suggestion or helpful link? 1. download the xen 4.0.0 stable tarball from here, http://www.xen.org/products/xen_source.html2. unzip the tar and run install.sh and ''make world'' 3. make install4. then I can found vmlinuz-2.6.31.13 and xen.4.0.gz under /boot5. make initrd.img by the command: mkinitramfs -o initrd.img-2.6.31.13 2.6.31.136. Edit the grub/menu.lst adding the following line title xen 4.0 Linux Kernel 2.6.31.13 root (hd0, 1) kernel /boot/xen-4.0.gz dom0_mem=512M loglvl=all guest_loglvl=all sync_console console_to_ring com1=1152000, 8n1 console=com1 iommu=off module /boot/vmlinuz-2.6.31.13 ro root=UUID=xxxxxxxxxxxxxxxxxxxxxxx console=hvc0 earlyprintk=xen nomodest loglevel=10 module /boot/initrd.img-2.6.31.137. run ''update-rc.d xend defaults 20 21'', ''update-rc.d xendomain defaults 21 20" 8. reboot Result: the system succeeds to startup, and I can find two ''xend'' processes are started by ''ps -xua |grep xen'', also, ''xenwatch'' and ''xenbus'', But, when I run ''xm list'', it told me that '' Is xend runing?''In the serial output, there are many errors saying "No Module names xen.xend.server". Obviously, the xend fails to start. By google a lot, I finally fix this problem with the guide of the following link:http://old.nabble.com/Fail-to-start-Xend-with--unstable-code-td24628838.html The Reason is XEN rely on python, but the default python path is /usr/lib/python2.6/, while XEN would find its script from /usr/local/lib/python2.6/dist-packages, So the solution is to run ''make install-tools PYTHON_PREFIX_ARG='' or modify the Config.mk to remove the path follows PYTHON_PREFIX_ARG So that the Xend succeed to start when system startup, but another issue happens, that is Ignoring unknown interface eth0=eth0" RTNETLINK answers: Device or resource busy /etc/xen/scripts/network-bridge: line 240: sigerr: command not found And the result to run ''brctr show'' is #brctl showtmpbr0 8000.0000 no br0 8000.0000 yes and I can find ''virbr0'' and ''tmpbridge'' by running ''ifconfig'', while there is no interface named like ''peth0'', which should be generated by xen/scripts/network-bridge many discusses in internet, but unfortunately, I didn''t find any feasible solution. At last, I found some guide in xen website which said something wrong with my /etc/network/interfaces the original isauto lo iface lo loopback I modified it to beauto eth0 iface eth0 inet dhcp after next boot, I found the ''peth0'' to run ''ifconfig -a'', while no ''virb0'' or ''tmpbridge'' any more, and no xen processes found by ''ps -aux|grep xen'' since then, whatever I tried, even to reinstall xen by ''make clean;make;make install'' again, the result kept the same as above line. I didn''t find any installation guide, does anyone know where I can get such guide? Please HELP............... Thanks,Sean -----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
Configure bridge for xen DomUs manually via /etc/network/intefaces :-
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# auto eth0
# iface eth0 inet dhcp
auto br0
iface br0 inet static
address 192.168.1.7
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_stp on
bridge_maxwait 0
--- On Thu, 7/22/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-users] Re: Installation
To: Xen-users@lists.xensource.com, "Sean Shoufu Luo"
<luoshoufu@gmail.com>
Date: Thursday, July 22, 2010, 5:29 AM
> Ignoring unknown interface eth0=eth0"
> RTNETLINK
answers: Device or resource busy
> /etc/xen/scripts/network-bridge: line 240: sigerr: command not found
> And the result to run ''brctr show'' is
> #brctl show> tmpbr0
8000.0000 no> br0 8000.0000 yes
What happens you comment out all bridge declarations in
/etc/xen/xend-config.sxpand define bridge via /etc/network/interfaces via
OSSystem restart.
Boris.
--- On Wed, 7/21/10, Sean Shoufu Luo <luoshoufu@gmail.com> wrote:
From: Sean Shoufu Luo <luoshoufu@gmail.com>
Subject: [Xen-users] Re: Installation
To: Xen-users@lists.xensource.com
Date: Wednesday, July 21, 2010, 11:48
PM
I installed on Ubuntu 10.04 ...
On Thu, Jul 22, 2010 at 11:33 AM, Sean Shoufu Luo <luoshoufu@gmail.com>
wrote:
Hi all,
I''m struggling to install Xen Hypervisor on my PC, but after one
week''s attempt again and again, it still doesn''t work. Anyone
can give some suggestion or helpful link?
1. download the xen 4.0.0 stable tarball from
here, http://www.xen.org/products/xen_source.html2. unzip the tar and run
install.sh and ''make world''
3. make install4. then I can found vmlinuz-2.6.31.13 and xen.4.0.gz under
/boot5. make initrd.img by the command: mkinitramfs -o initrd.img-2.6.31.13
2.6.31.136. Edit the grub/menu.lst adding the following line
title xen 4.0 Linux Kernel 2.6.31.13 root (hd0, 1) kernel
/boot/xen-4.0.gz dom0_mem=512M loglvl=all guest_loglvl=all sync_console
console_to_ring com1=1152000, 8n1 console=com1 iommu=off
module /boot/vmlinuz-2.6.31.13 ro root=UUID=xxxxxxxxxxxxxxxxxxxxxxx
console=hvc0 earlyprintk=xen nomodest loglevel=10 module
/boot/initrd.img-2.6.31.137. run ''update-rc.d xend defaults 20
21'', ''update-rc.d xendomain defaults 21 20"
8. reboot
Result: the system succeeds to startup, and I can find two
''xend'' processes are started by ''ps -xua |grep
xen'', also, ''xenwatch'' and
''xenbus'',
But, when I run ''xm list'', it told me that '' Is xend
runing?''In the serial output, there are many errors saying
"No Module names xen.xend.server". Obviously, the xend fails to
start.
By google a lot, I finally fix this problem with the guide of the following
link:http://old.nabble.com/Fail-to-start-Xend-with--unstable-code-td24628838.html
The Reason is XEN rely on python, but the default python path is
/usr/lib/python2.6/, while XEN would find its script from
/usr/local/lib/python2.6/dist-packages, So the solution is to run ''make
install-tools PYTHON_PREFIX_ARG='' or modify the Config.mk to remove the
path follows PYTHON_PREFIX_ARG
So that the Xend succeed to start when system startup, but another issue
happens, that is Ignoring unknown interface eth0=eth0"
RTNETLINK answers: Device or resource busy
/etc/xen/scripts/network-bridge: line 240: sigerr: command not found
And the result to run ''brctr show'' is
#brctl showtmpbr0 8000.0000 no
br0 8000.0000 yes
and I can find ''virbr0'' and ''tmpbridge'' by
running ''ifconfig'', while there is no interface named like
''peth0'', which should be generated by
xen/scripts/network-bridge
many discusses in internet, but unfortunately, I didn''t find any
feasible solution. At last, I found some guide in xen website which said
something wrong with my /etc/network/interfaces
the original isauto lo
iface lo loopback
I modified it to beauto eth0
iface eth0 inet dhcp
after next boot, I found the ''peth0'' to run ''ifconfig
-a'', while no ''virb0'' or
''tmpbridge'' any more, and no xen processes found by
''ps -aux|grep xen''
since then, whatever I tried, even to reinstall xen by ''make
clean;make;make install'' again, the result kept the same as above
line.
I didn''t find any installation guide, does anyone know where I can get
such guide? Please HELP...............
Thanks,Sean
-----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
thanks, Boris. It seems I fix the problem. By the help of the below link the reason to fail to run ''xm list'' with error saying ''Error 111, connection refused'' is that some bug in newest source code in linux kernel we should revert it back to a certain version. http://lists.xensource.com/archives/html/xen-users/2010-07/msg00066.html And I believe Boris''s guide to setup a static bridge could be helpful to solve the error *Ignoring unknown interface eth0=eth0*" That''s all! Thanks a lot. On Thu, Jul 22, 2010 at 5:35 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> Configure bridge for xen DomUs manually via /etc/network/intefaces :- > > # This file describes the network interfaces available on your system > # and how to activate them. For more information, see interfaces(5). > # The loopback network interface > auto lo > iface lo inet loopback > # The primary network interface > # auto eth0 > # iface eth0 inet dhcp > auto br0 > iface br0 inet static > address 192.168.1.7 > netmask 255.255.255.0 > network 192.168.1.0 > broadcast 192.168.1.255 > gateway 192.168.1.1 > bridge_ports eth0 > bridge_stp on > bridge_maxwait 0 > > > --- On *Thu, 7/22/10, Boris Derzhavets <bderzhavets@yahoo.com>* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: Re: [Xen-users] Re: Installation > To: Xen-users@lists.xensource.com, "Sean Shoufu Luo" <luoshoufu@gmail.com> > Date: Thursday, July 22, 2010, 5:29 AM > > > *> Ignoring unknown interface eth0=eth0*" > > R*TNETLINK answers: Device or resource busy* > > *> /etc/xen/scripts/network-bridge: line 240: sigerr: command not found* > > > And the result to run ''brctr show'' is > > *> #brctl show* > > *> tmpbr0 8000.0000 no* > > > *br0 8000.0000 yes* > > > > *What happens you comment out all bridge declarations in > /etc/xen/xend-config.sxp* > > *and define bridge via /etc/network/interfaces via OS* > > *System restart.* > > > *Boris. > * > > > --- On *Wed, 7/21/10, Sean Shoufu Luo <luoshoufu@gmail.com>* wrote: > > > From: Sean Shoufu Luo <luoshoufu@gmail.com> > Subject: [Xen-users] Re: Installation > To: Xen-users@lists.xensource.com > Date: Wednesday, July 21, 2010, 11:48 PM > > I installed on Ubuntu 10.04 ... > > On Thu, Jul 22, 2010 at 11:33 AM, Sean Shoufu Luo <luoshoufu@gmail.com>wrote: > >> Hi all, >> >> I''m struggling to install Xen Hypervisor on my PC, but after one week''s >> attempt again and again, it still doesn''t work. Anyone can give some >> suggestion or helpful link? >> >> 1. download the xen 4.0.0 stable tarball from here, >> http://www.xen.org/products/xen_source.html >> 2. unzip the tar and run install.sh and ''make world'' >> 3. make install >> 4. then I can found vmlinuz-2.6.31.13 and xen.4.0.gz under /boot >> 5. make initrd.img by the command: mkinitramfs -o initrd.img-2.6.31.13 >> 2.6.31.13 >> 6. Edit the grub/menu.lst adding the following line >> title xen 4.0 Linux Kernel 2.6.31.13 >> root (hd0, 1) >> kernel /boot/xen-4.0.gz dom0_mem=512M loglvl=all >> guest_loglvl=all sync_console console_to_ring com1=1152000, 8n1 console=com1 >> iommu=off >> module /boot/vmlinuz-2.6.31.13 ro >> root=UUID=xxxxxxxxxxxxxxxxxxxxxxx console=hvc0 earlyprintk=xen nomodest >> loglevel=10 >> module /boot/initrd.img-2.6.31.13 >> 7. run ''update-rc.d xend defaults 20 21'', ''update-rc.d xendomain defaults >> 21 20" >> 8. reboot >> >> Result: the system succeeds to startup, and I can find two >> ''xend'' processes are started by ''ps -xua |grep xen'', also, ''xenwatch'' and >> ''xenbus'', >> But, when I run ''xm list'', it told me that '' Is xend runing?'' >> In the serial output, there are many errors saying "*No **Module names >> xen.xend.server*". Obviously, the xend fails to start. >> By google a lot, I finally fix this problem with the guide of the >> following link: >> >> http://old.nabble.com/Fail-to-start-Xend-with--unstable-code-td24628838.html >> The Reason is XEN rely on python, but the default python path is >> /usr/lib/python2.6/, while XEN would find its script from >> /usr/local/lib/python2.6/dist-packages, >> So the solution is to run ''make install-tools PYTHON_PREFIX_ARG='' or >> modify the Config.mk to remove the path follows PYTHON_PREFIX_ARG >> >> So that the Xend succeed to start when system startup, but another issue >> happens, that is >> *Ignoring unknown interface eth0=eth0*" >> R*TNETLINK answers: Device or resource busy* >> >> */etc/xen/scripts/network-bridge: line 240: sigerr: command not found* >> >> And the result to run ''brctr show'' is >> >> *#brctl show* >> >> *tmpbr0 8000.0000 no* >> >> *br0 8000.0000 yes* >> >> >> and I can find ''virbr0'' and ''tmpbridge'' by running ''ifconfig'', while there >> is no interface named like ''peth0'', which should be generated by >> xen/scripts/network-bridge >> many discusses in internet, but unfortunately, I didn''t find any feasible >> solution. At last, I found some guide in xen website which said something >> wrong with my /etc/network/interfaces >> the original is >> *auto lo* >> *iface lo loopback* >> >> I modified it to be >> *auto eth0* >> *iface eth0 inet dhcp* >> >> after next boot, I found the ''peth0'' to run ''ifconfig -a'', while no >> ''virb0'' or ''tmpbridge'' any more, and no xen processes found by ''ps -aux|grep >> xen'' >> since then, whatever I tried, even to reinstall xen by ''make >> clean;make;make install'' again, the result kept the same as above line. >> >> >> I didn''t find any installation guide, does anyone know where I can get >> such guide? Please HELP............... >> >> >> Thanks, >> Sean >> >> >> >> >> > > -----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
Possibly Parallel Threads
- Attempting to checksum a non-TCP/UDP packet errors rolling across screen
- Attempting to checksum a non-TCP/UDP packet errors rolling across screen
- matrix inversion using solve() and matrices containing large/small values
- Bug#639941: Xen "line 118: sigerr: command not found" error for unassigned network interfaces
- reload nic modules after boot