Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-15 Thread Jason A. Donenfeld
Happy to hear it's working for you. I went asking for deeper answers, and this thread might interest you: https://marc.info/?l=linux-rt-users&m=152906766629953&w=2 https://marc.info/?l=linux-rt-users&m=152907896201090&w=2 On Thu, Jun 14, 2018, 21:50 Paul Hedderly wrote: > On Wed, 2018-06-13 at

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-14 Thread Paul Hedderly
On Wed, 2018-06-13 at 15:52 +0200, Jason A. Donenfeld wrote: > Hi Paul, > > I got an -rt kernel up and running, enabled a bunch of nice debugging > options, and found a handful of problems, all of which were fixed by: > https://git.zx2c4.com/WireGuard/commit/?id=0f05452d043d8d047cf5d7987f > c2732b

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Jason A. Donenfeld
On Wed, Jun 13, 2018 at 4:54 PM Paul Hedderly wrote: > Yea that performance hit is a nuisance I find that doubtful, for the reasons Greg mentioned. But in either case, I don't anticipate this will be the final situation, but rather just a stop gap measure. I think we'll be ready to revisit this

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Paul Hedderly
On Wed, 2018-06-13 at 17:08 +0200, Greg KH wrote: > > Note, the -rt kernels _always_ run slower than a non-rt kernel. Real > time is not "faster", it is only "deterministic". And it achieves > this > goal at the expense of performance, which is the only way it can be > done. Thanks for the remi

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Greg KH
On Wed, Jun 13, 2018 at 03:54:24PM +0100, Paul Hedderly wrote: > On Wed, 2018-06-13 at 15:52 +0200, Jason A. Donenfeld wrote: > > Hi Paul, > > > > I got an -rt kernel up and running, enabled a bunch of nice debugging > > options, and found a handful of problems, all of which were fixed by: > > htt

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Paul Hedderly
On Wed, 2018-06-13 at 15:52 +0200, Jason A. Donenfeld wrote: > Hi Paul, > > I got an -rt kernel up and running, enabled a bunch of nice debugging > options, and found a handful of problems, all of which were fixed by: > https://git.zx2c4.com/WireGuard/commit/?id=0f05452d043d8d047cf5d7987f > c2732b

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Paul Hedderly
On Wed, 2018-06-13 at 14:13 +0200, Jason A. Donenfeld wrote: > Hi Paul, > > > But although the machine froze I dont see the BUG's in the kernel > > log. > > Alright, so this means I've determined the root cause of the BUGs you > were seeing before, and both the patch you applied and hopefully the

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Jason A. Donenfeld
Hi Paul, I got an -rt kernel up and running, enabled a bunch of nice debugging options, and found a handful of problems, all of which were fixed by: https://git.zx2c4.com/WireGuard/commit/?id=0f05452d043d8d047cf5d7987fc2732b97d676e6 I realize the solution in that patch is a bit of a bummer, but a

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Jason A. Donenfeld
Hi Paul, > But although the machine froze I dont see the BUG's in the kernel log. Alright, so this means I've determined the root cause of the BUGs you were seeing before, and both the patch you applied and hopefully the one I committed should take care of that. However, this lockup... > Last ni

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-13 Thread Paul Hedderly
On Wed, 2018-06-13 at 03:58 +0200, Jason A. Donenfeld wrote: > Hi Paul, > > The current patch I'm now considering is here: > https://git.zx2c4.com/WireGuard/patch/?id=17fb4ff6064e10bb91bf2ccf653 > 4bfdf767a9b90 Ahh! Last night I recompiled with your first patch and left the machine running - thi

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-12 Thread Jason A. Donenfeld
Hi Paul, The current patch I'm now considering is here: https://git.zx2c4.com/WireGuard/patch/?id=17fb4ff6064e10bb91bf2ccf6534bfdf767a9b90 If this works for you, I'll put out a new snapshot. Regards, Jason ___ WireGuard mailing list WireGuard@lists.zx2

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-12 Thread Jason A. Donenfeld
Hi again, Would you try out https://א.cc/yFB763cY and tell me if that fixes the problem for you? I'm not convinced that's a good solution for it, but it would be useful to know if this at least works. Jason ___ WireGuard mailing list WireGuard@lists.zx2

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-12 Thread Paul Hedderly
On Tue, 2018-06-12 at 23:35 +0200, Jason A. Donenfeld wrote: > Hi Paul, > > Thanks for the useful bug report. I'll have a fix for it soon. What a star :) It's times like this I love being a invovled in OS and a linux sysadmin. Forced to use a windows VD and o365 for work... and can't imagine get

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-12 Thread Paul Hedderly
On Tue, 2018-06-12 at 21:00 +0100, Paul Hedderly wrote: > Loving wireguard but I'm getting failures running the Debian realtime > kernel. I first noticed that the wg link was freezing for 20-30 > seconds > at a time, and then the machine would freeze. Sorry I meant to add this info: prh@brix:~$

Re: Kernel lockup with (debian) 4.16.0-2-rt-amd64

2018-06-12 Thread Jason A. Donenfeld
Hi Paul, Thanks for the useful bug report. I'll have a fix for it soon. Thanks, also, for bringing Debian's rt kernel to my attention. Seems like this might be a good testing platform. Jason ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://