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

[-- Attachment #1 --]
(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  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.
> > 
> > No :-( I haven't had the chance yet to revisit it,
> 
> 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 behavior 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]-- resetting
	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 = 524, hw tdt = 544
	Jul 26 04:09:53 strawberry kernel: em1: Tx Queue Status = -2147483648
	Jul 26 04:09:53 strawberry kernel: em1: TX descriptors avail = 1004
	Jul 26 04:09:53 strawberry kernel: em1: Tx Descriptors avail failure = 0
	Jul 26 04:09:53 strawberry kernel: em1: RX Queue 0 ------
	Jul 26 04:09:53 strawberry kernel: em1: hw rdh = 172, hw rdt = 170
	Jul 26 04:09:53 strawberry kernel: em1: RX discarded packets = 0
	Jul 26 04:09:53 strawberry kernel: em1: RX Next to Check = 171
	Jul 26 04:09:53 strawberry kernel: em1: RX Next to Refresh = 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]-- resetting
	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 = 0, hw tdt = 358
	Jul 26 04:10:20 strawberry kernel: em1: Tx Queue Status = -2147483648
	Jul 26 04:10:20 strawberry kernel: em1: TX descriptors avail = 666
	Jul 26 04:10:20 strawberry kernel: em1: Tx Descriptors avail failure = 0
	Jul 26 04:10:20 strawberry kernel: em1: RX Queue 0 ------
	Jul 26 04:10:20 strawberry kernel: em1: hw rdh = 0, hw rdt = 1023
	Jul 26 04:10:20 strawberry kernel: em1: RX discarded packets = 0
	Jul 26 04:10:20 strawberry kernel: em1: RX Next to Check = 0
	Jul 26 04:10:20 strawberry kernel: em1: RX Next to Refresh = 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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

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

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