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: 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 15:32:29 +0000
Cc: Arun Sharma <arunain@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Oct 2007 08:31:54 -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=vzZK2FdtYLrK8QsDiHhmwk8om2j5+fqqI4zyKNdfnd0=; b=CaOU6jzAsvpVTmJu2ar8TkD78/gYmx5NvfEVs23yoztVWPvBmdowRy/jJLzkUy0TqITgib2RAOpttuEhkLC4uHqH8YnLWsGG1RqqiTk00atmOYJ0Ymp6mRMrJV+aHAryt+SSU0bZY7nAg6WyabCdjOAeANSvxkqTS1pviT9+LVk=
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=CQuUCCci6HUW2/dHpwkiYwPKWp4fLU23qazDoWgCakYrXw7BQKCb5O60GVNjC4J3aPoVn42Kx/ozw5Tq7xpp+mDSpSn62lUSdy5uAeYhYMU3AqWEdG8zaEASwIfH1DHrHdswDFAymIgjZsJrdf1/tmxKiABZLwv+Ff+SHz08k7U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00710310724t73c3559cl8d39612683a79c22@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> <47288D23.7030101@xxxxxxxxx> <acb757c00710310724t73c3559cl8d39612683a79c22@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.13 (Windows/20070809)
Anand Gupta wrote:
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

That's the one for that kernel: in layman's terms, it tells ldconfig to look in /lib, not in /lib/tls.

    ::::::::::::::
    /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

And that's the one for the Centosplus kernel.

    ::::::::::::::
    /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 ?
You'd edit the .spec file from the SRPM for glibc, recompile it with the modified configure statement, and install the new RPM's. Are you comfortable with rebuilding RPM's?

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.
Right. The Xen kernel and glibc are reporting that it will look in /lib/tls for libraries, and reporting that you will suffer a serious performance penalty for any functions using those libraries. There are similar libraries in /lib, which should be used instead in a Xen guest.


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