s390-linux-ld: configfs.c:undefined reference to `nvme_auth_dhgroup_kpp'
kernel test robot
build bottree: git://git.infradead.org/nvme.git nvme-6.7 head: 70525e5d82f62407d8436aa2a6c3385829ab5a3e commit: 9d77eb52778499a97cab662aa96de4e2e4fa72d3 [2/19] nvme-keyring: register '.nvme' keyring config: s390-randconfig-002-20231012 (https://download.01.org/0day-ci/archive/20231012/[email protected]/config) compiler: s390-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231012/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/nvme/target/configfs.o: in function `nvmet_host_dhchap_dhgroup_store':
configfs.c:(.text+0x24): undefined reference to `nvme_auth_dhgroup_id'
>> s390-linux-ld: configfs.c:(.text+0x50): undefined reference to `nvme_auth_dhgroup_kpp' s390-linux-ld: drivers/nvme/target/configfs.o: in function `nvmet_host_dhchap_dhgroup_show': configfs.c:(.text+0xa2): undefined reference to `nvme_auth_dhgroup_name' s390-linux-ld: drivers/nvme/target/configfs.o: in function `nvmet_host_dhchap_hash_show': configfs.c:(.text+0x532): undefined reference to `nvme_auth_hmac_name' s390-linux-ld: drivers/nvme/target/configfs.o: in function `nvmet_host_dhchap_hash_store': configfs.c:(.text+0x58c): undefined reference to `nvme_auth_hmac_id' >> s390-linux-ld: configfs.c:(.text+0x59e): undefined reference to `nvme_auth_hmac_name' s390-linux-ld: drivers/nvme/target/fabrics-cmd-auth.o: in function `nvmet_auth_negotiate': fabrics-cmd-auth.c:(.text+0x164): undefined reference to `nvme_auth_hmac_name' >> s390-linux-ld: fabrics-cmd-auth.c:(.text+0x226): undefined reference to `nvme_auth_hmac_name' >> s390-linux-ld: fabrics-cmd-auth.c:(.text+0x294): undefined reference to `nvme_auth_dhgroup_kpp' >> s390-linux-ld: fabrics-cmd-auth.c:(.text+0x31e): undefined reference to `nvme_auth_dhgroup_name' s390-linux-ld: fabrics-cmd-auth.c:(.text+0x37a): undefined reference to `nvme_auth_dhgroup_name' s390-linux-ld: drivers/nvme/target/fabrics-cmd-auth.o: in function `nvmet_auth_challenge': fabrics-cmd-auth.c:(.text+0x706): undefined reference to `nvme_auth_hmac_hash_len' >> s390-linux-ld: fabrics-cmd-auth.c:(.text+0x7e8): undefined reference to `nvme_auth_get_seqnum' s390-linux-ld: drivers/nvme/target/fabrics-cmd-auth.o: in function `nvmet_auth_success1.isra.0': fabrics-cmd-auth.c:(.text+0x9da): undefined reference to `nvme_auth_hmac_hash_len' s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_auth_set_key': auth.c:(.text+0x76): undefined reference to `nvme_auth_hmac_name' s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_setup_dhgroup': auth.c:(.text+0x1f6): undefined reference to `nvme_auth_dhgroup_kpp' >> s390-linux-ld: auth.c:(.text+0x2de): undefined reference to `nvme_auth_gen_privkey' >> s390-linux-ld: auth.c:(.text+0x396): undefined reference to `nvme_auth_gen_pubkey' s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_setup_auth': auth.c:(.text+0x57a): undefined reference to `nvme_auth_hmac_name' >> s390-linux-ld: auth.c:(.text+0x5b4): undefined reference to `nvme_auth_free_key' >> s390-linux-ld: auth.c:(.text+0x5ca): undefined reference to `nvme_auth_extract_key' >> s390-linux-ld: auth.c:(.text+0x60e): undefined reference to `nvme_auth_hmac_name' s390-linux-ld: auth.c:(.text+0x658): undefined reference to `nvme_auth_free_key' s390-linux-ld: auth.c:(.text+0x682): undefined reference to `nvme_auth_extract_key' s390-linux-ld: auth.c:(.text+0x6c2): undefined reference to `nvme_auth_hmac_name' s390-linux-ld: auth.c:(.text+0x716): undefined reference to `nvme_auth_free_key' s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_destroy_auth': auth.c:(.text+0x82a): undefined reference to `nvme_auth_free_key' s390-linux-ld: auth.c:(.text+0x846): undefined reference to `nvme_auth_free_key' s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_auth_host_hash': auth.c:(.text+0x8e8): undefined reference to `nvme_auth_hmac_name' >> s390-linux-ld: auth.c:(.text+0x992): undefined reference to `nvme_auth_transform_key' >> s390-linux-ld: auth.c:(.text+0xa14): undefined reference to `nvme_auth_augmented_challenge'
s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_auth_ctrl_hash':
auth.c:(.text+0xca8): undefined reference to `nvme_auth_hmac_name'
s390-linux-ld: auth.c:(.text+0xd54): undefined reference to `nvme_auth_transform_key'
s390-linux-ld: auth.c:(.text+0xdd2): undefined reference to `nvme_auth_augmented_challenge'
s390-linux-ld: drivers/nvme/target/auth.o: in function `nvmet_auth_ctrl_sesskey':
auth.c:(.text+0x1152): undefined reference to `nvme_auth_gen_shared_secret'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 12 lines · kernel test robot
tree: git://git.infradead.org/nvme.git nvme-6.7 head: 70525e5d82f62407d8436aa2a6c3385829ab5a3e commit: 9d77eb52778499a97cab662aa96de4e2e4fa72d3 [2/19] nvme-keyring: register '.nvme' keyring config: s390-randconfig-002-20231012 (https://download.01.org/0day-ci/archive/20231012/[email protected]/config) compiler: s390-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231012/[email protected]/reproduce)If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Quoted 6 lines
All errors (new ones prefixed by >>):
s390-linux-ld:
drivers/nvme/target/configfs.o: in function `nvmet_host_dhchap_dhgroup_store':
configfs.c:(.text+0x24): undefined reference to `nvme_auth_dhgroup_id'Quoted 1 line
Quoted 1 line
s390-linux-ld: configfs.c:(.text+0x50): undefined reference to `nvme_auth_dhgroup_kpp'
most of these functions are defined in the nvme/common/auth.c [1].
and undefined ref means perhaps nvme-common.ko is not loaded since error is coming from target side ?
also, I wonder why this is not failing on my setup but only on these archs ?
-ck
[1] drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_id); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_id); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_hash_len); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_hash_len); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_kpp); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_free_key); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_extract_key); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_free_key); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_transform_key); drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_augmented_challenge);