Skip to contentSkip to conversation

binfmt_misc: hangs in syscall with x86 userland on x86_64 kernel

DISCUSSION Thomas Meyer 1 participant 1 message Sep 6, 2011 VFS

lore
Share & tools
lore
#0 lore raw

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:

killed by SIGINT +++

Quoted 3 lines

stat64("/proc/sys/fs/binfmt_misc", 0x8bf68e8) = -1 EINTR (Interrupted system call)

killed by SIGINT +++ renamed from {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=1248448068, ptr=0x4a69ce44}} (Interrupt) --- +0 -0

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:

killed by SIGINT +++

Quoted 3 lines

open("/proc/sys/fs/binfmt_misc/status", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE|O_CLOEXEC, 0666) = -1 EINTR (Interrupted system call)

killed by SIGINT +++ renamed from {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=1248448068, ptr=0x4a69ce44}} (Interrupt) --- +0 -0

with kind regards
thomas