Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 1999 19:09:34 +0200
From:      Wim Livens <livensw@rc.bel.alcatel.be>
To:        freebsd-net@freebsd.org
Cc:        wim.livens@alcatel.be
Subject:   de with null-cable gives errors and some packet-loss
Message-ID:  <19990705190934.A29039@rc.bel.alcatel.be>

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

I'm trying to connect a ZNYX 346 (= four 100baseTX board) via a null-cable to another
(fxp or de) 100baseTX card.

I'm using FreeBSD 2.2.8-RELEASE and already found out that I need to
manually set the mediatype.

Now a flood ping seems to work fine:
1421 packets transmitted, 1421 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.096/0.100/0.189/0.009 ms

BUT: a netperf over the same link gives a horrible throughput of 0.10 Mbits/sec !
So I assume there is a slight packet-loss at high load.

netstat -I reports as many output error as there are packets transmitted.

I've put a printf in de driver to see what causes the errors. It happens here:
if (d_status & (TULIP_DSTS_TxNOCARR|TULIP_DSTS_TxCARRLOSS))
                            sc->tulip_dot3stats.dot3StatsCarrierSenseErrors++;

After replacing the null-cable by a 100Mbps hub, everything worked fine (and the null-cable
does work well with e.g. fxp interfaces).

Please reply to me too because I'm not on the list.


FYI:
de0 <Digital 21140A Fast Ethernet> rev 34 int a irq 11 on pci2:4:0
de0: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2
de0: address 00:c0:95:e0:e2:2c

-- 
Wim Livens.

Alcatel - Corporate Research Center     wim.livens@alcatel.be
Fr. Wellesplein 1                       livensw@rc.bel.alcatel.be
B-2018 Antwerpen                Tel:    +32 3 240 7570
Belgium.                        Fax:    +32 3 240 9932



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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