Date: Wed, 19 Mar 2008 03:33:07 +0300 From: Boris Samorodov <bsam@ipt.ru> To: Gary Stanley <gary@velocity-servers.net> Cc: freebsd-emulation@FreeBSD.org Subject: Re: 7.0, fedora-8 and "kernel: linux_sys_futex: unknown op 129" Message-ID: <30237036@ipt.ru> In-Reply-To: <cmu-lmtpd-44499-1205886470-0@services.ipt.ru> (Gary Stanley's message of "Tue\, 18 Mar 2008 20\:27\:09 -0400") References: <96317980@ipt.ru> <cmu-lmtpd-44499-1205886470-0@services.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30237036>
