From: Marion Bates <mbates@whoopis.com>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Marion Bates <mbates@whoopis.com>, William Stearns <wstearns@pobox.com>
Subject: [uml-devel] strace of "ls" under Fedora Core 3
Date: Wed, 9 Feb 2005 11:40:54 -0500 [thread overview]
Message-ID: <69f5c8791e34adc0f05b7433f6c7e254@whoopis.com> (raw)
[this is Marion channeling Bill.]
As a quick reminder, Marion and Bill are trying to get i386 fedora
core 3 running under uml (2.6.4, with the i386 emulation code) on ford
(x86_64). The uml binaries don't have TLS support, so we've renamed
all of: /lib/tls. /usr/lib/tls, and /usr/X11R6/lib/tls directories.
Even with that done, we're getting "cannot set up LDT for thread-local
storage" as an error message when running something as simple as
/bin/ls. It appears that there's TLS system calls in the binary
itself, not just in the */lib/tls libraries:
...
brk(0) = 0x805d000
brk(0x807e000) = 0x807e000
brk(0) = 0x807e000
shutdown(1610612264, 81) = -1 ENOSYS (Function not
implemented)
modify_ldt(0x1, 0x5ffffe28, 0x10) = -1 ENOSYS (Function not
implemented)
write(2, "cannot set up thread-local stora"..., 36cannot set up
thread-local storage: ) = 36
write(2, "cannot set up LDT for thread-loc"..., 43cannot set up LDT for
thread-local storage
) = 43
write(2, "\n", 1
) = 1
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
The "modify_ldt" call looks ominous; In a perfect world, wouldn't the
/bin/ls binary realize it didn't have any tls library support and not
use TLS system calls?
Yeah, right. We can only hope. :-)
Any ideas?
- A befuddled Marion and Bill
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2005-02-09 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-09 16:40 Marion Bates [this message]
[not found] <A06801158AE07847B27A52C1A074BC1D0725A4D6@fmsmsx404.amr.corp.intel.com>
2005-02-10 11:26 ` [uml-devel] strace of "ls" under Fedora Core 3 Blaisorblade
2005-02-10 11:42 ` [uml-devel] strace of 'ls' " stian
2005-02-10 12:08 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69f5c8791e34adc0f05b7433f6c7e254@whoopis.com \
--to=mbates@whoopis.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=wstearns@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox