Blaisorblade wrote:
On Thursday 14 July 2005 22:30, Rob Landley wrote:
On Thursday 14 July 2005 13:16, Rob Landley wrote:
Bodo's patch seems to have fixed the problem (albeit in a way that
reveals ubuntu is using thread-local storage, so I can't use it anyway).
Hang on a sec, if TLS is screwing up -skas0, then why does -tt mode work?
Is this expected?
Hmm, I've seen TLS falling back on modify_ldt() at times, and it's surely a
bit bogus in current trees (although I have a partial fix for it, but not
sure whether it will work). Do you think init=/usr/bin/strace /bin/ls would
work? Uncomprehensible kernel params are passed to init, so it could.
Testing SKAS0 some month ago, I had problems with TLS in LDT, too. It didn't
print any message, but the processes looped on a segfault.
Debugging this, I changed SKAS0 to use the full faultinfo, so in the newer
versions it detects that the fault isn't fixable and generates SIGSEGV.
But I also had to add some code to make sys_modify_ldt work in SKAS0 (reading
and writing).
Most of this is in skas-hold-own-ldt, but further patches (e.g. skas0-clone)
might be necessary. The patches can be found in Jeff's incrementals.
Bodo
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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