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 version mismatch. #9639
Comments
I am all so told that it's broken in OpenWrt 22.03 and OpenWrt 21.0.2.3 How ever I have not tested this. |
Should already be fixed. |
Hi I can't find where on git the fix is. Could you point me to a link pleas? |
Hi thanks for the link. Wat do you meen by this "This does not work with the kmod currently in tree." If I do a new build from master will ksmbd work or not? |
Still broken. |
Still borked.
|
It seems that the fix was applied only on a branch and not master ? |
If you're using ksnbd-tools 3.4.4, downgrade to 3.4.2. |
This issue persists on OpenWrt 21.02.3 r16554-1d4dea6d4f
|
This is strange. One group of people says ksmbd-tools 3.4.4 doesn't work properly and another says 3.4.2 does not. |
This is caused by a version mismatch between kmod-fs-ksmbd and ksmbd-server (contains ksmbd-tools). Previously the tools version was ahead, which caused issues (fixed by downgrade). Now as the kmod got upgraded, we need the corresponding tools version as well. Before: kmod-fs-ksmbd 3.4.2 <-> ksmbd-tools 3.4.4 Both combinations are incompatible. Workaround as of now is using ksmbd-server 3.4.4 directly from the snapshot repository. |
Would it be possible to post more than one version to the 21.02.3 repo so we can try various combinations by specifying the version for opkg to install? Barring a quick solution, this should probably also be listed as a regression in the 21.02.3 release page at https://openwrt.org/releases/21.02/notes-21.02.3. Had I known, I would have held off on my upgrade. |
Since the new driver is compiled for kernel 5.10, have you tried it with the current 5.4 kernel? Or else, can you point where to find it for 5.4? |
I just built an image from git master. What was built is v3.4.4, not 3.4.2. |
I tried to test the patch, but kernel module is v3.4.3, not 3.4.4 ?! (Building for mvebu / Linksys mamba.) |
If you have the space on your router you could just use samba like i did. I got sick of asking about this. When OpenWrt makes the jump to Kernel 5.15 KSMBD is built in to the Kernel. |
5.15 - I can't wait! With the patch, ETIMEDOUT errors occur when opening //server/, but opening //server/share directly works without any problems! It might be just a permissions problem on my system... It's a mess with all the tests. |
I have GL-AR750 device, and ksmbd stopped working since I upgraded to 21.02.3.
For some reason |
Latest version should be fine. I'll put up backport PRs. |
No go with OpenWrt 22.03.0-rc3 with MT7621. I would not rather go on a crusade to get 5.15 kernel on this thing. I was able to get writable ntfs with kmod-fs-antfs which is kinda nice. With user space samba4 big file read speed is about 7MB/s which i guess is not that bad and I was able to mount samba share on linux without "vers=2.0" option. 7MB/s is still pretty far from what the SSD I have connected would be able to deliver. |
This fixed my problem. Thanks yoursunny |
Works fine with OpenWrt 22.03.0-rc4 . kmod-fs-antfs was under-performing so switched back to ntfs-3g. 35MB/s big file read speed with this combo as I recall. Not much benefit from using ext4 over ntfs. There might be some configuration options relating to buffer and frame sizes that could still crank out more speed, I have not looked. |
I think that this ticket has been solved, right? |
Yes fixt. |
After trying to run ksmbd you get. Tue Mar 29 16:36:01 2022 kern.err kernel: [ 959.844616] ksmbd: No IPC daemon response for 20s
You can find more info here:
fbb8e1e#commitcomment-70364862
The text was updated successfully, but these errors were encountered: