binfmt_misc: hangs in syscall with x86 userland on x86_64 kernel

From: Thomas Meyer
Date: Tue Sep 06 2011 - 04:56:37 EST


hello,

something in the binfmt_misc filesystem system seems to be broken when
trying to use this driver with an x86 user land on an x86_64 kernel.

the command "ls /proc/sys/fs/binfmt_misc" seems to hang in the stat64
syscall:

> stat64("/proc/sys/fs/binfmt_misc", 0x8bf68e8) = -1 EINTR (Interrupted system call)
> --- {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=1248448068, ptr=0x4a69ce44}} (Interrupt) ---
> +++ killed by SIGINT +++

I had to remove the systemd-binfmt register service from my default
runlevel to get to a shell/X11.

any ideas what's going on here?

the program "systemd-binfmt" seems to hang in this open() syscall:

> open("/proc/sys/fs/binfmt_misc/status", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE|O_CLOEXEC, 0666) = -1 EINTR (Interrupted system call)
> --- {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=1248448068, ptr=0x4a69ce44}} (Interrupt) ---
> +++ killed by SIGINT +++

with kind regards
thomas

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/