[Bug 274388] Several modules declare dependency on non-existent 'g_flashmap' kmod
Date: Tue, 10 Oct 2023 11:48:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274388 --- Comment #3 from Colin Gordon <csgordon@fastmail.com> --- I'm relatively new to working in the FreeBSD kernel, so it's quite possible there's a subtlety in missing or some kind of module validation check in not aware of that has broken. But the C code itself doesn't care about the dependency declaration, so geom_flashmap itself is fine, but does declare a module name that's not tied to the *filename* of the final kld, and kld loading assumes the declared dependency name matches the filename, which is what fails. That's why my local fix is to change the module declarations to match the filename. On amd64 it appears that both geom_flashmap and mmcsd are linked directly into the kernel, so the kld loading code doesn't encounter the name mismatch. -- You are receiving this mail because: You are the assignee for the bug.