From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 3 21:51:49 2006 Return-Path: X-Original-To: freebsd-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 4F28C16A417 for ; Fri, 3 Nov 2006 21:51:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7675543D46 for ; Fri, 3 Nov 2006 21:51:48 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA3LpUA0069573; Fri, 3 Nov 2006 16:51:32 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Fri, 3 Nov 2006 16:51:15 -0500 User-Agent: KMail/1.6.2 References: <20061031182625.GM1627@deviant.kiev.zoral.com.ua> <200610311945.56003.jkim@FreeBSD.org> <20061101091301.GA91887@stud.fit.vutbr.cz> In-Reply-To: <20061101091301.GA91887@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200611031651.18177.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/2160/Fri Nov 3 13:46:27 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: 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: Fri, 03 Nov 2006 21:51:49 -0000 On Wednesday 01 November 2006 04:13 am, Divacky Roman wrote: > 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? It did not fix the problem. :-( > and if that doesnt work look at the issue (I guess you are fluen > with amd64 internals). Unfortunately I don't have time ATM. I will try later when I find some time. Thanks, Jung-uk Kim