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

Version 3.4.4 fails to start with IPC error messages #227

Closed
mamarley opened this issue Jan 21, 2022 · 5 comments
Closed

Version 3.4.4 fails to start with IPC error messages #227

mamarley opened this issue Jan 21, 2022 · 5 comments

Comments

@mamarley
Copy link

mamarley commented Jan 21, 2022

After upgrading to 3.4.4 (with kernel 5.16.2), the userspace daemon fails to start with:

ERROR: Recv() error Input data out of range [-8]
ERROR: WARNING: child process exited abnormally: 29336
ERROR: Fatal IPC error. Terminating. Check dmesg.
ERROR: can't execute kill 29336: No such process

Nothing is printed in dmesg. If I revert ea0da00, it works normally again.

@hclee
Copy link
Member

hclee commented Jan 21, 2022

For 3.4.4 tools, the following kernel patch is needed.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=41dbda16a090

@mamarley
Copy link
Author

Hmm, OK. That probably ought to have been mentioned on https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.4 then.

@namjaejeon
Copy link
Member

@mamarley I have sent the patch to stable linux kernel. So if you upgrade 5.16.3(not release yet), It will work with ksmbd-tools 3.4.4. Thanks!

@mamarley
Copy link
Author

Confirmed, after upgrading to 5.16.3, everything is working again.

@namjaejeon
Copy link
Member

Thanks for your check!

DazzyWalkman referenced this issue in openwrt/openwrt Mar 23, 2022
ksmbd is an upstream linux alternative to Samba which is lighterweight
and more performant, especially on underpowered devices.

Moving it here from the packages feed as it is now an upstream kernel
module. Also easier to update as version updates can be coordinated better

The next LTS kernel (5.15) has this included. A depend on kernel < 5.15
will need to be added later.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
M95D added a commit to M95D/openwrt that referenced this issue May 18, 2022
Original patch: cifsd-team/ksmbd-tools#227
adapted for ksmbd kernel module v3.4.3 by me.
Fixes crash in v3.4.3 only. Use original patch when updating to v3.4.4
as this one will fail hunk openwrt#1.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
jow- pushed a commit to openwrt/openwrt that referenced this issue May 27, 2022
Original patch: cifsd-team/ksmbd-tools#227
adapted for ksmbd kernel module v3.4.3 by me.
Fixes crash in v3.4.3 only. Use original patch when updating to v3.4.4
as this one will fail hunk #1.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this issue May 29, 2022
Original patch: cifsd-team/ksmbd-tools#227
adapted for ksmbd kernel module v3.4.3 by me.
Fixes crash in v3.4.3 only. Use original patch when updating to v3.4.4
as this one will fail hunk #1.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
M95D added a commit to M95D/openwrt that referenced this issue May 29, 2022
Original patch: cifsd-team/ksmbd-tools#227
adapted for ksmbd kernel module v3.4.3 by me.
Fixes crash in v3.4.3 only. Use original patch when updating to v3.4.4
as this one will fail hunk openwrt#1.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
devendranaga pushed a commit to devendra-naga-labs/bsp_build that referenced this issue Sep 8, 2022
Original patch: cifsd-team/ksmbd-tools#227
adapted for ksmbd kernel module v3.4.3 by me.
Fixes crash in v3.4.3 only. Use original patch when updating to v3.4.4
as this one will fail hunk openwrt#1.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
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

3 participants