On Monday 03 October 2005 16:35, Alexander Charbonnet wrote: > Hi everybody,
> I've got a brand new Opteron server, and I'm successfully running the AMD64 > port of Debian. I can compile UML just fine (kernel version 2.6.13.2), I > debootstrap the root filesystem, and everything seems okay. > When running a UML, I get the following symptoms: > 1) The SSH server drops a connection just as it should prompt for a > password. 2) Apache2 children constantly segfault, filling the logs with > "child pid 10176 exit signal Segmentation fault", making Apache unable to > serve pages (although thttpd works). Verify if with prefork rather than threads it works (if that's easily possible). > 3) Any nslookup segfaults immediately. > It sounds like I'm describing TLS being enabled, which of course doesn't > work with UML. But /lib/tls does not exist, and in fact, `locate tls|grep > tls$` returns nothing. > Is TLS on "by default" in the glibc that's in Debian AMD64, since it can > "safely" assume that its CPU supports it? How do I make UML work in this > situation? I don't think so - the main problem about TLS (or better, NPTL) is that 2.4 doesn't support it. However, there are some distros which enable TLS (not NPTL) in glibc unconditionally, i.e. (to my previous knowledge) Gentoo. And TLS seems to have a bit of problems. Try running the /lib/libc.so.6 file (yes, you can), it should report some version/features info. Post it and we'll see. For instance, on my Gentoo host, without NPTL but with TLS: /lib/libc.so.6 GNU C Library stable release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r1, ssp-3.4.3.20050110-0, pie-8.7.7). Compiled on a Linux 2.6.8 system on 2005-04-07. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others # NOTE NOTE NOTE, this means "no NPTL" linuxthreads-0.10 by Xavier Leroy # NOTE NOTE NOTE The C stubs add-on version 2.1.2. BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Glibc-2.0 compatibility add-on by Cristian Gafton GNU Libidn by Simon Josefsson libthread_db work sponsored by Alpha Processor Inc # NOTE NOTE NOTE Thread-local storage support included. # NOTE NOTE NOTE For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user