WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: David Cemin <davidcemin@xxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Fri, 29 Oct 2010 10:02:06 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Oct 2010 10:05:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1288371726; bh=74VbkiNB0HU9XNReat1Dj4ngGy3RWI4JrmvqQS+eoMI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=PMwWxmHYN6t8OXUFuz57nt7ddYbZE2hMF+GTIqF+RTQIKBl6DlHcvefQNdNHZFDr0awPOk9ZMBo7Xgd0/b0Qtfxm0uVz2GWoWve2e4rvYS+8aQ9B7t5HdvPwgghans6cbABoqce9UGM90u7fiooDoexHrDN7qDSCDKHBvVB1VTg=
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:MIME-Version:Content-Type; b=JZuPGj2L+vHvUPSvI8GfEQziEgtCJ6/rSf8BBmzvrLqvS7IDu/zyWHtP4/Ii5jiqV6VcQNzLGLnr2HrpSpGw3hgQcvtt+0EBmzxg2Z/Jpe0YlhkD0QbGI0uAf6KTGDA+BG8wB1eOFFs3vKVXb4Yn1VU1pa0XLJrYqjuAPs9rnug=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Done.

--- 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, 12:57 PM

Boris, 

I think you forgot to attach the .config file. 

Thank you ! 

-
David

2010/10/29 Boris Derzhavets <bderzhavets@xxxxxxxxx>
> I've already uninstalled the Networkmanager (with apt-get remove)

# apt-get install chkconfig
# chkconfig network-manager off

might be enough i guess ;)

Working config (64-bit)  having xen backend devices hard linked to the kernel
is attached. Feel free to run "diff"

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, 10:52 AM


Im gonna review my .config to see what is the problem. I'll let you know when I figure it out.

Thank you again!

--
David

2010/10/29 Boris Derzhavets <bderzhavets@xxxxxxxxx>
OK. David,
I am loosing eth0,  loading system with yours kernel.
Hence,  with NetworkManager turned on you cannot initiate the bridge via xend-config.sxp .
My suggestion is to disable networkmanager and setup pvops kernel and xend per
second "howto" ( e.g. loading xen_* backend stuff separately from kernel).
Just due to presence .config ready to go  in second "howto".  Anyway,
i believe there is issue in your .config affecting ethernet interface.

What reports  "ifconfig" on yours system ?


Boris.


--- On Fri, 10/29/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

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


Does it change anything after boot up:-
1)

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 dummy=dummy dom0_mem=1024M
module /boot/vmlinuz-2.6.32.24 dummy=dummy root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0
module /boot/initrd.img-2.6.32.24

2) (+) root=/dev/sda(X) switch to actual device names or LVM (/dev/mapper/vg01-lv_root)

3) I gonna try build and load kernel with yours .config

Boris.
P.S. Second argument dummy=dummy was required for Grub2 some time ago,
but it should affect  switching to root FS when loading Dom0 .

--- 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


-----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



--
David Cemin
mobile: +55 51 93523097
home:   +55 51 32763785
email: davidcemin@xxxxxxxxx

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

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




--
David Cemin
mobile: +55 51 93523097
home:   +55 51 32763785
email: davidcemin@xxxxxxxxx

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

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

Attachment: config.built-in.gz
Description: GNU Zip compressed data

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