Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Sep 2014 13:29:31 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: network hang using intel em nic
Message-ID:  <540DE77B.2070704@freebsd.org>
In-Reply-To: <20140908171451.GB18604@mouf.net>
References:  <20140908171451.GB18604@mouf.net>

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

[-- Attachment #1 --]
On 2014-09-08 13:14, Steve Wills wrote:
> Hi,
> 
> I've got some new hardware and have been experiencing lockups using the em
> driver. They seem to only happen on large downloads, smaller things like ssh
> and web browsing work OK. The hardware is:
> 
> em0@pci0:0:25:0:        class=0x020000 card=0x309f17aa chip=0x153a8086 rev=0x04 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Ethernet Connection I217-LM'
>     class      = network
>     subclass   = ethernet
>     bar   [10] = type Memory, range 32, base 0xf7c00000, size 131072, enabled
>     bar   [14] = type Memory, range 32, base 0xf7c3d000, size 4096, enabled
>     bar   [18] = type I/O Port, range 32, base 0xf080, size 32, enabled
> 
> I did have the vboxnet driver loaded, but tried unloading that and still saw
> the issue. One thing I notice is some garbage at the top of the screen when the
> hang happens, perhaps there's a conflict with the vesa video. (This system is
> Haswell, using the vga/vesa driver.)
> 
> Any suggestions on how to debug?
> 
> Thanks,
> Steve
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 

Try periodically setting dev.em.0.debug=1

it will dump a bunch of stats to syslog then set it self back to -1

there are also a bunch of useful stats under:
dev.em.0 including things like:
dev.em.0.mbuf_alloc_fail
dev.em.0.watchdog_timeouts
dev.em.0.mac_stats.collision_count

etc

that might provide some insight.

I have a box with 4x of the i210 (but that shows up as igb(4))

I have one of the i217LM nics in this machine, but it is used for video
production so it isn't running BSD at the moment.



-- 
Allan Jude


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJUDed+AAoJEJrBFpNRJZKfkaAP/0U9hD4UGOzddyjivjUvRSo+
BCpnKHG8uk9O5KjAvlDam7BdwhKETjZuHD8FzYfwVmjmNT1aPaAgxo3iW1lRxB4r
mvXpLzNjXZB1+dIb2hf1QrwMW8DndBLOlY3h7U0pr7tg1csRudJYXEKazpmWTYpI
oT51+ze8Hj9lcwrSIJTdQ5j0u9k5fkc3my4pj9LyuYTKXtRMB+NV59QZhnNAm1hX
IwP+cs6OGEOc9aZG7Ars2UhYSngr3B/GgA9ZRRK7FLG+XbC3+LL6vaHsXrT9uRxi
rQ2MLZKUDJQoZvpitjuzm6y9xbgH3Stn1vL/E2WCeCDGLF8C2O9HI30vmy7qHBV7
J3RJpMciBZa28NCWqtgWxAKfBO1fPdZz/k9Wk49WqrhryFcDJcDtKuvhdXMXlyzX
q75VBbiITMkYAiXDx/t4aOLZc/ma3qOcNrqh99Zp4DV76tgpWMw9i6Scdt7kspc0
kV+dY0FmocuaH7V1idyGagEA8UFkXtlLtxuKarn18WYtkZUjWAoBBDs1L1Y+x+xF
4Uhhlq8YQKOKKGShxpXRBi1S/MLKyYfpK/vpZi9feXwso3h6b71e16/zeWxG2TB9
k61RCa4PzZLU7/XhiEGTMIdU4AsEcbG7xDAlti0GrkYQHw1qu9iBzoPcak7lFdNc
AFH57XP0HYL8VZUDzNF0
=nAM5
-----END PGP SIGNATURE-----
help

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