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] help a newbie please

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] help a newbie please
From: Tom Fritz <tfritz@xxxxxxxxx>
Date: Fri, 22 Oct 2010 14:32:14 -0500 (CDT)
Cc:
Delivery-date: Fri, 22 Oct 2010 12:33:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=novia.net; s=mail; t=1287775936; bh=PGBEe2rDq2THJcvLkFxdu1x0x382TmAW8Ev0nhiNhJw=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=QfhyOE7mCFdqnkwbgwyRzcLlF5sRPVlga+Td/aK41zMReHjUSM7kTPLP5t1/iZhrE gGK6jSmEgm0Aob+7TkY53K3U/LAhbEUf8bp7lUsa/Umvr8kLUAmuNysV0chXCXs1ed FSXGnciknTjYCnxpRP60XrqF49O93MjnVwrYjImA=
Domainkey-signature: a=rsa-sha1; s=mail; d=novia.net; c=nofws; q=dns; h=received:x-authentication-warning:date:from:to:subject: in-reply-to:message-id:references:organization:mime-version:content-type; b=r2eOpHXHixe+DjJEzhlswcb0Yt6PMsrZdtA4xyeMy1z7686Ps+69x4LmmPHD30cAA ThBz6sB9xMnNEDgBLxCYSar6guFdDvLrxVSFqzP1jUJBmty8hq+KMeaaeUF21hiUsFm zjsF1LZKNqEC2L6R1KHzLLGi2XH9mj3szSWBKY0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=9oZAKmy52gecfkRUwDtW5d_QYYjLgMY0Y2TJu@xxxxxxxxxxxxxx>
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>
Organization: Novia Internetworking
References: <AANLkTindzS+YYMUuqD7UwSxgEKqQ+Dxnt5p3CrxOuFNf@xxxxxxxxxxxxxx> <AANLkTikG52s03MPvEEf74DkU8Ae1v_CcmJ=YWsp_NFVQ@xxxxxxxxxxxxxx> <AANLkTi=Ewj58WF0wF1UDj9gbRbfxiKq4Lwz5c1RBc4n_@xxxxxxxxxxxxxx> <AANLkTimmwjcSz6SCm7kxFYFgJ61CFeNa1LXrMrQ5eA4Y@xxxxxxxxxxxxxx> <AANLkTi=9oZAKmy52gecfkRUwDtW5d_QYYjLgMY0Y2TJu@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 22 Oct 2010, Todd Deshane wrote:

I don't have personal experience with Lenny, perhaps the xen-users list does.

I see Debian does have kernels:
http://wiki.xensource.com/xenwiki/XenDom0Kernels

Anybody running Xen + Dom0 kernel successfully on Lenny?


I use Lenny as a Dom0 with the "stock" xen kernel but use 3.4.3 hypervisor rather than the one in the repos. I would recommend you run the 64 bit version because it is more stable if your hardware supports it. You can compile and install the hypersior fairly easy. You can use the instrustions from the 4.0 hypersivor to compile the 3.4.3 hypersivor. They can be found at:

http://wiki.xen.org/xenwiki/Xen4.0?highlight=(xen)|(4.0)

You can download the 3.4.3 code from:

http://www.xen.org/download/index_3.4.3.html

When you do the compile just do:

make xen
make tools
make stubdom

make install-xen
make install-tools
make imstall-stubdom

I would avoid doing a full on make world as this compiles a kernel, hypervisor and tools.

If you install xen using:

apt-get install xen-linux-system-2.6.26-2-xen-amd64

Then you will need to run update-grub after you do the install so the new hypervisor is configured correctly in grub.

If you can start with a clean install of Lenny and go from there. I would load just the hypervisor:

apt-get install linux-image-2.6.26-2-xen-amd64

And then add the peices you need from there. I would also use the backports for Leeny for more current packages:

http://backports.debian.org/Instructions/

Like libvirt-bin, xen-tools.

The only issue I have run into with this is I haven't been able to get the GUI desktop to run with the xen kernel. I don't need this on my servers so it's not an issue for me, maybe someone can give you a pointer to get this running.

Getting a working (stable) Lenny based xen server setup can be a lot of work. I haven't found a linux distro yet that had all the pieces I required included but that is the nature of the beast and is a function of my own needs and not really a limitation of the linux distro's I tried.

