Bug 224646 - Attempts to load non-PAE modules into a PAE-kernel should be rejected
Summary: Attempts to load non-PAE modules into a PAE-kernel should be rejected
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-28 16:01 UTC by Mikhail Teterin
Modified: 2017-12-28 16:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer 2017-12-28 16:01:28 UTC
When a module is built outside of the normal "make kernel" process, it may not have the PAE defined. There may also be a problem in the other direction.

I was recently bitten by this as documented in Bug #224616 -- vboxguest.ko installed by the emulators/virtualbox-ose-additions would load, but fail to initialize itself with an incomprehensible -- and easy to miss -- error-message.

The port-maintainer(s) may fix the problem with the port, but the kldload and/or kernel need to detect such miscompilations and reject attempts to load the module -- with an easy to understand error.