From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 19 00:33:34 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 2F52B1065670 for ; Wed, 19 Mar 2008 00:33:34 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id EEC0D8FC19 for ; Wed, 19 Mar 2008 00:33:33 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.182] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JbmFJ-000Bai-5L; Wed, 19 Mar 2008 03:33:33 +0300 To: Gary Stanley References: <96317980@ipt.ru> From: Boris Samorodov Date: Wed, 19 Mar 2008 03:33:07 +0300 In-Reply-To: (Gary Stanley's message of "Tue\, 18 Mar 2008 20\:27\:09 -0400") Message-ID: <30237036@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 00:33:34 -0000 On Tue, 18 Mar 2008 20:27:09 -0400 Gary Stanley wrote: > At 08:17 PM 3/18/2008, Boris Samorodov wrote: > >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. Got it, thanks. > --- linux_futex.c.old 2008-03-11 21:32:18.000000000 -0500 > +++ linux_futex.c 2008-03-11 21:31:38.000000000 -0500 > @@ -112,7 +112,7 @@ > struct futex *f2; > int op_ret; > -#ifdef DEBUG > +#ifdef DEBUG > if (ldebug(sys_futex)) > printf(ARGS(futex, "%p, %i, %i, *, %p, %i"), > args->uaddr, args->op, > args->val, args->uaddr2, args->val3); Didn't catch the purpose of this change... > @@ -265,8 +265,10 @@ > case LINUX_FUTEX_FD: > /* XXX: Linux plans to remove this operation */ > +#ifdef DEBUG > printf("linux_sys_futex: unimplemented op %d\n", > args->op); > +#endif > break; > case LINUX_FUTEX_WAKE_OP: > @@ -325,8 +327,10 @@ > break; > default: > +#ifdef DEBUG > printf("linux_sys_futex: unknown op %d\n", > args->op); > +#endif > return (ENOSYS); > } > return (0); WBR -- bsam