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] XEN : Getting Error: (22, 'Invalid argument') on startin

To: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
Subject: Re: [Xen-users] XEN : Getting Error: (22, 'Invalid argument') on starting guest domain.
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Wed, 31 Oct 2007 19:54:14 +0530
Cc: Arun Sharma <arunain@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Oct 2007 07:25:05 -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:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=cRjFxS0ktv20/T38Rk266PnH2LSHGVQkmhYnyZj35lk=; b=TeTsg8VDonLPBOCr69avAVP764zj4d1YxNkhgJYtK5xrAgAl3kameFBC+HwaDmClZXi6wJH1X8B03+p9HJ1h3tlbSC6hGYCCOBUI0bC5Z0Ti1MY7hEDsaUFj0sv/1Co23MMst+M0gbEokiAW4Y21fyDyEVnipIV8hRMGKg4qvFY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hsyTIfZkwsE1o4bpeWO7T3J5giOMRTFH2TVpFUVWrkAV/1XATQAxAsUqEGOaUXGcApjI/Nq4Tl1+iuTQnYRdNh26GKh0MYwcHZXJpRn/P9YKZe8AkT00UeMRXRlfTsLq46rbFfhnWuFluGrIa8vTl9uCvHPDU5ptCkqgRK/DDLQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47288D23.7030101@xxxxxxxxx>
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> <47288D23.7030101@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Here are all files in /etc/ld.so.conf.d/, i don't see any reference to /lib/tls.

more /etc/ld.so.conf.d/*
::::::::::::::
/etc/ld.so.conf.d/kernelcap-2.6.18-8.1.14.el5.conf
::::::::::::::
# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 0 set in their hwcap match
# fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
# search in nosegneg subdirectories and to match this extra hwcap bit
# in the ld.so.cache file.
hwcap 0 nosegneg
::::::::::::::
/etc/ld.so.conf.d/kernelcap-2.6.18-8.1.15.el5.centos.plus.conf
::::::::::::::
# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 0 set in their hwcap match
# fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
# search in nosegneg subdirectories and to match this extra hwcap bit
# in the ld.so.cache file.
hwcap 0 nosegneg
::::::::::::::
/etc/ld.so.conf.d/mysql-i386.conf
::::::::::::::
/usr/lib/mysql
::::::::::::::
/etc/ld.so.conf.d/qt-i386.conf
::::::::::::::
/usr/lib/qt- 3.3/lib
I looked at that thread, however not clear on how i can compile it. Are there are more detailed howto or something which i can refer ?

Also we are not installing compiled xen 3.1.1 on top of centos xen packages. I had specifically removed all centos xen packages, and then installed xen 3.1.1. Inside dom0, i have no issues, only the domU is giving the /lib/tls error.

On 10/31/07, Nico Kadel-Garcia < nkadel@xxxxxxxxx> wrote:
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.



--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users