From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 6 23:10:43 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B1CE16A407 for ; Tue, 6 Mar 2007 23:10:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 4B56613C478 for ; Tue, 6 Mar 2007 23:10:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 30573 invoked by uid 399); 6 Mar 2007 23:10:42 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 6 Mar 2007 23:10:42 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45EDF4F0.5080605@FreeBSD.org> Date: Tue, 06 Mar 2007 15:10:40 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: Alexander Leidinger References: <45EB55DD.4030201@FreeBSD.org> <200703051156.34866.jkim@FreeBSD.org> <45ECA90E.3050202@FreeBSD.org> <200703051900.22022.jkim@FreeBSD.org> <45ECB049.8070304@FreeBSD.org> <20070306092828.h6klpijtomcogc0w@webmail.leidinger.net> In-Reply-To: <20070306092828.h6klpijtomcogc0w@webmail.leidinger.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: Re: Linux emulation instability 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: Tue, 06 Mar 2007 23:10:43 -0000 Alexander Leidinger wrote: > Quoting Doug Barton (from Mon, 05 Mar 2007 16:05:29 > -0800): > >> compat.linux.osrelease: 2.4.2 >> >> Based on your description, and the fact that you're running with >> ULE+libthr but with UP, I'd be pretty comfortable saying an SMP problem >> is "likely" at this point. If someone wants to come up with some >> patches that will likely help the futex+SMP problem, I'll be glad to >> test them. Otherwise further testing on my part will have to wait till >> I get some more spare cycles. > > I would be surprised if 2.6.x features like futexes are used with 2.4.2. > We don't disable futexes with 2.4.2, but some 2.6.x features are > disabled and the glibc of linux_base-fc4 doesn't switch to using 2.6.x > features when osrelease is set to 2.4.2. Additionally futexes are not > fully implemented on amd64 (at least not in HEAD). > > Also you should not focus on libthr, as it is not used for linux stuff. Thanks for clearing that up. Would switching to a different linux_base port, and/or setting compat.linux.osrelease to something else be a useful exercise? This is thunderbird 2.0b2, so it may be expecting 2.6 stuff that we're not giving it, which may be why it's crashing. > It would be interesting to know where linux-thunderbird locks up. With a > ktrace and maybe the output of linuxulator debugging messages we may be > able to narrow this down to the real problem. Ok, ktrace I can handle, what kind of debugging needs to be set for the linuxulator? > At this point I'm not 100% convinced it is a linux problem per se. It's 100% reproducible with the combination of ULE+SMP+linux-thunderbird. OTOH, I did pretty extensive testing without ULE (still running fine that way now, btw), and with ULE but without using linux-thunderbird, and it was fine. I will buy that the linux-thunderbird code might be doing something it shouldn't, but we shouldn't reboot or freeze because of it in any case. Doug -- This .signature sanitized for your protection