7.0, fedora-8 and "kernel: linux_sys_futex: unknown op 129"

Boris Samorodov bsam at ipt.ru
Wed Mar 19 00:33:34 UTC 2008


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


More information about the freebsd-emulation mailing list