Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mkinitfs mkinitfs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • mkinitfsmkinitfs
  • Merge requests
  • !116

add kernel param for uevent buffer size

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Cory Snyder requested to merge cfsnyder/mkinitfs:uevent_buf_size_kernel_param into master Mar 16, 2023
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 3

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: uevent_buf_size_kernel_param