Skip to content

add kernel param for uevent buffer size

We attempted to netboot alpine 3.17 on some beefy servers with a lot of disks and other HW and the boot hung with error:

nlplug-findfs: recvmsg: No buffer space available

We found that the nlplug-findfs netlink buffer was just being overwhelmed with too many uevents due to the amount of hardware. The failure prevented all modules from being loaded and prevented us from even using a keyboard in the emergency shell.

This patch adds a kernel parameter to control the size of the netlink buffer so that the boot can complete on machines with a lot of HWs. It also improves error messages so that it's easy for the user to understand what went wrong and how to address it.

Merge request reports