From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1422#note_1051481242 While this started out as a good idea, it may be coming back to bite us. So far during the 6.0 merge window, 2 new commits have come in which cause major issues with this setup: ``` 635dcd16844b08adcc1aa7a934893e47260619e4 for thunderbolt fe5be808fa6c8df5cf939ec622514f970573bc88 for nitro_enclave ``` In both cases, the modules have moved to the new implementation of kunit_test_suite(), and I expect more modules to follow. This gives them dependencies on kunit symbols, and depmod will fail because those symbols do not exist when partitioned off to mod-internal. Example from x86: ``` depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/virt/nitro_enclaves/nitro_enclaves.ko needs unknown symbol kunit_do_failed_assertion depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/virt/nitro_enclaves/nitro_enclaves.ko needs unknown symbol kunit_kmalloc_array depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/virt/nitro_enclaves/nitro_enclaves.ko needs unknown symbol kunit_binary_assert_format depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/virt/nitro_enclaves/nitro_enclaves.ko needs unknown symbol kunit_unary_assert_format depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/virt/nitro_enclaves/nitro_enclaves.ko needs unknown symbol kunit_kfree depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_binary_ptr_assert_format depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_do_failed_assertion depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_fail_assert_format depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_binary_str_assert_format depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol __kunit_add_resource depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_kmalloc_array depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_binary_assert_format depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.20.0-0.rc0.20220803gite2b5 42100719.2.fc37.x86_64/./lib/modules/5.20.0-0.rc0.20220803gite2b542100719.2.fc 37.x86_64/kernel/drivers/thunderbolt/thunderbolt.ko needs unknown symbol kunit_unary_assert_format ``` _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue