Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ksmbd: disagrees about version of symbol #485

Open
sberberic opened this issue Jun 28, 2024 · 1 comment
Open

ksmbd: disagrees about version of symbol #485

sberberic opened this issue Jun 28, 2024 · 1 comment

Comments

@sberberic
Copy link

I am trying to install ksmbd into my kernel on Ubuntu 22.04.4, fully updated and freshly installed. I installed the Mellanox drivers for my two ConnectX-5 cards (package MLNX_OFED_LINUX-24.04-0.6.6.0-ubuntu22.04-x86_64.tgz) as follows:
./mlnxofedinstall --force --without-dkms --with-nvmf --add-kernel-support

I'm trying to install the latest version of ksmbd, 3.5.0:
make
sudo make install
modprobe ksmbd gives a generic error:
modprobe: ERROR: could not insert 'ksmbd': Invalid argument

Kernel:
uname -a
6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Logs:
dmesg gives:

[  289.068777] ksmbd: disagrees about version of symbol ib_mr_pool_destroy
[  289.068788] ksmbd: Unknown symbol ib_mr_pool_destroy (err -22)
[  289.068828] ksmbd: disagrees about version of symbol ib_unregister_client
[  289.068829] ksmbd: Unknown symbol ib_unregister_client (err -22)
[  289.068876] ksmbd: disagrees about version of symbol rdma_rw_ctx_destroy
[  289.068878] ksmbd: Unknown symbol rdma_rw_ctx_destroy (err -22)
[  289.068916] ksmbd: disagrees about version of symbol __ib_alloc_pd
[  289.068917] ksmbd: Unknown symbol __ib_alloc_pd (err -22)
[  289.068971] ksmbd: disagrees about version of symbol ib_mr_pool_init
[  289.068972] ksmbd: Unknown symbol ib_mr_pool_init (err -22)
[  289.069013] ksmbd: disagrees about version of symbol ib_event_msg
[  289.069014] ksmbd: Unknown symbol ib_event_msg (err -22)
[  289.069037] ksmbd: disagrees about version of symbol rdma_disconnect
[  289.069038] ksmbd: Unknown symbol rdma_disconnect (err -22)
[  289.069045] ksmbd: disagrees about version of symbol ib_find_gid
[  289.069047] ksmbd: Unknown symbol ib_find_gid (err -22)
[  289.069106] ksmbd: disagrees about version of symbol __rdma_create_kernel_id
[  289.069107] ksmbd: Unknown symbol __rdma_create_kernel_id (err -22)
[  289.069153] ksmbd: disagrees about version of symbol ib_device_get_by_netdev
[  289.069154] ksmbd: Unknown symbol ib_device_get_by_netdev (err -22)
[  289.069159] ksmbd: disagrees about version of symbol rdma_bind_addr
[  289.069160] ksmbd: Unknown symbol rdma_bind_addr (err -22)
[  289.069166] ksmbd: disagrees about version of symbol ib_register_client
[  289.069167] ksmbd: Unknown symbol ib_register_client (err -22)
[  289.069181] ksmbd: disagrees about version of symbol rdma_create_qp
[  289.069182] ksmbd: Unknown symbol rdma_create_qp (err -22)
[  289.069199] ksmbd: disagrees about version of symbol rdma_rw_ctx_wrs
[  289.069200] ksmbd: Unknown symbol rdma_rw_ctx_wrs (err -22)
[  289.069270] ksmbd: disagrees about version of symbol __ib_alloc_cq
[  289.069271] ksmbd: Unknown symbol __ib_alloc_cq (err -22)
[  289.069297] ksmbd: disagrees about version of symbol rdma_listen
[  289.069298] ksmbd: Unknown symbol rdma_listen (err -22)
[  289.069338] ksmbd: disagrees about version of symbol ib_destroy_qp_user
[  289.069340] ksmbd: Unknown symbol ib_destroy_qp_user (err -22)
[  289.069396] ksmbd: disagrees about version of symbol ib_destroy_cq_user
[  289.069397] ksmbd: Unknown symbol ib_destroy_cq_user (err -22)
[  289.069440] ksmbd: disagrees about version of symbol ib_wc_status_msg
[  289.069441] ksmbd: Unknown symbol ib_wc_status_msg (err -22)
[  289.069470] ksmbd: disagrees about version of symbol ib_dma_virt_map_sg
[  289.069471] ksmbd: Unknown symbol ib_dma_virt_map_sg (err -22)
[  289.069500] ksmbd: disagrees about version of symbol ib_free_cq
[  289.069501] ksmbd: Unknown symbol ib_free_cq (err -22)
[  289.069511] ksmbd: disagrees about version of symbol rdma_destroy_id
[  289.069512] ksmbd: Unknown symbol rdma_destroy_id (err -22)
[  289.069556] ksmbd: disagrees about version of symbol rdma_accept
[  289.069557] ksmbd: Unknown symbol rdma_accept (err -22)
[  289.069596] ksmbd: disagrees about version of symbol ib_drain_qp
[  289.069598] ksmbd: Unknown symbol ib_drain_qp (err -22)
[  289.069604] ksmbd: disagrees about version of symbol ib_dealloc_pd_user
[  289.069606] ksmbd: Unknown symbol ib_dealloc_pd_user (err -22)
[  289.069677] ksmbd: disagrees about version of symbol ib_device_put
[  289.069678] ksmbd: Unknown symbol ib_device_put (err -22)
[  289.069784] ksmbd: disagrees about version of symbol rdma_rw_ctx_init
[  289.069785] ksmbd: Unknown symbol rdma_rw_ctx_init (err -22)

Please help me because I'm tearing my hair out, what am I doing wrong? I'm relatively new to Linux I'm afraid.

@namjaejeon
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants