em(4) problems.
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed May 5 03:50:36 PDT 2004
On Wed, May 05, 2004 at 12:42:48PM +0200, Pawel Jakub Dawidek wrote:
+> Hi.
+>
+> I've problems with em(4) and IPSEC/FAST_IPSEC and TCP_STREAM netperf test.
+> While running netperf tests between two FreeBSD machines directly connected
+> em0 goes down once every few minutes and I've no idea why.
+> Without IPSEC everything works just fine, with IPSEC/FAST_IPSEC it also
+> works fine but for other tests (UDP_STREAM, TCP_RR, UDP_RR).
+>
+> client# ifconfig em0
+> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+> options=3<RXCSUM,TXCSUM>
+> inet 192.168.50.2 netmask 0xffff0000 broadcast 192.168.255.255
+> ether 00:04:23:88:63:10
+> media: Ethernet autoselect (1000baseTX <full-duplex>)
+> status: active
+> client# netstat -in
+> Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
+> em0 0 <Link#1> 00:04:23:88:63:10 0 4852203 0 0 342995372
+> em0 0 192.168.0/16 192.168.50.2 8166424 - 4852201 - -
+>
+> server# ifconfig em0
+> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+> options=3<RXCSUM,TXCSUM>
+> inet 192.168.0.1 netmask 0xffff0000 broadcast 192.168.255.255
+> ether 00:0c:76:20:b9:bb
+> media: Ethernet autoselect (1000baseTX <full-duplex>)
+> status: active
+> server# netstat -in
+> Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
+> em0 0 <Link#1> 00:0c:76:20:b9:bb 0 2722131 0 0 2880618854
+> em0 0 192.168.0/16 192.168.0.1 14556076 - 2722142 - -
+>
+> Any ideas?
This could be also helpful:
client# sysctl hw.em0.stats=1
hw.em0.stats: -1em0: Excessive collisions = 0
em0: Symbol errors = 0
em0: Sequence errors = 0
em0: Defer count = 0
em0: Missed Packets = 0
em0: Receive No Buffers = 0
em0: Receive length errors = 0
em0: Receive errors = 0
em0: Crc errors = 0
em0: Alignment errors = 0
em0: Carrier extension errors = 0
em0: XON Rcvd = 0
em0: XON Xmtd = 0
em0: XOFF Rcvd = 0
em0: XOFF Xmtd = 0
em0: Good Packets Rcvd = 4852197
em0: Good Packets Xmtd = 2722144
-> -1
server# sysctl hw.em0.stats=1
hw.em0.stats: -1em0: Excessive collisions = 0
em0: Symbol errors = 0
em0: Sequence errors = 0
em0: Defer count = 0
em0: Missed Packets = 0
em0: Receive No Buffers = 0
em0: Receive length errors = 0
em0: Receive errors = 0
em0: Crc errors = 0
em0: Alignment errors = 0
em0: Carrier extension errors = 0
em0: XON Rcvd = 0
em0: XON Xmtd = 0
em0: XOFF Rcvd = 0
em0: XOFF Xmtd = 0
em0: Good Packets Rcvd = 2722143
em0: Good Packets Xmtd = 4852203
-> -1
--
Pawel Jakub Dawidek http://www.FreeBSD.org
pjd at FreeBSD.org http://garage.freebsd.pl
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040505/9bc6181e/attachment.bin
More information about the freebsd-net
mailing list