em0 link fail

R. Tyler Croy tyler at monkeypox.org
Thu Jul 26 04:53:54 UTC 2018


(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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180725/4ba93ae0/attachment-0001.sig>


More information about the freebsd-current mailing list