Page MenuHomeFreeBSD

loader: add nvidia modules to the loader blacklist
ClosedPublic

Authored by kevans on Jul 31 2025, 2:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 12:41 PM
Unknown Object (File)
Fri, Oct 10, 5:32 PM
Unknown Object (File)
Fri, Oct 10, 5:32 PM
Unknown Object (File)
Fri, Oct 10, 5:32 PM
Unknown Object (File)
Fri, Oct 10, 12:23 PM
Unknown Object (File)
Thu, Oct 2, 6:55 AM
Unknown Object (File)
Tue, Sep 30, 6:32 PM
Unknown Object (File)
Thu, Sep 25, 6:26 PM
Subscribers

Details

Summary

It is known that nvidia modules, like the drm modules that are already
present, will panic if loaded in early boot rather than later. Pop them
into our list to deny loading them if someone were to add, e.g.,
nvidia-modeset_load="YES", to their loader.conf. This doesn't prevent
them from being loaded if one drops to the loader prompt, but it does
prevent the standard user from easy foot-shooting if they find old or
inaccurate information out in the wild.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 31 2025, 2:10 AM

'nvidia-drm' would also be belong in this list

+1 to including nvidia-drm for consistency, although I think since it's dependent on the others it will fail to load as-is.

'nvidia-drm' would also be belong in this list

Added locally, thanks!