From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 29 21:00:12 2006 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 0827816A4A7; Wed, 29 Nov 2006 21:00:11 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39B2743C9D; Wed, 29 Nov 2006 21:00:02 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id kATKwsi7075478; Wed, 29 Nov 2006 13:58:54 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id kATKwksW003488; Wed, 29 Nov 2006 13:58:46 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id kATKwjK4003485; Wed, 29 Nov 2006 13:58:45 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17773.62597.411535.477324@gromit.timing.com> Date: Wed, 29 Nov 2006 13:58:45 -0700 From: John E Hein To: Jung-uk Kim In-Reply-To: <200611071201.11899.jkim@FreeBSD.org> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem 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: Wed, 29 Nov 2006 21:00:12 -0000 Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006: > Try the attached patch instead. > > Jung-uk Kim > --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006 > +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006 > @@ -130,7 +130,7 @@ > int temp; > > temp = td->td_retval[0]; > - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0) > return; > fd = td->td_retval[0]; > td->td_retval[0] = temp; I don't know if there's been progress made here that I didn't notice, but even with this patch, I can get linux_seamonkey to hang in fifoor (like when I click on an URL to a PDF and try to 'Save it to disk').