Date: Tue, 10 Oct 2023 00:32:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274388] Several modules declare dependency on non-existent 'g_flashmap' kmod Message-ID: <bug-274388-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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: bugs@FreeBSD.org Reporter: csgordon@fastmail.com 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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274388-227>
