Page MenuHomeFreeBSD

loader: add nvidia modules to the loader blacklist
ClosedPublic

Authored by kevans on Thu, Jul 31, 2:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 18, 10:10 AM
Unknown Object (File)
Thu, Aug 14, 8:00 PM
Unknown Object (File)
Thu, Aug 14, 4:37 AM
Unknown Object (File)
Wed, Aug 13, 9:13 AM
Unknown Object (File)
Fri, Aug 8, 12:11 PM
Unknown Object (File)
Sat, Aug 2, 2:52 AM
Unknown Object (File)
Thu, Jul 31, 5:27 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65852
Build 62735: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Thu, Jul 31, 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!