From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 3 14:10:23 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 6DC2B16A492; Fri, 3 Nov 2006 14:10:23 +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 BD39043D73; Fri, 3 Nov 2006 14:10:17 +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 kA3EAFBs015732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Nov 2006 15:10:15 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA3EAFxQ015728; Fri, 3 Nov 2006 15:10:15 +0100 (CET) Date: Fri, 3 Nov 2006 15:10:15 +0100 From: Divacky Roman To: Alexander Leidinger Message-ID: <20061103141015.GA14659@stud.fit.vutbr.cz> References: <20061031182625.GM1627@deviant.kiev.zoral.com.ua> <200610311436.53134.jkim@FreeBSD.org> <790a9fff0610312356h44a7fd1bj7aafaae6646f0cc6@mail.gmail.com> <20061101090640.GQ1627@deviant.kiev.zoral.com.ua> <790a9fff0611020956i77e0908ald4e1bcd7e35797ce@mail.gmail.com> <20061103120744.b1maawmg280ck8sc@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061103120744.b1maawmg280ck8sc@webmail.leidinger.net> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: Kostik Belousov , freebsd-emulation@freebsd.org, Scot Hetzel , freebsd-amd64@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: Fri, 03 Nov 2006 14:10:23 -0000 On Fri, Nov 03, 2006 at 12:07:44PM +0100, Alexander Leidinger wrote: > Quoting Scot Hetzel (from Thu, 2 Nov 2006 > 11:56:23 -0600): > > >execve(/compat/linux/usr/lib/../bin/wine-preloader) > >: > >Nov 2 08:36:53 hp010 kernel: linux(1380): set_thread_area(-1, > >9c2666c0, fffff, 1, 0, 0, 1, 0, 1 > >Nov 2 08:36:53 hp010 kernel: ) > >Nov 2 08:36:53 hp010 kernel: linux(1380): set_tid_address(0x48) > >Nov 2 08:39:10 hp010 kernel: pid 1380 (wine-preloader), uid 0: exited > >on signal 11 (core dumped) > > Is this with the patch Roman announced, or with the > linuxolator-p4.diff on Leidinger.net? I doubt my patch fixes this.... no process should send to another process signal 11... > >This failure got as far as loading wine-preloader, before > >wine-preloader core dumped, /compat/linux/usr/bin/wine was running, as > >it was used to start wine-preloader. > > > >Instead, it fails now fails with: > > > >fatal process exception: page fault, fault VA = 0x8 > >Segmentation fault (core dumped) > > > >messages: > >Nov 2 08:47:17 hp010 kernel: linux(1251): set_thread_area(-1, > >282ad6c0, fffff, 1, 0, 0, 1, 0, 1 > >Nov 2 08:47:17 hp010 kernel: ) > >Nov 2 08:47:17 hp010 kernel: pid 1251 (wine), uid 0: exited on signal > >11 (core dumped) > > > >Which occurs after wine executes set_thread_area. > > Did you rebvoot in between? There's a bug with TLS on amd64 which only > allows to use TLS once. And I think Roman didn't fixed it yet (but > have a look at the mailarchives, I think he asked for a test of some > changes revently). no.. I dont have any fix for this. I need a real amd64 machine to test some of my ideas. I also need to start working on school things (my half-term exams are coming) etc. ;( roman