[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XEN : Getting Error: (22, 'Invalid argument') on starting guest domain.


  • To: Anand Gupta <xen.mails@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.