[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
- To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
- From: David Cemin <davidcemin@xxxxxxxxx>
- Date: Fri, 29 Oct 2010 14:57:13 -0200
- Cc: xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 29 Oct 2010 09:59:31 -0700
- 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=sQbktslepjmMPztYEiuTjxnAiiqQvOY2qXGRsVNTF95j5tdsBaEoq1TsYmJpCp4y8E gGO0pFld2IXEPgyzeNbjJWYGZ53BSPw4hDoWkn74V/JJ4bF7IlKSezntwr64w3ksufnd jEgxduz4uDCfhYxjnKW07pFg4CRuBcuqNeSDI=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
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.
Date: Friday, October 29, 2010, 10:52 AMIm 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.
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
Date: Thursday, October 28, 2010, 4:51 PMHello 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******************************************************
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 PMHi 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.Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not startDate: Thursday, October 28, 2010, 1:57 PM
-----Inline Attachment Follows----- |
|
-----Inline Attachment Follows----- |
-----Inline Attachment Follows-----
|
-----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----- |
-- 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
|