Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #880888

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

From Vincent Danjean <vdanjean@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#889827: linux-image-4.15.0-rc8-amd64: IP offloading does not work
Date 2018-02-11 01:40 +0100
Message-ID <vhNQt-2pt-3@gated-at.bofh.it> (permalink)
References <vgzmy-6wm-3@gated-at.bofh.it> <vgFrX-2ls-7@gated-at.bofh.it> <vgzmy-6wm-3@gated-at.bofh.it> <vgFrX-2ls-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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


Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#889827: linux-image-4.15.0-rc8-amd64: IP offloading does not work Ben Hutchings <ben@decadent.org.uk> - 2018-02-07 22:30 +0100
  Bug#889827: linux-image-4.15.0-rc8-amd64: IP offloading does not work Vincent Danjean <vdanjean@debian.org> - 2018-02-11 01:40 +0100

csiph-web