From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 3 21:39:59 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 A526216A49E for ; Fri, 3 Nov 2006 21:39:59 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5B8E43D5F for ; Fri, 3 Nov 2006 21:39:10 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so476277uge for ; Fri, 03 Nov 2006 13:39:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CYBnt+zGcjPSCB4iqhIGocxDUpucpB9btzKt2A2ZiCtT4hK8vdsfxvKCYBXvD2lQbrLko7z/hrfnA1Vv/55NsoLhITT9vx8iawMu/ixBTb4wW7YBKvyFU8+gv2Ogev6qf+u3UMSrBV8QHMpJBVrlq7PsQ/xub+mK3Evzh/cgyeU= Received: by 10.66.242.5 with SMTP id p5mr3406228ugh.1162589940018; Fri, 03 Nov 2006 13:39:00 -0800 (PST) Received: by 10.67.86.8 with HTTP; Fri, 3 Nov 2006 13:38:59 -0800 (PST) Message-ID: <790a9fff0611031338i874083di2e8a44d6b7cc1280@mail.gmail.com> Date: Fri, 3 Nov 2006 15:38:59 -0600 From: "Scot Hetzel" To: "Alexander Leidinger" In-Reply-To: <20061103120744.b1maawmg280ck8sc@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> Cc: Kostik Belousov , freebsd-emulation@freebsd.org, 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 21:39:59 -0000 On 11/3/06, 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? > This is with the Oct-29th linuxolator patch on Leidinger.net > > 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 reboot 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). > I tried it again, and if I reboot before running wineprefixcreate, then I am able to reproduce the first error with wine-preloader. So I guess it is being hit by this bug in TLS. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.