From owner-freebsd-current@FreeBSD.ORG Fri Aug 25 03:12:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A2EC16A4DE; Fri, 25 Aug 2006 03:12:16 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4390A43D46; Fri, 25 Aug 2006 03:12:15 +0000 (GMT) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Fri, 25 Aug 2006 11:12:10 +0800 id 00108807.44EE6A8A.00008655 From: "Intron is my alias on the Internet" To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Date: Fri, 25 Aug 2006 11:12:10 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Subject: Linuxulator: Unbreak Mozilla, Firefox and RealPlayer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 03:12:16 -0000 Debugging is somewhat MUCH MORE DIFFICULT than rewriting. Here is the minimum patch that can only unbreak Mozilla 1.7.12 (GTK 1), Firefox 1.0.7 and RealPlayer 10.0.7.785 (playing video) (sysctl compat.linux.osrelease=2.6.16). It doesn't mean problems of clone(2) have been fixed. Actually, clone(2), set_thread_area(2) and get_thread_area(2) are mis-interpreted. Adobe Reader 7.0.8 hasn't been completely unbroken yet. Problems around it seem to be more complicated. My patch (against /sys/i386/linux/linux_machdep.c of CVS revision 1.53): http://ftp.intron.ac/tmp/linux_machdep.c.1.53.diff ------------------------------------------------------------------------ From Beijing, China