[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: [Xen-devel] Re: xend does not start


  • To: David Cemin <davidcemin@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Fri, 29 Oct 2010 06:45:02 -0700 (PDT)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 29 Oct 2010 06:53:07 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=yx3ITfOkO7ntF9x8lCHFH6YhZK2AfCt9jLpdve68NkJb/CuYNSyS3FRaTeG2pIM/OuYW744Jd4eDt5IUmhU9XKr1KPrclNBxMGzpvBZ37rdC226sqQrnTIzGV2+nM5+qGL8PKdJwQSpMY5+Gutl/GcRSLS5isfGdBq/upNBv+SE=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I believe that on Desktop you have switch off NetworkManager per second "howto".
What is output ?

1.) /etc/init.d/networking restart

2.) /etc/init.d/xend start

Boris.


--- On Fri, 10/29/10, David Cemin <davidcemin@xxxxxxxxx> wrote:

From: David Cemin <davidcemin@xxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, October 29, 2010, 8:20 AM

Boris, 

My OS is Ubuntu 10.04, not 10.04 Server. 

Step by step, what I've done so far:

1)      Install some packages:

apt-get install libcurl4-openssl-dev \
xserver-xorg-dev \
mercurial gitk \
build-essential \
libncurses5-dev \
uuid-dev gawk \
gettext texinfo bcc \
libncurses5-dev dpkg-dev debhelper \
iasl texinfo bridge-utils bison flex
apt-get build-dep xen-3.3

 

      2)      Clone from kernel source(it will be our dom0)

git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
cd linux-2.6-xen
git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x

           3)     Compile kernel (.config is on the repository)

make menuconfig # dom0 support and the Xen backend(load .config)
make -j(x)number_of_kernels
make modules_install install
make deb-pkg

dpkg -i ../linux-image*2.6.32.24*.deb

depmod 2.6.32.24
update-initramfs -c -k 2.6.32.24

4)      Compile xen 4.0.1

# cd /usr/src
# hg clone âr RELEASE-4.0.1 http://xenbits.xensource.com/xen-4.0-testing.hg
# cd xen-4.0-testing.hg
# make xen
# make tools

# make install-xen
# make install-tools PYTHON_PREFIX_ARG=


% sudo update-initramfs -c -k 2.6.32.24
update-initramfs: Generating /boot/initrd.img-2.6.32.24
% sudo update-rc.d xend defaults 20 21
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.
% sudo update-rc.d xendomains defaults 20 21
update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)
update-rc.d: warning: xendomains 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/xendomains already exist.

then I've update grub with sudo update-grub. I am using grub 0.97 and the entry that I am using is the following:

title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24
uuid b76ba815-b994-4019-ab0a-0a363841f772
kernel /boot/xen-4.0.1.gz
module /boot/vmlinuz-2.6.32.24 root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0
module /boot/initrd.img-2.6.32.24
quiet



Finally, what I have in /dev/xen is:

% ls -l /dev/xen     
total 0
crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchn
crw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev


I am attaching my .config, if you want to take a look as well. 


Thank you !!

--
David

2010/10/29 Boris Derzhavets <bderzhavets@xxxxxxxxx>
Double check packages have been installed for Xen on 10.04 Server.
I've done such installs about 20-30 times  with no problems.
I believe something is wrong in OS python setup.

 You might try hook and then "install-tools". However, i do remember, xend reported
that package not found, but not "permission denied"
 
On the other side it would be good to see yours step by step installation procedure.
You may send it to me out of the list if you want.

What reports  ?
# ls -l   /dev/xen



Boris.

--- On Thu, 10/28/10, David Cemin <davidcemin@xxxxxxxxx> wrote:

From: David Cemin <davidcemin@xxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, October 28, 2010, 4:51 PM


Hello Boris, 

I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn't work. Same problem is still happening. 

I tried with 
- kernel 2.6.32.24
- kernel 2.6.31.14

- xen 4.0.0
- xen 4.0.1
- xen 4.0.2

With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ...

Do you have any other clue of what could be this problem? 

Thank you ! 

2010/10/28 Boris Derzhavets <bderzhavets@xxxxxxxxx>
Please, view  http://wiki.xen.org/xenwiki/Xen4.0

Tutorials to install Xen 4.0 :-

Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/

Set up Xen 4.0 Hypervisor
********************************************************
UPDATE 06/09/2010
********************************************************
As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows


# cd /usr/src
# hg clone http://xenbits.xensource.com/xen-4.0-testing.hg
# cd xen-4.0-testing.hg
# make xen
# make tools
# make install-xen
# make install-tools PYTHON_PREFIX_ARG=

******************************************************

You can also follow more up to date "howto":-

  http://www.linuxtoday.com/infrastructure/2010101502135OSSV

Except Libvirt setup it would work for you as well

Boris.

--- On Thu, 10/28/10, David Cemin <davidcemin@xxxxxxxxx> wrote:

From: David Cemin <davidcemin@xxxxxxxxx>

Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, October 28, 2010, 2:25 PM


Hi Boris, 

Thank you for your answer. 

My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line:
# make install-tools PYTHON_PREFIX_ARG=

?

thank you!

--
David

2010/10/28 Boris Derzhavets <bderzhavets@xxxxxxxxx>
By some reasons messages from davidcemin@xxxxxxxxx are coming to my spam folder on yahoo.com,  so i cannot reply properly. The most recent reply is regarding python hook.

If you base OS is Ubuntu >= 9.10 default location of python packages is
/usr/lib/python2.6/dist-packages.
This issue is addressed by line :-


# make install-tools PYTHON_PREFIX_ARG=


It will just put packages in proper location
But , once again,  my question is what is your base OS ?

Boris.



--- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not startDate: Thursday, October 28, 2010, 1:57 PM


Well known Ubuntu issue

# cd /usr/src
# hg clone http://xenbits.xensource.com/xen-4.0-testing.hg
# cd xen-4.0-testing.hg
# make xen
# make tools
# make install-xen
# make install-tools PYTHON_PREFIX_ARG=


--- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start
To: xen-users@xxxxxxxxxxxxxxxxxxx, "David Cemin" <davidcemin@xxxxxxxxx>
Date: Thursday, October 28, 2010, 10:16 AM

What is SELINUX status ?

Boris.




-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users







-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users





-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.