Nfs boot overlayfs failed

[   10.495326] IP Address: 192.168.192.187
[   10.631091] Rootfs mounted over nfs
[   10.650872] Switching from initrd to actual rootfs
[   10.691345] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling...
[   15.844417] request_module: modprobe binfmt-464c cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[   15.863537] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling...
chroot: failed to run command '/sbin/init': Exec format error

Let's start by understanding what you're using...

ubus call system board

In my case, there are two pxe clients boot from the pxe server in OpenWrt and both rootfs of clients are overlayfs.

And only the second overlayfs cannot boot and it's output like "/sbin/init: Exec format error" .
Then i do some tests like removing overlayfs and using the lowerdir(squashfs) and both them can bootup. I am sure the overlayfs and the /sbin/init is correct.

Could anybody tell me why or how to find the cause?

So what system is having the problem? OpenWrt or one of the systems booting via pxe?

What OS are those clients booting? And what is the output of:

XX@XXXX:~# ubus call system board
{
        "kernel": "5.10.160+",
        "hostname": "XXXX",
        "system": "ARMv8 Processor rev 0",
        "model": "Rockchip RK3568 EVB1 DDR4 V10 Board",
        "board_name": "rockchip,rk3568-evb1-ddr4-v10",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "XXXX",
                "version": "22.03.7",
                "revision": "r20341-591b7e93d3",
                "target": "armvirt/64",
                "description": "XXXX 22.03.7 r20341-591b7e93d3"
        }
}

OpenWrt boot natively and it is also the pxe server for booting another two different Arch platforms that deployed Ubuntu20.04

This firmware is not from the official OpenWrt project. You need to ask the vendor/maintainer of this firmware.

1 Like

It is from some opensource project and we ported it.
I think this is a problem not tightly related to OS. So i want if who can help me in this forum.

But what you are using is not from here. Therefore, this is not the place to get help. This forum is specifically dedicated to OpenWrt (the official project). We do not provide support for OpenWrt forks or other OS's.

Please ask the people who provided the firmware you are using and/or the support resources for the OSs that you are trying to boot via pxe.

Okay, thank you