ubuntu-rockchip icon indicating copy to clipboard operation
ubuntu-rockchip copied to clipboard

Feature Request: Enable KSMBD in kernel configuration

Open shirok1 opened this issue 1 year ago • 3 comments

Feature Description

KSMBD is a kernel-space SMB (aka the protocol to "share" folders to Windows) server, upstreamed into Linux kernel. Its user-space tool is already in Ubuntu repo, 2204 and 2404.

I think enabling it in kernel configuration can benefit those wanted to use their SBC as a NAS!

My alternatives:

  • Use Samba instead, which is user-space, and may be less performant
  • Build as a kmod manually
  • Try to install as DKMS (I've tried this on the deprecated version of 2204 before, it needs to be reinstalled after kernel upgrade, maybe I miss-configured it)

shirok1 avatar Sep 15 '24 09:09 shirok1

FYI: https://github.com/cifsd-team/ksmbd.git

shirok1 avatar Sep 15 '24 09:09 shirok1

Can you please send a pull request to the kernel?

Joshua-Riek avatar Sep 21 '24 17:09 Joshua-Riek

Can you please send a pull request to the kernel?

I think we can just change...

https://github.com/Joshua-Riek/linux-rockchip/blob/2a5e23f029ac47829348b87dd56409698fd7e3bf/debian.rockchip/config/config.common.ubuntu#L8700

to sth. like CONFIG_SMB_SERVER=m. Sorry I can't test it out right now.

shirok1 avatar Sep 21 '24 17:09 shirok1

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 14 days. Thank you for your contribution!

github-actions[bot] avatar Jan 20 '25 12:01 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Feb 10 '25 12:02 github-actions[bot]