From owner-freebsd-net Mon Jul 5 10:10:15 1999 Delivered-To: freebsd-net@freebsd.org Received: from btm4r4.alcatel.be (btm4r4.alcatel.be [195.207.101.110]) by hub.freebsd.org (Postfix) with ESMTP id AD12D14C2F for ; Mon, 5 Jul 1999 10:09:47 -0700 (PDT) (envelope-from livensw@rc.bel.alcatel.be) Received: from btmq9s.rc.bel.alcatel.be (btmq9s.rc.bel.alcatel.be [138.203.65.182]) by btm4r4.alcatel.be (8.9.1a/8.9.1) with ESMTP id TAA09351; Mon, 5 Jul 1999 19:09:40 +0200 (MET DST) Received: from btmq9z.rc.bel.alcatel.be (btmq9z [138.203.65.192]) by btmq9s.rc.bel.alcatel.be (8.8.8+Sun/8.8.8) with ESMTP id TAA15564; Mon, 5 Jul 1999 19:11:40 +0200 (MET DST) Received: (from livensw@localhost) by btmq9z.rc.bel.alcatel.be (8.8.8+Sun/8.8.8) id TAA29339; Mon, 5 Jul 1999 19:09:34 +0200 (MET DST) Date: Mon, 5 Jul 1999 19:09:34 +0200 From: Wim Livens 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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