linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] strace of "ls" under Fedora Core 3
@ 2005-02-09 16:40 Marion Bates
  0 siblings, 0 replies; 4+ messages in thread
From: Marion Bates @ 2005-02-09 16:40 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Marion Bates, William Stearns

[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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-10 12:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2005-02-09 16:40 [uml-devel] strace of "ls" " Marion Bates

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox