From owner-freebsd-current@freebsd.org Thu Jul 26 04:53:54 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FDBB103D293 for ; Thu, 26 Jul 2018 04:53:54 +0000 (UTC) (envelope-from tyler@monkeypox.org) Received: from starfish.geekisp.com (starfish.geekisp.com [216.168.135.166]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.geekisp.com", Issuer "mail.geekisp.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1867D7D292 for ; Thu, 26 Jul 2018 04:53:53 +0000 (UTC) (envelope-from tyler@monkeypox.org) Received: (qmail 5894 invoked by uid 1003); 26 Jul 2018 04:47:11 -0000 Received: from unknown (HELO grape.lasagna.io) (tyler@monkeypox.org@50.0.244.65) by mail.geekisp.com with (AES256-SHA encrypted) SMTP; 26 Jul 2018 04:47:10 -0000 Date: Wed, 25 Jul 2018 21:47:06 -0700 From: "R. Tyler Croy" To: Michael Butler Cc: tech-lists , freebsd-current@freebsd.org Subject: Re: em0 link fail Message-ID: <20180726044705.GB5081@grape.lasagna.io> References: <739ef71a-f29f-68ea-955a-fb53c57960a6@protected-networks.net> <8e2bf594-6d7e-477e-836b-4cc4483cb525@protected-networks.net> <64e462dd-16fc-b57f-7bf2-02068d0e24c8@zyxst.net> <7a4607ce-e212-5cba-bc04-1d0abf1a7824@protected-networks.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2018 04:53:54 -0000 --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--