[BUG] Kernel 3.16 Samba File Transfer problem and workaround
August 29, 2014 06:22PM
Various users have confirmed serious problem with files transfer using Samba (could also effect other protocols while transfering large files).

If you are running kernel 3.16.x, it is recommended to implement a simple tweak to prevent data corruption during file transfering (thanks to ebbix for this tweak):

Turning off TCP segmentation offload on kernel 3.16.0:
apt-get install ethtool
ethtool -K eth0 tso off

For further information, see this post:
http://forum.doozan.com/read.php?2,12096,17403#msg-17403

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/29/2014 06:27PM by bodhi.
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
August 31, 2014 02:51PM
Do i need to enter this command every time debian arm device is restarted ?
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
August 31, 2014 05:16PM
jst818 Wrote:
-------------------------------------------------------
> Do i need to enter this command every time debian
> arm device is restarted ?

Yes. So you can add it to /etc/rc.local so that it will executed during kernel start up.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
September 01, 2014 01:02AM
I am not sure how to do it.

This is my /etc/rc.local http://pastebin.com/LB5xz1sL


Quote

root@pogo:~# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 1356 Jun 14 2013 /etc/rc.local



Edited 2 time(s). Last edit at 09/01/2014 01:04AM by jst818.
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
September 01, 2014 02:10AM
# By default this script does nothing.

ethtool -K eth0 tso off
 
# turn on LED

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
October 29, 2014 01:39PM
Thank you very much for the hint!

I just ran into a kernel oops with a Goflex-Net and Kernel 3.16.3 and samba over eth0.
Seems this fixed it. At least I hope that it did.
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
October 29, 2014 03:56PM
ingmar_k Wrote:
-------------------------------------------------------
> Thank you very much for the hint!
>
> I just ran into a kernel oops with a Goflex-Net
> and Kernel 3.16.3 and samba over eth0.
> Seems this fixed it. At least I hope that it did.

I've also pached the kernel to set it to default off (see the patch in the kernel release thread).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: [BUG] Kernel 3.16 Samba File Transfer problem and workaround
October 29, 2014 04:31PM
Good to know. I run a kernel, though, that I compiled myself. ;-)
That's why this happened, I suppose. I had read about the problem some time ago already, but had forgotten about it in the meantime.

Big thanks to anyone who made this problem known, distributed the information and or howto to fix it! Very much appreciated.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: