From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 19 00:27:13 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 8287F106566B for ; Wed, 19 Mar 2008 00:27:13 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from longhorn.velocity-servers.net (longhorn.velocity-servers.net [65.99.246.30]) by mx1.freebsd.org (Postfix) with ESMTP id 700848FC1E for ; Wed, 19 Mar 2008 00:27:13 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from pool-70-106-59-217.hag.east.verizon.net ([70.106.59.217] helo=dragoon.velocity-servers.net) by longhorn.velocity-servers.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jbm9B-000OLg-V2; Tue, 18 Mar 2008 19:27:14 -0500 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 18 Mar 2008 20:27:09 -0400 To: Boris Samorodov ,freebsd-emulation@FreeBSD.org From: Gary Stanley In-Reply-To: <96317980@ipt.ru> References: <96317980@ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - longhorn.velocity-servers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - velocity-servers.net Message-Id: <20080319002713.700848FC1E@mx1.freebsd.org> Cc: 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:27:13 -0000 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. --- 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); @@ -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);