From owner-freebsd-current@FreeBSD.ORG Wed May 5 03:50:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03CE216A4CE; Wed, 5 May 2004 03:50:36 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27CD743D41; Wed, 5 May 2004 03:50:35 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 5BFB2ACADB; Wed, 5 May 2004 12:50:34 +0200 (CEST) Date: Wed, 5 May 2004 12:50:34 +0200 From: Pawel Jakub Dawidek To: freebsd-current@freebsd.org Message-ID: <20040505105034.GN24376@darkness.comp.waw.pl> References: <20040505104248.GM24376@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="op1wyikMGa8+7dN1" Content-Disposition: inline In-Reply-To: <20040505104248.GM24376@darkness.comp.waw.pl> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-net@freebsd.org Subject: Re: em(4) problems. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 10:50:36 -0000 --op1wyikMGa8+7dN1 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 05, 2004 at 12:42:48PM +0200, Pawel Jakub Dawidek wrote: +> Hi. +>=20 +> I've problems with em(4) and IPSEC/FAST_IPSEC and TCP_STREAM netperf tes= t. +> While running netperf tests between two FreeBSD machines directly connec= ted +> 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). +>=20 +> client# ifconfig em0 +> em0: flags=3D8843 mtu 1500 +> options=3D3 +> inet 192.168.50.2 netmask 0xffff0000 broadcast 192.168.255.255 +> ether 00:04:23:88:63:10 +> media: Ethernet autoselect (1000baseTX ) +> status: active +> client# netstat -in +> Name Mtu Network Address Ipkts Ierrs Opkts Oer= rs Coll +> em0 0 00:04:23:88:63:10 0 4852203 0 = 0 342995372 +> em0 0 192.168.0/16 192.168.50.2 8166424 - 4852201 = - - +>=20 +> server# ifconfig em0 +> em0: flags=3D8843 mtu 1500 +> options=3D3 +> inet 192.168.0.1 netmask 0xffff0000 broadcast 192.168.255.255 +> ether 00:0c:76:20:b9:bb +> media: Ethernet autoselect (1000baseTX ) +> status: active +> server# netstat -in +> Name Mtu Network Address Ipkts Ierrs Opkts Oer= rs Coll +> em0 0 00:0c:76:20:b9:bb 0 2722131 0 = 0 2880618854 +> em0 0 192.168.0/16 192.168.0.1 14556076 - 2722142 = - - +>=20 +> Any ideas? This could be also helpful: client# sysctl hw.em0.stats=3D1 hw.em0.stats: -1em0: Excessive collisions =3D 0 em0: Symbol errors =3D 0 em0: Sequence errors =3D 0 em0: Defer count =3D 0 em0: Missed Packets =3D 0 em0: Receive No Buffers =3D 0 em0: Receive length errors =3D 0 em0: Receive errors =3D 0 em0: Crc errors =3D 0 em0: Alignment errors =3D 0 em0: Carrier extension errors =3D 0 em0: XON Rcvd =3D 0 em0: XON Xmtd =3D 0 em0: XOFF Rcvd =3D 0 em0: XOFF Xmtd =3D 0 em0: Good Packets Rcvd =3D 4852197 em0: Good Packets Xmtd =3D 2722144 -> -1 server# sysctl hw.em0.stats=3D1 hw.em0.stats: -1em0: Excessive collisions =3D 0 em0: Symbol errors =3D 0 em0: Sequence errors =3D 0 em0: Defer count =3D 0 em0: Missed Packets =3D 0 em0: Receive No Buffers =3D 0 em0: Receive length errors =3D 0 em0: Receive errors =3D 0 em0: Crc errors =3D 0 em0: Alignment errors =3D 0 em0: Carrier extension errors =3D 0 em0: XON Rcvd =3D 0 em0: XON Xmtd =3D 0 em0: XOFF Rcvd =3D 0 em0: XOFF Xmtd =3D 0 em0: Good Packets Rcvd =3D 2722143 em0: Good Packets Xmtd =3D 4852203 -> -1 --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --op1wyikMGa8+7dN1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAmMb6ForvXbEpPzQRAuzDAJ4uvGg/PVstWOZ/r532L3Fz2cC/bwCgmVTC tiZTtlEnzP5H+NAMnFz7iRw= =Y/3y -----END PGP SIGNATURE----- --op1wyikMGa8+7dN1--