Hi, I''m finally getting somewhere with Xen 3.1 on fc6.. :) At booting time I noticed a TLS message to disable TLS. When I move the /lib/tls to /lib/tls.disabled I still get the TLS message during booting. Why? And how can verify that Xen is running in emulation mode due to tls while the system is running? Thank again. Regards, Rob _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jun 14, 2007 at 05:17:11PM +0200, Rob van Oostveen wrote:> Hi, > > I''m finally getting somewhere with Xen 3.1 on fc6.. :) > > At booting time I noticed a TLS message to disable TLS. When I move the > /lib/tls to /lib/tls.disabled I still get the TLS message during booting. Why?There should be nothing in /lib/tls (now /lib/tls.disabled), the standard glibc in Fedora now uses unconditionally tls. The standard Fedora kernel installs this ld.so configuration file: $ cat etc/ld.so.conf.d/kernelcap-2.6.20-1.2952.fc6.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 Create that file, and then run ldconfig. The system should now use the proper libraries for Xen. If it doesn''t, then the xen kernel doesn''t change the vDSO as fedora''s does. In which case, copy the nosegneg versions over the standard ones. -- lfr 0/0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jun 14, 2007 at 05:17:11PM +0200, Rob van Oostveen wrote:> Hi, > > I''m finally getting somewhere with Xen 3.1 on fc6.. :) > > At booting time I noticed a TLS message to disable TLS. When I move the > /lib/tls to /lib/tls.disabled I still get the TLS message during booting. Why?This instruction has been irrelevant since FC5 - we remove this warning message from the kernel. The dynamic linker will automatically pick the correct GLibC library. Even with that though, certain processes will still print TLS messages because they are statically linked (kudzu, prelink, init) or are just doing their own crazy stuff (mono, beagled). The majority of apps will run correctly. The only gotcha if you''re using XenSource''s RPMs instead of the official Fedora RPMs for kerenl-xen, is that you''ll be missing a linker config file in /etc/ld.so.conf.d/ containing ''hwcap 0 nosegneg''> And how can verify that Xen is running in emulation mode due to tls while the > system is running?If every single app is causing thousands of TLS message to be spewed to the console, then its not working - if you only see a handful of messages from the apps i mention above, then it is working. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel, Thank you for your reply.> The only gotcha if you''re using XenSource''s RPMs instead of the official > Fedora RPMs for kerenl-xen, is that you''ll be missing a linker config > file in /etc/ld.so.conf.d/ containing ''hwcap 0 nosegneg''I''m not using the rpm''s, but instead the source file from which I build the Xen environment.> If every single app is causing thousands of TLS message to be spewed to > the console, then its not working - if you only see a handful of messages > from the apps i mention above, then it is working.I don''t get any messages except at booting time. So no worries then? :) Thanks. Regards, Rob _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users