From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 1 09:13:05 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E40D16A412; Wed, 1 Nov 2006 09:13:05 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D8B43D53; Wed, 1 Nov 2006 09:13:03 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kA19D1ll092567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Nov 2006 10:13:01 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA19D10O092566; Wed, 1 Nov 2006 10:13:01 +0100 (CET) Date: Wed, 1 Nov 2006 10:13:01 +0100 From: Divacky Roman To: Jung-uk Kim Message-ID: <20061101091301.GA91887@stud.fit.vutbr.cz> References: <20061031182625.GM1627@deviant.kiev.zoral.com.ua> <200610311558.29598.jkim@FreeBSD.org> <20061101013444.7df5fb47@Magellan.Leidinger.net> <200610311945.56003.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610311945.56003.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: emulation@freebsd.org Subject: Re: [kib@freebsd.org: [src] cvs commit: src/sys/amd64/linux32 linux32_sysvec.c] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 09:13:05 -0000 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 (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