Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 09:30:07 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: speedtest.net in multi connections mode causes the FreeBSD 13-CURRENT router to crash
Message-ID:  <34221ede-fa69-f3f1-5f26-744cb35c2ffb@freebsd.org>
In-Reply-To: <4C267E15E99E4003964861B4B7ADC9E3@SERJHOME>
References:  <4C267E15E99E4003964861B4B7ADC9E3@SERJHOME>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--HQP6yPJ8tadF8y1N0PkUM5Tb5uGLSRtqw
Content-Type: multipart/mixed; boundary="GblUmL0ac6FiZBxcMYO5OlyTI4fwJNR6z";
 protected-headers="v1"
From: Allan Jude <allanjude@freebsd.org>
To: freebsd-current@freebsd.org
Message-ID: <34221ede-fa69-f3f1-5f26-744cb35c2ffb@freebsd.org>
Subject: Re: speedtest.net in multi connections mode causes the FreeBSD
 13-CURRENT router to crash
References: <4C267E15E99E4003964861B4B7ADC9E3@SERJHOME>
In-Reply-To: <4C267E15E99E4003964861B4B7ADC9E3@SERJHOME>

--GblUmL0ac6FiZBxcMYO5OlyTI4fwJNR6z
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2020-08-28 08:02, S.N. Trigub wrote:
> Hi!
>=20
> I run FreeBSD 13.0-CURRENT #0 r363772 as router in small office with tw=
o
> network interface: sk0 and sk1.
> sk0 connected to 2 providers (main and backup) via VLAN and natd, sk1
> connected to office network via VLAN.
> I had to use VLAN due to cabling issues.
>=20
> As soon as the user runs the speedtest.net in browser on any client
> computer in network
> FreeBSD router goes into panic mode and automatically reboot during
> multi connection upload test.
> In single connections mode of speedtest.net all is fine.
>=20
> Error is : Fatal trap 12: page fault while in kernel mode.
>=20
> In my opinion the error is caused by multiple openings of outgoing
> connections on router in a short period of time.
> This is not a hardware error. I tested it on three different
> motherboards with different kernel versions and diffenent amount of RAM=

> (8GB DDR2 and 16, 24, 32GB DDR3).
> Maybe this is somehow due to the use of VLAN, or network card driver
> problem...
> I noticed this problem about six months ago when I switched from FreeBS=
D
> 12-Current to FreeBSD 13-Current.
> Since then I have been updating the kernel about once a week, but the
> error still present.
>=20
> I read on the some artictes in Internet that this can happen when tcp
> extensions are enabled. I disabled tcp_extensons in rc.conf, and
> set some sysctls params as described in Internet-articles, but it didn'=
t
> affect anything.
> The same error sometimes occurs when clients are talking on Skype.
>=20
> Could you help me? Any idea is appreciated!
>=20
> Thank you.
> Sergei.
>=20

Usually, just under the message 'Fatal trap 12: page fault while in
kernel mode.' there will be some other debugging information,
specifically, the 'stack backtrace', which shows where in the code the
crash happened.

If you can manage to capture that, it will be much easier to investigate
your issue.

Here is a random example I managed to find on the internet:

https://preview.redd.it/cch19ymrucy21.png?width=3D644&format=3Dpng&auto=3D=
webp&s=3Dbd483ca83d80fb0cdccb9b835d71b6d9812c592e




--=20
Allan Jude


--GblUmL0ac6FiZBxcMYO5OlyTI4fwJNR6z--

--HQP6yPJ8tadF8y1N0PkUM5Tb5uGLSRtqw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJfSQbfAAoJEBmVNT4SmAt+a/oQALtVxt2Wx9QMf3GmasbyVwuo
gaGaM5J30tHwvC86BX+rldHbDJ8uZXjXRKWL1yBXOPeoA5szZVloKUjCZCDOmPE+
3IU7M79/qHxPG78OaN7KnxZs8vwpk3PwFl/ecrBNuWSRJXv45Zg28UB9yyTEzGCs
Ld9EEOtBxBa1PE54l3W8ndPQAZViZg77oCrpWzzcUkbzfXBrnkDHF4kXP6xS5kcC
DvppEq+AfNsRa5Id29VGWRTC2zVYUSrkD+3Oe47xR8YLDTE+4VOfNl/cr38sbf/l
qvj+iMESoJZyHRUcLlYnD8TVtu+5HZj0pd4FidLHG0cNUTBAcnXdypVYEbk+9xxI
mxgfGskzeFAL2ZvonrOzO4HlzksQR5k88S1blu3ax9XKAWK+Au2bTA/XUP/JEMKN
abxOu4R+ffIex4xan3g+XAOl+NhZU4fa2KtebGYhPWJe0aHyuNTY5ttunXs8hftn
ZyRlkixf7mrjP+rJa0tC61CvOA0fcVpzpMfCRUMJk9B4qv5ok3FqbutVv3DfYnL+
Fh+u0vLYEdWU+ylKRdj3KOqpCAV/uMhSno5jWzdkAdz6ExN4KxUTd3nCudznOGah
UqXpCuLYzVk0pNNxLN8blc42WnsE4emUWku7BPhEXnomyOFvAunCabLaAYQ2dyIq
z4O9DHTKcjfx5uU9oFGF
=XTBJ
-----END PGP SIGNATURE-----

--HQP6yPJ8tadF8y1N0PkUM5Tb5uGLSRtqw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34221ede-fa69-f3f1-5f26-744cb35c2ffb>