Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2010 10:51:40 -0500
From:      Brian McCann <bjmccann@gmail.com>
To:        bseklecki@noc.cfi.pgh.pa.us
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: /etc/rc.d/netif & em interfaces
Message-ID:  <AANLkTinNEugj4pmVBp3XjkAciPKo=x%2B255HgGEd1RA5q@mail.gmail.com>
In-Reply-To: <4CF65BD8.7090401@noc.cfi.pgh.pa.us>
References:  <AANLkTikmWDO6u6yz0CBVp9EH7=yLkkisCqMC6=f=XwjH@mail.gmail.com> <AANLkTiksNZVe1YJ6JZKbdrAx2Rc0hgfPjEAoU3H%2BxQnK@mail.gmail.com> <4CF65BD8.7090401@noc.cfi.pgh.pa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 1, 2010 at 9:29 AM, Brian A. Seklecki (CFI NOC)
<seklecki@noc.cfi.pgh.pa.us> wrote:
>
>> To make this problem even stranger, I can make a connection from the
>> server to a workstation without issue. =A0It appears to only be incoming
>
> =A0We've seen something very similar to this; we assumed it was
> =A0EEPROM corruption.
>
> =A0Is this a Dell PowerEdge by chance?
>
> =A0Do you have TSO enabled? (-tso or tso flag in $ifconfig_emX)
>
> =A0Does appending "up" to the end of if $ifconfig_emX solve the problem?
>
> ~BAS
>

This isn't a Dell PoweEdge, but at least this is two platforms it's
happening on now.  Strangely, my VMWare virtual machines that use the
em driver do not have this problem.

TSO is disabled.

I just tried adding "up" to the $ifconfig_emX lines in rc.conf, and it
didn't help.

What I discovered (and I'm still playing with a bit), is that it has
to do with checksum offloading.  If you run "ifconfig emX -rxcsum",
the interface comes back to life.  I just added "-rxcsum" to the
$ifconfig_emX lines in rc.conf, and I can run "/etc/rc.d/netif
restart" now, and the NIC continues to work fine.

I tried emailing the folks @ Intel that are mentioned in the man page
for the em driver, but the mail bounced...

--Brian

--=20
_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_
Brian McCann

"I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me."
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Bill Murray, "Ghostbusters"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinNEugj4pmVBp3XjkAciPKo=x%2B255HgGEd1RA5q>