em(4) interface hangs under 8.0-RELEASE
jfvogel at gmail.com
Sat Mar 6 01:18:17 UTC 2010
Its using MSI? Given that its PCI-X I have no idea how robust MSI is,
how bout you compile it with that disabled, use legacy IRQ and see
if that makes any diff.
Using TSO on anything pre-PCI Express is a bad idea, probably why
its gotten a bad rep in the em driver.
I have a driver in the works that is going to seperate the code for
PCIE and Legacy, and I'm ripping out TSO from the Legacy stuff.
The hang could be an problem with MSI though. I am not as dubious
about the checksum offloads as some are, have stress tests that
run for days with no issues.
Let me know if that has any effect,
On Fri, Mar 5, 2010 at 4:48 PM, Nick Rogers <ncrogers at gmail.com> wrote:
> I'm still having a problem where an em(4) interface mysteriously "hangs"
> mostly stops sending/receiving packets until I issue an ifconfig emX down
> followed by an ifconfig emX up, which fixes the problem for some amount of
> time. Traffic on the interface is about a consistent 3mb/s.
> One interesting thing to note is that if I tcpdump the interface during the
> "hang", I sometimes see a portion of the expected packets, usually only
> I've tried compiling a custom 8.0-RELEASE kernel with the em(4) driver
> (sys/dev/e1000) from 7.2-RELEASE as well as the same from cvs HEAD. Neither
> seem to fix the problem.
> I've also tried, as suggested in a previous thread, disabling TSO, TXCSUM,
> RXCSUM via the following:
> sysctl net.inet.tcp.tso=0
> ifconfig em1 -tso -txcsum
> ifconfig em1 down
> ifconfig em1 up
> Relevant ifconfig and pciconf dump below. There are no attached VLAN
> em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:04:23:ca:a7:b7
> inet 172.31.1.3 netmask 0xfffffff8 broadcast 172.31.1.7
> media: Ethernet autoselect (1000baseT <full-duplex>)
> status: active
> em1 at pci0:2:2:1: class=0x020000 card=0x11798086 chip=0x10798086 rev=0x03
> vendor = 'Intel Corporation'
> device = 'Dual Port Gigabit Ethernet Controller (82546EB)'
> class = network
> subclass = ethernet
> cap 01[dc] = powerspec 2 supports D0 D3 current D0
> cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split
> cap 05[f0] = MSI supports 1 message, 64 bit
> Any suggestions are greatly appreciated. Thanks.
> freebsd-stable at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable