[xen-tools-discuss] Ubuntu 10.04

Dmitry Nedospasov dmitry at sec.t-labs.tu-berlin.de
Fri Apr 30 12:23:31 CEST 2010


Nathan,

On 30.4.10 02:12, Nathan O'Sullivan wrote:
>> What is your dom0's distro?
> 
> Its centos 5.4; I am building the domU images in a debian squeeze domU

I also run centos 5.4, and theres no point in using a domU to build the
images! They work great on centos. Just run make install, and you're
set! You will need to install debootstrap though, but you can pull
either the source for the debian [1] or ubuntu one [2].

You will also need to install atleast Perl-Text-Template
(perl-Text-Template.noarch) and git (which i install from RHEL), unless
you want to scp the files over. You might also need to install some
missing perl stuff from CPAN (I only had to do this on a centos 5.3
system, dunno why).

One of the goals of the project now is to also create RPMs of xen-tools,
for people like you and me :) I'll probably be making a repository for this.

>> What version of xen are you running?
> 
> The weird mishmash that centos comes with, I think nominally its 3.1

Actually AFAIK CentOS runs 3.0.3. I run 3.4.2 however, and theres a
great repository for that namely, gitco.de [3]. I recommend you try it
out. Obviously this is NOT supported by CentOS, but its really just the
latest dom0 kernel patches for 2.6.18 and the latest Xen hypervisor,
compiled for CentOS/RHEL.

I've been running it on production systems for around a year now and am
yet to have any problems.

>> You're running your dom0's kernel in the VMs? Can you please try doing a
>> pygrub install? (--pygrub) That way you'll the domU will run its own
>> kernel and as I've stated, Ubuntu has included pvops (domU support) in
>> all its kernels since Intrepid.
> 
> At the moment we're running the 2.6.31.6  off stacklet, stored in dom0.
> I will give ubuntu's own kernel a try.

Ah, thats what i thought. The 2.6.18 on centos is very stable, the only
issue I've had is having to use ethtool on the domUs to disable checksum
offloading. This is a well known bug in the 2.6.18 dom0 support, however
it doesn't reproduce itself on all systems. It does however on one Core
i7/Realtek 8168 machine i have.

>> What version of debootstrap are you running?
> 
> The latest from debian squeeze - 1.0.22

I preffer the Ubuntu ones, because they seem to be more accurate for
Ubuntu i.e. from my experience (though i can't tell you the version
number now) the debian debootstrap didn't install cron, however this is
part of the Ubuntu base system. Anyway when i switched to the Ubuntu
scripts this went away. Its just annoying when your new VM doesn't have
cron.

> I noticed on the ubuntu server list someone with exactly the same
> problem
> 
> http://www.linux-archive.org/ubuntu-server-development/363428-lucid-linode.html
> 
> Based on the comments there I suspect you may be on the right track in
> regards to kernel version

Hmm yeah lucid runs 2.6.32, and thus running an older kernel might cause
weird errors with udev and other such daemons.

> Thanks for your help
> Nathan

Glad that i could help!

D.

P.S. might as well grap debootstrap from debian testing as its much
newer there [1].

[1]
http://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.22.tar.gz

[2]
http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.20ubuntu1.tar.gz

[3] http://www.gitco.de/repo/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://sym.noone.org/pipermail/xen-tools-discuss/attachments/20100430/9418f47e/attachment.pgp>


More information about the xen-tools-discuss mailing list