All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Holland <samuel@sholland.org>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Instability during large transfers
Date: Tue, 21 Mar 2017 10:06:46 -0500	[thread overview]
Message-ID: <a346373b-b822-9275-210a-c2bf2842f793@sholland.org> (raw)
In-Reply-To: <ce815e61-51e4-48e4-d5ca-e73df208061b@sholland.org>

[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]

Hello,

On 03/01/17 16:44, Samuel Holland wrote:
> Is there anything else I can do to debug this? Enable some kernel
> debugging option? Try a vanilla kernel? Try a newer kernel?

I've upgraded to vanilla (kernel.org) Linux 4.9.15, and while I've been
unable to trigger the same panic so far, I'm getting a similar linked
list corruption warning. This time, instead of failing to pass data once
the warning hits, some packets are coming in out of order with 3000-5000
ms latency. Attached is the dmesg output, kernel config, and ping logs
for inside the VPN. The actual link latency between peers is around 10ms.

As I still haven't been able to reproduce this issue on another machine,
I cannot rule out hardware issues, but this exact machine worked fine
for a year straight (2x 6 months uptime) using OpenVPN. So I'm looking
at either WireGuard or padata as the cause.

The kernel has linked list debugging turned on.

--------

I upgraded again to 4.9.16, and enabled every debug and self-test option
that I could find that seemed relevant. The stack traces and symptoms
still look similar. Except now when it panics (instead of just a
warning), I don't get a log; the netconsole just suddenly cuts over to
the next boot.

You can also see how it stops sending keepalive packets once the
warnings hit.

At this point, unless you want me to try something, I'm going to stop
sending logs. I'm not very familiar with the kernel's
timer/workqueue/crypto subsystems, so there's not much debugging I can
do on my own until I have time to do research (and I have no idea when
that will be). But if you can't reproduce the issue, then it will be
rather difficult for you to debug as well.

I'd still like to get this fixed, and I'll gladly help any way I can.

Thanks,
Samuel Holland

[-- Attachment #2: warning_4.9.15.config.xz --]
[-- Type: application/x-xz, Size: 23520 bytes --]

[-- Attachment #3: warning_4.9.15.dmesg.xz --]
[-- Type: application/x-xz, Size: 18196 bytes --]

[-- Attachment #4: warning_4.9.15.dmesg_secondboot.xz --]
[-- Type: application/x-xz, Size: 3424 bytes --]

[-- Attachment #5: warning_4.9.15.vpn_ping.xz --]
[-- Type: application/x-xz, Size: 1708 bytes --]

[-- Attachment #6: warning_4.9.16.dmesg.xz --]
[-- Type: application/x-xz, Size: 8904 bytes --]

  reply	other threads:[~2017-03-21 15:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-16 18:38 Instability during large transfers Samuel Holland
2017-02-17  4:48 ` Samuel Holland
2017-02-17 13:36   ` Jason A. Donenfeld
2017-02-17 17:37     ` Samuel Holland
2017-03-01 22:44     ` Samuel Holland
2017-03-21 15:06       ` Samuel Holland [this message]
2017-03-21 17:33         ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a346373b-b822-9275-210a-c2bf2842f793@sholland.org \
    --to=samuel@sholland.org \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.