From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 19 13:04:39 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 668251065671 for ; Wed, 19 Mar 2008 13:04:39 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED318FC16 for ; Wed, 19 Mar 2008 13:04:38 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A286C677323; Wed, 19 Mar 2008 14:04:30 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dx99uGeif30; Wed, 19 Mar 2008 14:04:14 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BDEA167740C; Wed, 19 Mar 2008 14:04:14 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m2JD4EdY039673; Wed, 19 Mar 2008 14:04:14 +0100 (CET) (envelope-from rdivacky) Date: Wed, 19 Mar 2008 14:04:14 +0100 From: Roman Divacky To: Boris Samorodov Message-ID: <20080319130414.GA39553@freebsd.org> References: <96317980@ipt.ru> <20080319002713.700848FC1E@mx1.freebsd.org> <20080319090956.GA21624@freebsd.org> <19519382@ipt.ru> <20080319121846.GA34969@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080319121846.GA34969@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@FreeBSD.org Subject: Re: 7.0, fedora-8 and "kernel: linux_sys_futex: unknown op 129" 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, 19 Mar 2008 13:04:39 -0000 On Wed, Mar 19, 2008 at 01:18:46PM +0100, Roman Divacky wrote: > On Wed, Mar 19, 2008 at 01:01:13PM +0300, Boris Samorodov wrote: > > On Wed, 19 Mar 2008 10:09:56 +0100 Roman Divacky wrote: > > > On Tue, Mar 18, 2008 at 08:27:09PM -0400, Gary Stanley wrote: > > > > At 08:17 PM 3/18/2008, Boris Samorodov wrote: > > > > >Hi! > > > > > > > > > > > > > > >I see some kernel messages "kernel: linux_sys_futex: unknown op 129" > > > > >when launching print/acroread7 with emulators/linux_base-f8 (soon will > > > > >appear at ports) and compat.linux.osrelease=2.6.16 at 7.0-RELEASE. > > > > > > > > > >Nothing seems to be broken but I don't like such messages. ;-) > > > > > > > > > >Is it hard to emplement one? Thanks! > > > > > > > > Try this to silence them. They appear to be harmless for now. > > > > > I'll commit a patch that silences this as it is really harmless... > > > > Yes, it will be great, thanks. > > And what about implementing the unknown linux_sys_futex 128-129? Is it > > hard/real? The op no 128 is used many times. Actually, linux-firefox is > > cycled on op 128 and is not launched. > > thats FUTEX_PRIVATE_FLAG and if I understand it correctly we can just > ignore this flag and pretend its just "normal" futex. > > I'll post a patch soon.. anyone willing to test? hm... I think our current implementation of futexes is "private" so ignoring the flag is the right thing ;) the super-correct solution would be to if (!(flags & FUTEX_PRIVATE_FLAG)) return (EINVAL); but this is nonsense..