Bug 217630 - sbin/devd: reports kldload errors for non-existent modules trying to be loaded
Summary: sbin/devd: reports kldload errors for non-existent modules trying to be loaded
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-08 06:55 UTC by Enji Cooper
Modified: 2017-03-08 06:55 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 Enji Cooper freebsd_committer 2017-03-08 06:55:55 UTC
Repro:

- Build kernel without ums support (either statically or as a module).
- Plug in USB mouse.

Expected result:

- The kernel module load should be attempted, but should fail.
- The error message doesn't seem sensible to expose to the end user; I recommend it be quieted for improved user experience and to reduce log spam.

Real life scenario:
- Virtual USB keyboards and mice are generally emulated by BMC firmware. If the developer decides to build the kernel without ukbd/ums, it will always warn (via devd) that it failed to load the modules, because they do not exist.