[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#889827: linux-image-4.15.0-rc8-amd64: IP offloading does not work



Le 07/02/2018 à 22:22, Ben Hutchings a écrit :
> Control: tag -1 upstream patch moreinfo
> 
> Does the attached patch fix it?

Nope.

Before the patch, I trigger the error with this kind of command:
ssh aya dd if=/dev/zero bs=8192 | dd of=/dev/null bs=8192

I got this kind of messages:
$ ssh aya dd if=/dev/zero bs=8192 | dd of=/dev/null bs=8192
ssh_dispatch_run_fatal: Connection to 10.77.0.3 port 22: message authentication code incorrect
9151+0 enregistrements lus
9151+0 enregistrements écrits
74964992 bytes (75 MB, 71 MiB) copied, 0,859281 s, 87,2 MB/s

I got at most a few GB before the error trigger (and usually only a few MB)


I do not observe error with a reverse ssh:
dd if=/dev/zero bs=8192 | ssh aya dd of=/dev/null bs=8192

I do not observe error with rx offload disabled:
sudo ethtool -K en-wired rx off tx on


I recompiled the kernel according to the kernel handbook with
bash debian/bin/test-patches -f amd64 ../0001-r8152-Fix-conditions-for-setting-ip_summed-CHECKSUM_.patch
I do not install the resulting package but I removed the module and load the new one:
# rmmod r8152
# insmod debian/linux-image-4.15.0-rc8-amd64/lib/modules/4.15.0-rc8-amd64/kernel/drivers/net/usb/r8152.ko
Note: I observed with "tail -f /var/log/syslog" in another terminal the
removal of my internet interface with the first command and its come back
with the second one.

With the new (patched) r8152 module, I get exactly the same results.
Error with "ssh aya dd if=/dev/zero bs=8192 | dd of=/dev/null bs=8192"
No more error if I disable rx offload.

  Regards,
    Vincent

>  Instructions for building a patched
> kernel package can be found at:
> https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
> 
> Ben.
> 


-- 
Vincent Danjean       GPG key ID 0xD17897FA         vdanjean@debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: