From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 29 21:17:15 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 7BC5416A5CA for ; Fri, 29 Sep 2006 21:17:15 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54FA043D49 for ; Fri, 29 Sep 2006 21:17:13 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.152]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k8TLGpxA038846; Sat, 30 Sep 2006 01:17:02 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GTPii-0000Fk-LU; Sat, 30 Sep 2006 01:16:32 +0400 To: Divacky Roman References: <20060929150435.GA27118@stud.fit.vutbr.cz> From: Boris Samorodov Date: Sat, 30 Sep 2006 01:16:32 +0400 In-Reply-To: <20060929150435.GA27118@stud.fit.vutbr.cz> (Divacky Roman's message of "Fri, 29 Sep 2006 17:04:35 +0200") Message-ID: <37304031@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: emulation@freebsd.org Subject: Re: amd64 TLS implementation 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, 29 Sep 2006 21:17:15 -0000 Hi, Roman! Glad to hear you. ;-) On Fri, 29 Sep 2006 17:04:35 +0200 Divacky Roman wrote: > this http://www.stud.fit.vutbr.cz/~xdivac02/amd64-tls.patch is yet another > attempt to do TLS on amd64. This time I am quite hopefull it might work. > I dont have amd64 system at hand so pls test: > 1) build kernel with this patch Two new files from the patch (linux_aio.c and linux_aio.h) should be at a separate patch. And seems that if_em.c stuff doesn't belong to your patch. The kernel builds fine. > 2) sysctl compat.linux.osrelease=2.6.16 > 3) chroot /compat/linux /bin/bash And here we get core dumpted. > pls report me what happened (desired behaviour is to get bash prompt) Well, but your patches may be good but it's another bug (well known, which always lead to bash core dumps). Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve