I am evaluating an NXP iMX.8 based (which is arm64v8) board. The eval kit came with a 5.10.72 Linux kernel but did not have binfmt_misc
kernel module. After contacting the vendor, they provided the needed module which matches the kernel version. I placed it into /lib/modules/$(uname -r)/kernel/drivers/fs/binfmt_misc.ko
then echo binfmt_misc >> /etc/modules && /sbin/depmod && systemctl reboot
.
After reboot, lsmod | grep binfmt
shows that the module is now loaded, but "Use By 0". Furthermore, journalctl -u proc-sys-fs-binfmt_misc.mount
errors out with mount: /proc/sys/fs/binfmt_misc: mount point does not exist.
which I confirm doesn't exist via ls -al /proc/sys/fs/binfmt_misc
.
Since I cannot create any dirs in /proc
, what is the missing magic to get this to work?