Good luck and if you have any questions you can contact me off list and I will try to help time permitting.

Tom.


On Fri, Oct 22, 2010 at 1:08 AM, Jonathan Lettvin <jlettvin@xxxxxxxxx> wrote:
Hi Todd,

I have installed Debian Lenny, and followed some of the instructions at:
http://wiki.debian.org/Xen
Specifically:

Install Lenny. Finish the installation as you would normally do
apt-get install install xen
apt-get install xen-utils
apt-get install xen-tools

I am stumped about what to do at step 5

install a xen dom0-capable kernel

I downloaded the image from:
http://packages.debian.org/lenny/i386/xen-linux-system-2.6.26-2-xen-686/download
specifically:
http://security.debian.org/debian-security/pool/updates/main/l/linux-2.6/xen-linux-system-2.6.26-2-xen-686_2.6.26-25lenny1_i386.deb

But I do not know how to install it.
I tried dpkg -i, but it reports unsatisfied dependencies.
I tried to follow down all the dependencies, but don't really know how.

So, that is where I am now stuck.
Can you recommend next steps for me?

On Thu, Oct 21, 2010 at 11:27 PM, Jonathan Lettvin <jlettvin@xxxxxxxxx>
wrote:

Hi Todd,

Thank you for your fast response.
Debian Lenny was my first candidate.
I installed it (many hours)
then acquired and compiled xen
and then booted to that kernel
and that was the attempt that led to
xend failing for lack of some resource.

I will try it again, given your advice but
I fear I will waste another many hours
and end up with no better results.
A little bit of steering by you
would make a huge difference to me.

On Thu, Oct 21, 2010 at 11:05 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:

On Thu, Oct 21, 2010 at 10:52 PM, Jonathan Lettvin <jlettvin@xxxxxxxxx>
wrote:
Hi list readers,

I am an experienced developer with only nominal configuration talent.
These days, mostly I use ubuntu linux, but have used Debian, WhiteBox,
CentOS, RH, Fedora.

I have been using Sun VirtualBox to very great effect and hope for
better
performance
by installing and using xen.
I also intend to use Dom0 exclusively as a host, and not install any
other
packages.
Instead, I expect to do all my development and package downloads onto
guest
machines.

I wish to do a fresh install of a xen linux onto a brand new 1TB disk
on my
IBM Thinkpad T61 laptop.
My intention is to generate file-based virtual machines that I can copy
to
make new instances.
I am expecting to use HVM rather than paravirtualization and files
instead
of logical volumes.

So far, I have tried it three times, once with Debian Lenny, and twice
with
ubuntu Maverick Meerkat.
Every time I encounter show-stopper problems during compiles or xend
crash
on execution.
I do not know if I have identified a solid recipe to follow, or whether
my
choices are bad.

What I request is start to finish step by step instructions (preferably
onto
ubuntu or Debian).
I am willing to back off on the Dom0 OS to an earlier ubuntu or Debian.
All I want is to generate a solid baseline xen system that is as
reliable
and simple as possible.

I will start from scratch with a clean disk, if I can only get
instructions
that lead to a working host.

Please help by providing a single complete clean instruction list to
achieve
this.

These links might help.

http://wiki.debian.org/Xen
http://wiki.xensource.com/xenwiki/XenCommonProblems

Post questions if you get stuck on anything. ##xen on freenode is also
a place to ask questions.

Hope that helps.

Todd

--
Todd Deshane
http://todddeshane.net
http://runningxen.com



--
This e-mail is from Jonathan D. Lettvin, and may contain information that
is confidential or privileged. If you are not the intended recipient, do not
read, copy or distribute the e-mail or any attachments. Instead, please
notify the sender and delete the e-mail and any attachments. Thank you.

Jonathan D. Lettvin



--
This e-mail is from Jonathan D. Lettvin, and may contain information that is
confidential or privileged. If you are not the intended recipient, do not
read, copy or distribute the e-mail or any attachments. Instead, please
notify the sender and delete the e-mail and any attachments. Thank you.

Jonathan D. Lettvin




--
Todd Deshane
http://todddeshane.net
http://runningxen.com

_______________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>