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/
Home Products Support Community News


Re: [Xen-users] XEN : Getting Error: (22, 'Invalid argument') on startin

To: Anand Gupta <xen.mails@xxxxxxxxx>
Subject: Re: [Xen-users] XEN : Getting Error: (22, 'Invalid argument') on starting guest domain.
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Wed, 31 Oct 2007 14:11:47 +0000
Cc: Arun Sharma <arunain@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Oct 2007 07:11:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=CqHkJF+BXVJYromgBXOlWmLSe3iIz/j1n0LLE421eiI=; b=Cf/bKeuIslDqGmCaq28lxw6GQ9mhgsBhc9H7dCU7OdNcMnk+0aFKrgTR3xbxhcby7NpHw2RDhXWovprBMu839/sGWprsr/E+gCRRQO9YKiAA6zrBB5LYifiPzyP6GQyacJ5xhWQGOV90GGxBaRhbW3Y8FPfanQNHSsm8WAmMd74=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Gd1p1TIlaGCs/8pzl04dRPdpB6tcwGus9u/v089eHaSenrLtAx9a2Q1rP1sHeafq8M3DzBc1esjV9NgnDlxfIy+YeQ0G3w5c3r7HDIivGoQ4/FUePEechKp7TqVkfBI3VJ+SYc2DjWAfReDpB0lBwmIqZi7fuVp2+S0DIK9AQfc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00710310512o3820a39fg35427ece5eef2de0@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5ce3e56d0710302133h3f7921cet56c78a521b2db355@xxxxxxxxxxxxxx> <094BCE01AFBE9646AF220B0B3F367AAB02561F3B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <5ce3e56d0710310454p16d017d4tdf08b1a4ab002484@xxxxxxxxxxxxxx> <5ce3e56d0710310454xd603e8au6afc8737821fc221@xxxxxxxxxxxxxx> <acb757c00710310512o3820a39fg35427ece5eef2de0@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20070809)
Anand Gupta wrote:
Good for you. It surely looks like the xen packages from centos/rhel 5 are screwed up badly. I have been having tons of problems myself.

Can you check one thing ? Try to run a domU as centos5 itself i.e. create a new domU running on centos5 and see if you get any problems inside the domU ? I am facing 2 issues with it, first one is an error about /lib/tls and second is about a character set issue.

Let me know how successful you are.
They're not screwed up badly: they are a distinct release. If you do a tarball, or mercurial, installation of the latest source and compile and install it *on top* of your existing Xen infrastructure, do not be surprised if they do not integrate well. This is particularly true now that the RHEL 5/CentOS 5 release is version 3.0.3, and you're leapfrogging forward to version 3.1.1 which is not evern tarball released yet. Seriously, you've put yourself in the position of a bleeding edge developer by doing this, and these are exactly the sort of version compatibility issues you can expect.

The /lib/tls issue seems to be one of the kernel used for the DomU, and the presence (or lack of it) of the /etc/ld.so.conf.d hook present in RHEL's kernel-xen packages. I've mentioned previously that this can be over-ridden by hand-building a modified glibc, as described at http://lists.centos.org/pipermail/centos-devel/2005-December/002016.html.

If you want to integrate Xen into an RPM based infrastructure, especially RedHat's which is somewhat different from Xensource's RPM's and correctly builds documentation, installs it, and uses grubby to insert new Xen kernels in /etc/grub.conf, you're going to have to build RPM's, possibly based on RedHat's. In fact, I bet the CentOS crew would be delighted to have such work in order to put it in the Centosplus repository, much as they used to publish more up-to-date versions of MySQL and PHP there for CentOS 4.x.

Xen-users mailing list