Re: Version 13.0 reboots intermittently

2021-04-21 Thread Andrey V. Elsukov
17.04.2021 16:14, Software Info пишет:
> Hi All,
> I had 12.2 working without issue as a VPN Server running OpenVPN. I
> upgraded to version 13.0 last night and now the server intermittently
> reboots. I saw a core.tt file which I have attached. I would
> appreciate any help I can get.

I'm not sure, but since you use natd, panics may be related to ip_divert
module. If KTLS somehow is used in your environment, this means unmapped
mbufs also can be used.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255164

You can try to reconfigure your ipfw rules to use in-kernel NAT instead
of natd.

Also you can try to disable unmapped mbufs:
sysctl kern.ipc.mb_use_ext_pgs=0

-- 
WBR, Andrey V. Elsukov



OpenPGP_signature
Description: OpenPGP digital signature


Re: Version 13.0 reboots intermittently

2021-04-19 Thread Software Info
OK. So I spoke too soon. It didn't crash as quickly but it just did again.

On Mon, Apr 19, 2021 at 2:12 PM Software Info  wrote:
>
> I created some downtime to test this and yes setting sysctl
> net.inet.tcp.sack.enable=0 has helped. I pumped a lot of data through
> the tunnel and it hasn't crashed so far. It would have crashed by now.
> I am just curious though, if the bug was already fixed, should I have
> to change this value or could something else be wrong with my install?
>
> On Sun, Apr 18, 2021 at 4:31 AM Christos Chatzaras  
> wrote:
> >
> >
> >
> > > On 17 Apr 2021, at 16:14, Software Info  wrote:
> > >
> > > Hi All,
> > > I had 12.2 working without issue as a VPN Server running OpenVPN. I
> > > upgraded to version 13.0 last night and now the server intermittently
> > > reboots. I saw a core.tt file which I have attached. I would
> > > appreciate any help I can get.
> > >
> >
> > This looks similar:
> >
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254309
> >
> > Does this help?
> >
> > sysctl net.inet.tcp.sack.enable=0
> >
___
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"


Re: Version 13.0 reboots intermittently

2021-04-19 Thread Software Info
I created some downtime to test this and yes setting sysctl
net.inet.tcp.sack.enable=0 has helped. I pumped a lot of data through
the tunnel and it hasn't crashed so far. It would have crashed by now.
I am just curious though, if the bug was already fixed, should I have
to change this value or could something else be wrong with my install?

On Sun, Apr 18, 2021 at 4:31 AM Christos Chatzaras  wrote:
>
>
>
> > On 17 Apr 2021, at 16:14, Software Info  wrote:
> >
> > Hi All,
> > I had 12.2 working without issue as a VPN Server running OpenVPN. I
> > upgraded to version 13.0 last night and now the server intermittently
> > reboots. I saw a core.tt file which I have attached. I would
> > appreciate any help I can get.
> >
>
> This looks similar:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254309
>
> Does this help?
>
> sysctl net.inet.tcp.sack.enable=0
>
___
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"


Re: Version 13.0 reboots intermittently

2021-04-19 Thread Software Info
Hi
Thanks for your reply. I thought of that and I had tried removing all
the tweaks I had in both loader.conf and sysctl.conf and rebooted but
it still crashed again afterwards.  I am going to revert to the 13.0
snapshot this evening after work and check the setting for sysctl
net.inet.tcp.sack.enable just to see what it is. Is there anything
else I can try that you can think of or any other piece of information
that I can send?

Best Regards
SI

On Sun, Apr 18, 2021 at 6:28 AM Marek Zarychta
 wrote:
>
> Dnia Sat, Apr 17, 2021 at 08:14:07AM -0500, Software Info napisał(a):
> > Hi All,
> > I had 12.2 working without issue as a VPN Server running OpenVPN. I
> > upgraded to version 13.0 last night and now the server intermittently
> > reboots. I saw a core.tt file which I have attached. I would
> > appreciate any help I can get.
> >
> > Thanks,
> > SI
>
> Do you have any net.isr settings in either /boot/loader.conf or
> /etc/sysctl.conf? Please test if reverting them to default values helps.
>
> --
> Marek Zarychta
___
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"


Re: Version 13.0 reboots intermittently

2021-04-18 Thread Marek Zarychta
Dnia Sat, Apr 17, 2021 at 08:14:07AM -0500, Software Info napisał(a):
> Hi All,
> I had 12.2 working without issue as a VPN Server running OpenVPN. I
> upgraded to version 13.0 last night and now the server intermittently
> reboots. I saw a core.tt file which I have attached. I would
> appreciate any help I can get.
> 
> Thanks,
> SI

Do you have any net.isr settings in either /boot/loader.conf or
/etc/sysctl.conf? Please test if reverting them to default values helps.

-- 
Marek Zarychta


signature.asc
Description: PGP signature


Re: Version 13.0 reboots intermittently

2021-04-18 Thread Marek Zarychta
Dnia Sun, Apr 18, 2021 at 12:31:27PM +0300, Christos Chatzaras napisał(a):
> 
> 
> > On 17 Apr 2021, at 16:14, Software Info  wrote:
> > 
> > Hi All,
> > I had 12.2 working without issue as a VPN Server running OpenVPN. I
> > upgraded to version 13.0 last night and now the server intermittently
> > reboots. I saw a core.tt file which I have attached. I would
> > appreciate any help I can get.
> > 
> 
> This looks similar:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254309
> 
> Does this help?
> 
> sysctl net.inet.tcp.sack.enable=0
> 
This bug was affecting only stable/13 users and has already been fixed.
-- 
Marek Zarychta


signature.asc
Description: PGP signature


Re: Version 13.0 reboots intermittently

2021-04-18 Thread Christos Chatzaras



> On 17 Apr 2021, at 16:14, Software Info  wrote:
> 
> Hi All,
> I had 12.2 working without issue as a VPN Server running OpenVPN. I
> upgraded to version 13.0 last night and now the server intermittently
> reboots. I saw a core.tt file which I have attached. I would
> appreciate any help I can get.
> 

This looks similar:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254309

Does this help?

sysctl net.inet.tcp.sack.enable=0

___
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"