Hi!I noticed two problems building ksmbd as external module from github.com:smfrench/smb3-kernel.git:
1. Need to manually export CONFIG_SMB_SERVER=m even though .config contains it.
2. Use of lookup_one() not present in kernels before 5.15. See the following shell dump for the problems in action: <https://cpaste.org/?cddf4595181c8c42#8HKBmcBcP8hE2RUhG3wi3QbsQmAXHDtVuMFYfeuYz7Lj>Wrt 1: this was exported in Namjae's old git repo https://github.com/namjaejeon/ksmbd but was lost in the Makefile rewrite.
Wrt 2: it seems the patches included in https://github.com/namjaejeon/ksmbd around 9caf6ed9f0b6c71b0bcc661b316e08172b7a6d55 are missing in github.com:smfrench/smb3-kernel.git.
How shall we address this? Is building the module on older kernels (I'm on 5.13.14-200.fc34.x86_64) actually supported?
Thanks! -slow -- Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/team-samba
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature