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

Re: [Xen-users] xen build and tls



Paras pradhan wrote:
ok tested in a fresh install . did not work... both nosegneg and disabling tls.

Well that's bizarre. "hwcap 0 nosegneg" in a *.conf in /etc/ld.so.conf.d/foo.conf is exactly what the Xen CentOS and Fedora Xen installations do because it just tells the runtime linker to use the xen-friendly .so's

Can you confirm exactly what you did? These are the instructions I compiled for someone here recently, is this what you did?

1. Make doubly sure you're running what you think you're running (yes, I know, but ...)

   $ cat /etc/redhat-release
   CentOS release 5.2 (Final)

2. Create a suitable ld config file:

   $ echo "hwcap 0 nosegneg" > /etc/ld.so.conf.d/xen.conf

It's important that the file name ends ".conf" because /etc/ld.so.conf says "include ld.so.conf.d/*.conf" which means, of course that it will ignore any files in /etc/ld.so.conf.d that don't end ".conf".

3. Run (as root) "/sbin/ldconfig"  should take a while.

4. You may not need to do this, but reboot to make sure everything gets fresh shared libraries.

5. Double check that code is picking up the nosegneg libraries:

   $ ldd /sbin/modprobe
       linux-gate.so.1 =>  (0xb7f07000)
       libc.so.6 => /lib/i686/nosegneg/libc.so.6 (0x43271000)
       /lib/ld-linux.so.2 (0x00978000)

I'm pretty sure this is write, I transcribed it from a scrap of paper :-)

jch

_______________________________________________
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®.