[kib@freebsd.org: [src] cvs commit: src/sys/amd64/linux32 linux32_sysvec.c]

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Wed Nov 1 09:13:05 UTC 2006


On Tue, Oct 31, 2006 at 07:45:53PM -0500, Jung-uk Kim wrote:
> On Tuesday 31 October 2006 07:34 pm, Alexander Leidinger wrote:
> > Quoting Jung-uk Kim <jkim at FreeBSD.org> (Tue, 31 Oct 2006 15:58:26 
> -0500):
> > > On Tuesday 31 October 2006 02:36 pm, Jung-uk Kim wrote:
> > > > I am running full LTP and it seems very promising so far.
> > >
> > > I have run LTP 20060822 against ~1 day old source + the fix. 
> > > Here are the results:
> >
> > Can you please run the 20061017 LTP?
> 
> I cannot build LTP because gmake core dumps, i.e., TLS is missing for 
> amd64.  Can you update your LTP tarball?  Is your TLS patch for amd64 
> in p4 tree functional?

the state of amd64-TLS is this:

its basically implemented but there's a bug that lets only first program
run with TLS, all subsequent attempts to use TLS segfaults. I discussed this
with davidxu@ and he told me saw something similar which was caused by
reloading of %gs $somewhere. I digged through the sources and in
linux32_locore.s we reload it.. I am no expert with this so I'd like to
ask you for help and possible testing.

can you test p4 branch (which includes amd64-tls) with the %gs/%fs reloading
commented out in linux32_locore.s? and if that doesnt work look at the issue
(I guess you are fluent with amd64 internals).

thnx

roman


More information about the freebsd-emulation mailing list