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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--2f2SSrPjuFSuSmS2eFCX3345hMHjvtrgk
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 2014-09-08 13:14, Steve Wills wrote:
> Hi,
>=20
> 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 lik=
e ssh
> and web browsing work OK. The hardware is:
>=20
> em0@pci0:0:25:0:        class=3D0x020000 card=3D0x309f17aa chip=3D0x153=
a8086 rev=3D0x04 hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'Ethernet Connection I217-LM'
>     class      =3D network
>     subclass   =3D ethernet
>     bar   [10] =3D type Memory, range 32, base 0xf7c00000, size 131072,=
 enabled
>     bar   [14] =3D type Memory, range 32, base 0xf7c3d000, size 4096, e=
nabled
>     bar   [18] =3D type I/O Port, range 32, base 0xf080, size 32, enabl=
ed
>=20
> I did have the vboxnet driver loaded, but tried unloading that and stil=
l 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 sys=
tem is
> Haswell, using the vga/vesa driver.)
>=20
> Any suggestions on how to debug?
>=20
> 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.o=
rg"
>=20

Try periodically setting dev.em.0.debug=3D1

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.



--=20
Allan Jude


--2f2SSrPjuFSuSmS2eFCX3345hMHjvtrgk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--2f2SSrPjuFSuSmS2eFCX3345hMHjvtrgk--



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