https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274388
Bug ID: 274388
Summary: Several modules declare dependency on non-existent
'g_flashmap' kmod
Product: Base System
Version: CURRENT
Hardware: riscv
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
While I encountered this working on support for a RISC-V board, the specific
code in question is platform-independent.
The mmcsd code (sys/dev/mmc/mmcsd.c) declares a module dependency on a module
called g_flashmap. However, this module doesn't exist. So if mmcsd is built as
a module, it cannot be loaded, you get an error message about this non-existent
module not being found.
g_flashmap is actually a prefix used internally in the geom_flashmap code.
Turns out that also affects fdt_slicer as well, but the fix is just 4 fixes to
refer to the actual module:
https://github.com/csgordon/freebsd-starfive2/commit/95e24f536ddd4bde5f3b441c5e3a45a5a0acc49d
--
You are receiving this mail because:
You are the assignee for the bug.