On my hardy install, the xen.conf file was missing.
Also, according to /arch/x86/xen/vdso.h in the kernel source, the hwcaps bit should be 1, not 0.
I've tried it all 3 ways (without the config, with it set to 0, and 1), and none of them work. Output of "ldd /bin/true" is always:
linux-gate.so.1 => (0xf57fe000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db0000) /lib/ld-linux.so.2 (0xb7f05000)
I did notice something in the output from ldconfig -p though. For the cmov version, the 4th nibble is set to 8, whereas it's 0 on the nosegneg version.
with hwcap 1 nosegneg: # ldconfig -p | grep ld-linux.so.2 ld-linux.so.2 (ELF, hwcap: 0x8028000000000000) => /lib/tls/i686/nosegneg/ld-linux.so.2 ld-linux.so.2 (ELF, hwcap: 0x8008000000008000) => /lib/tls/i686/cmov/ld-linux.so.2 ld-linux.so.2 (ELF) => /lib/ld-linux.so.2
with hwcap 0 nosegneg: # ldconfig -p | grep ld-linux.so.2 ld-linux.so.2 (ELF, hwcap: 0x8018000000000000) => /lib/tls/i686/nosegneg/ld-linux.so.2 ld-linux.so.2 (ELF, hwcap: 0x8008000000008000) => /lib/tls/i686/cmov/ld-linux.so.2 ld-linux.so.2 (ELF) => /lib/ld-linux.so.2
with no xen.conf: # ldconfig -p | grep ld-linux.so.2 ld-linux.so.2 (ELF, hwcap: 0x8008000000008000) => /lib/tls/i686/cmov/ld-linux.so.2 ld-linux.so.2 (ELF) => /lib/ld-linux.so.2
I don't know if that's significant. I don't know how to find out what hwcaps the kernel is advertising.
thanks, Alex
On my hardy install, the xen.conf file was missing.
Also, according to /arch/x86/ xen/vdso. h in the kernel source, the hwcaps bit should be 1, not 0.
I've tried it all 3 ways (without the config, with it set to 0, and 1), and none of them work. Output of "ldd /bin/true" is always:
libc.so.6 => /lib/tls/
I did notice something in the output from ldconfig -p though. For the cmov version, the 4th nibble is set to 8, whereas it's 0 on the nosegneg version.
with hwcap 1 nosegneg:
ld-linux. so.2 (ELF, hwcap: 0x8028000000000000) => /lib/tls/ i686/nosegneg/ ld-linux. so.2
ld-linux. so.2 (ELF, hwcap: 0x8008000000008000) => /lib/tls/ i686/cmov/ ld-linux. so.2
ld-linux. so.2 (ELF) => /lib/ld-linux.so.2
# ldconfig -p | grep ld-linux.so.2
with hwcap 0 nosegneg:
ld-linux. so.2 (ELF, hwcap: 0x8018000000000000) => /lib/tls/ i686/nosegneg/ ld-linux. so.2
ld-linux. so.2 (ELF, hwcap: 0x8008000000008000) => /lib/tls/ i686/cmov/ ld-linux. so.2
ld-linux. so.2 (ELF) => /lib/ld-linux.so.2
# ldconfig -p | grep ld-linux.so.2
with no xen.conf:
ld-linux. so.2 (ELF, hwcap: 0x8008000000008000) => /lib/tls/ i686/cmov/ ld-linux. so.2
ld-linux. so.2 (ELF) => /lib/ld-linux.so.2
# ldconfig -p | grep ld-linux.so.2
I don't know if that's significant. I don't know how to find out what hwcaps the kernel is advertising.
thanks,
Alex