Hi Haribo
this is kernel problem. The arch linux kernel doesn't seem to support sendfile properly on this mainboard
We have seen this problem also in the lacie 5big1
Samba uses sendfile by default but the kernel and board should support it.
It is very well possible that the kernel in combination with this board lacks this support
We can disable using sendfile by samba when starting and setting up samba by changing the script that setups the samba configuration. Attached a patched file with name smbfunc_conf_commit.finc
Please replace the existing file with same name in /etc/finc by this one
I can make a patch to do this automatic but as you seem to be a very experienced user I think you can manage this ;)
After installing thefile reboot the raspberry and check the smb.conf file (in /rw_fs/tmp/usr/lib/ or use the symlink in /usr/lib) to see if now
it contains a line in [global] section
- Code: Select all
use sendfile = no
instead of
- Code: Select all
use sendfile = yes
If it is set to "no" then the patch worked and you can try again of transfer fails for bigger files
ps manually adapting the smb.conf file has little use it will be overwritten and recreated at each boot, so thats why I changed the setup script
You do not have the required permissions to view the files attached to this post.