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: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
From: David Cemin <davidcemin@xxxxxxxxx>
Date: Fri, 29 Oct 2010 12:52:30 -0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Oct 2010 07:56:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=lFB92IbLfuzNJfYOtzjFjwTMjFmTuxGbOMB9z1m76Tw=; b=S37MSxS88a0xX/KS70n+1uquj5hG16WucJLZCfKN6JRQBm6L3WRZ3frWtCgbnYxfRr RBFFFaWflO5gD6hgwyJLvFOnCxoJgWY89Bf9UwuEMIQ9ve8w7JCGls7o0lqA05xX6DL6 q8xKFu7qeDa6ACnmor4vsWOaRD6lNLOH/lmKE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qF1kOIMfI4Lg1X21GdY52BEewbBX+wrBF0EydQfNbnb69jLwjJ7vhFhqIquurlmaQQ h3glWmCOvR+U4rWwYvzOtbyq2v+jsDcJAEr/2qbuIp3wcFr+s4+yULgtdFay2obfvZ8t FWeBb96otcrK4t+1Bj4KrMe8K99AMRun+7bz0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <911419.84227.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <625529.93558.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <911419.84227.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users