From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 19:12:51 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0732B16A419 for ; Mon, 11 Feb 2008 19:12:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF2613C478 for ; Mon, 11 Feb 2008 19:12:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 692E943E028; Mon, 11 Feb 2008 21:12:48 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id prkEIzwOBsDf; Mon, 11 Feb 2008 21:12:48 +0200 (EET) Received: from [10.74.70.239] (unknown [193.138.145.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 7893A43DCF3; Mon, 11 Feb 2008 21:12:22 +0200 (EET) Message-ID: <47B09DCE.6010002@icyb.net.ua> Date: Mon, 11 Feb 2008 21:11:10 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071208) MIME-Version: 1.0 To: Jung-uk Kim References: <47B074D5.1020602@icyb.net.ua> <200802111241.34097.jkim@FreeBSD.org> In-Reply-To: <200802111241.34097.jkim@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: bug in recent linux mmap changes ? 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: Mon, 11 Feb 2008 19:12:51 -0000 on 11/02/2008 19:41 Jung-uk Kim said the following: > On Monday 11 February 2008 11:16 am, Andriy Gapon wrote: [snip] >> I can provide more diagnostics later, if needed, but in both cases >> I see that the last system call in a troublesome thread/process is >> linux_mmap(). I did a brief search through recent linux_mmap >> changes and I think that there is a bug in the following commit (I >> am writing this hastiliy, so I haven't yet tested a possible fix): >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_machdep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h > > Good catch! Can you test the attached patch? > Jung-uk, your patch fixed it for me on i386, no amd64 near me at this moment. Thank you very much! -- Andriy Gapon