Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 20:27:09 -0400
From:      Gary Stanley <gary@velocity-servers.net>
To:        Boris Samorodov <bsam@ipt.ru>,freebsd-emulation@FreeBSD.org
Subject:   Re: 7.0, fedora-8 and "kernel: linux_sys_futex: unknown op 129"
Message-ID:  <20080319002713.700848FC1E@mx1.freebsd.org>
In-Reply-To: <96317980@ipt.ru>
References:  <96317980@ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080319002713.700848FC1E>