Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2004 12:50:34 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        freebsd-current@freebsd.org
Cc:        freebsd-net@freebsd.org
Subject:   Re: em(4) problems.
Message-ID:  <20040505105034.GN24376@darkness.comp.waw.pl>
In-Reply-To: <20040505104248.GM24376@darkness.comp.waw.pl>
References:  <20040505104248.GM24376@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+> 	        options=3D3<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 Oer=
rs  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    =
 -     -
+>=20
+> 	server# ifconfig em0
+> 	em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+> 	        options=3D3<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 Oer=
rs  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    =
 -     -
+>=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--



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