Re: em0 link fail

From: R. Tyler Croy <tyler_at_monkeypox.org>
Date: Wed, 25 Jul 2018 21:47:06 -0700
(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

Received on Thu Jul 26 2018 - 02:53:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC