Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2018 21:47:06 -0700
From:      "R. Tyler Croy" <tyler@monkeypox.org>
To:        Michael Butler <imb@protected-networks.net>
Cc:        tech-lists <tech-lists@zyxst.net>, freebsd-current@freebsd.org
Subject:   Re: em0 link fail
Message-ID:  <20180726044705.GB5081@grape.lasagna.io>
In-Reply-To: <bbfba7da-3f62-17d0-3846-b08f398aac30@protected-networks.net>
References:  <739ef71a-f29f-68ea-955a-fb53c57960a6@protected-networks.net> <c077fa70-e213-7229-1c19-2509f5db191b@freebsd.org> <8e2bf594-6d7e-477e-836b-4cc4483cb525@protected-networks.net> <64e462dd-16fc-b57f-7bf2-02068d0e24c8@zyxst.net> <7a4607ce-e212-5cba-bc04-1d0abf1a7824@protected-networks.net> <bbfba7da-3f62-17d0-3846-b08f398aac30@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--3uo+9/B/ebqu+fSQ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

(replies inline)

On Sun, 15 Jul 2018, Michael Butler wrote:

> On 07/05/18 09:54, I wrote:
> > On 07/05/18 09:27, tech-lists wrote:
> >> On 03/07/2018 19:47, Michael Butler wrote:
> >>> That would've been ..
> >>>
> >>> Jun=A0 1 09:56:15 toshi kernel: FreeBSD 12.0-CURRENT #35 r334484: Fri=
 Jun
> >>> 1 08:25:58 EDT 2018
> >>>
> >>> I'm going to build one with SVN r334862 reverted to see if that works,
> >>
> >> Hi,
> >>
> >> Is it working now? Am asking because a system I'd like to take from
> >> 11-stable to 12 uses the em driver.
> >=20
> > No :-( I haven't had the chance yet to revisit it,
>=20
> As it turns out, SVN r336313 (committed today) solves the issue I was
> having with the hardware stalling,



Just to add a bit more metadata to this thread, I've seen this exact same b=
ehavior for a few months now! I've recently rebuilt to r336294 which still =
exhibited the problem, with periodic logs such as these:

	Jul 26 04:09:53 strawberry kernel: em1: Watchdog timeout Queue[0]-- resett=
ing
	Jul 26 04:09:53 strawberry kernel: Interface is RUNNING and ACTIVE
	Jul 26 04:09:53 strawberry kernel: em1: TX Queue 0 ------
	Jul 26 04:09:53 strawberry kernel: em1: hw tdh =3D 524, hw tdt =3D 544
	Jul 26 04:09:53 strawberry kernel: em1: Tx Queue Status =3D -2147483648
	Jul 26 04:09:53 strawberry kernel: em1: TX descriptors avail =3D 1004
	Jul 26 04:09:53 strawberry kernel: em1: Tx Descriptors avail failure =3D 0
	Jul 26 04:09:53 strawberry kernel: em1: RX Queue 0 ------
	Jul 26 04:09:53 strawberry kernel: em1: hw rdh =3D 172, hw rdt =3D 170
	Jul 26 04:09:53 strawberry kernel: em1: RX discarded packets =3D 0
	Jul 26 04:09:53 strawberry kernel: em1: RX Next to Check =3D 171
	Jul 26 04:09:53 strawberry kernel: em1: RX Next to Refresh =3D 170
	Jul 26 04:09:53 strawberry kernel: em1: link state changed to DOWN
	Jul 26 04:09:54 strawberry kernel: em1: link state changed to UP
	Jul 26 04:10:20 strawberry kernel: em1: Watchdog timeout Queue[0]-- resett=
ing
	Jul 26 04:10:20 strawberry kernel: Interface is RUNNING and ACTIVE
	Jul 26 04:10:20 strawberry kernel: em1: TX Queue 0 ------
	Jul 26 04:10:20 strawberry kernel: em1: hw tdh =3D 0, hw tdt =3D 358
	Jul 26 04:10:20 strawberry kernel: em1: Tx Queue Status =3D -2147483648
	Jul 26 04:10:20 strawberry kernel: em1: TX descriptors avail =3D 666
	Jul 26 04:10:20 strawberry kernel: em1: Tx Descriptors avail failure =3D 0
	Jul 26 04:10:20 strawberry kernel: em1: RX Queue 0 ------
	Jul 26 04:10:20 strawberry kernel: em1: hw rdh =3D 0, hw rdt =3D 1023
	Jul 26 04:10:20 strawberry kernel: em1: RX discarded packets =3D 0
	Jul 26 04:10:20 strawberry kernel: em1: RX Next to Check =3D 0
	Jul 26 04:10:20 strawberry kernel: em1: RX Next to Refresh =3D 1023
	Jul 26 04:10:20 strawberry kernel: em1: link state changed to DOWN


I'll give r336313 a try as soon as possible and corroborate the fixes!


Cheers,
R Tyler Croy

--3uo+9/B/ebqu+fSQ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQSQYoZaRujHSSvxiNcUJsfcP1HhbwUCW1lSRQAKCRAUJsfcP1Hh
bzIpAKCnryspKEsRIRn5Oe6OulyJevykWACgptdnvoU+MYHVWpIz5RTjoRA2GAk=
=GIlg
-----END PGP SIGNATURE-----

--3uo+9/B/ebqu+fSQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180726044705.GB5081>