jiang wang
2009-Mar-10 18:22 UTC
[Xen-users] How to disable tls on CentOS 5 with Xen 3.3.1?
Hi: I downloaded Xen 3.3.1 source from xen.org, compiled and installed it on CentOS 5. At first boot into xen, I got an error message about tls and told me to use "mv /lib/tls /lib/tls.disabled" to disable it. I issued that command after the first boot. And also tried to remove that directory to /root. But after that, I still got the same error message about tls when booting into Xen. The offending process is "modprobe". I tried to reinstall xen using "sh ./dist/install.sh" and rebuild ramdisk using "mkinitrd" command. But that error remains. And the system is very slow. How to disable the tls? Should I use "make world" again? BTW: I am running the CentOS in a VMware workstation virtual machine. So the Xen is on top of vmware workstation. I am not sure whether it matters. But I can run Xen3.0.3 coming with CentOS without the tls problem. I want to compile Xen 3.3.1 because I want to enable some debug options and test the newest stable version of Xen. Regards, Jiang _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Haxby
2009-Mar-10 18:42 UTC
Re: [Xen-users] How to disable tls on CentOS 5 with Xen 3.3.1?
jiang wang wrote:> Hi: > > I downloaded Xen 3.3.1 source from xen.org, compiled and installed it > on CentOS 5. At first boot into xen, I got an error message about tls > and told me to use "mv /lib/tls /lib/tls.disabled" to disable it. I > issued that command after the first boot. And also tried to remove > that directory to /root. >The suggestion does nothing on CentOS because that directory is empty. Put this in /etc/ld.conf.so.d/xen.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 Note that the file name _must_ end ".conf". When you''ve done that, run /sbin/ldconfig and reboot. The problem should go away. jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jiang wang
2009-Mar-10 19:28 UTC
Re: [Xen-users] How to disable tls on CentOS 5 with Xen 3.3.1?
It works. Thank you very much. Just to clarify, the path for xen.conf should be /etc/ld.so.conf.d/xen.conf Regards, Jiang --- 09年3月11日,周三, John Haxby <john.haxby@oracle.com> 写道: 发件人: John Haxby <john.haxby@oracle.com> 主题: Re: [Xen-users] How to disable tls on CentOS 5 with Xen 3.3.1? 收件人: "jiang wang" <jwangzju@yahoo.com.cn> 抄送: xen-users@lists.xensource.com 日期: 2009年3月11日,周三,上午2:42 jiang wang wrote:> Hi: > > I downloaded Xen 3.3.1 source from xen.org, compiled and installed it on CentOS 5. At first boot into xen, I got an error message about tls and told me to use "mv /lib/tls /lib/tls.disabled" to disable it. I issued that command after the first boot. And also tried to remove that directory to /root. >The suggestion does nothing on CentOS because that directory is empty. Put this in /etc/ld.conf.so.d/xen.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 Note that the file name _must_ end ".conf". When you''ve done that, run /sbin/ldconfig and reboot. The problem should go away. jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Haxby
2009-Mar-11 12:41 UTC
Re: [Xen-users] How to disable tls on CentOS 5 with Xen 3.3.1?
jiang wang wrote:> It works. Thank you very much. >My pleasure!> > Just to clarify, the path for xen.conf should be > /etc/ld.so.conf.d/xen.conf >Yes, that''s right. jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users