From owner-freebsd-questions Fri May 28 16:13:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 4068115077 for ; Fri, 28 May 1999 16:13:17 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA21696; Fri, 28 May 1999 16:13:14 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 28 May 1999 16:13:13 -0700 (PDT) From: Doug White To: Josef Belkovics Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 3c509,ep,fbsd3.1 In-Reply-To: <000d01bea91d$0bff9ec0$436a71c3@cl106067.osu.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 May 1999, Josef Belkovics wrote: > I am using fbsd 3.1 as ip+ipx router with 2x3c905 (xl,pci) + 4x3c509 > (ep,isa) boards. Yuck. They do make quad-port PCI Ethernet cards. I don't know if a 66MHz Pentium can handle those though. > Ep boards many times stays in the state OACTIVE (tx is idle) which means > that router does not route. I help myself with the following script: > > while sleep 5 ; do > for i in ep0 ep1 ep2 ep3 ; do > set X`ifconfig ${i} | grep OACTIVE` > if [ X${2} != X ] ; then > logger -t ifcon ${i}: ${2} (see syslog messages > below) > ifconfig ${i} down ; ifconfig ${i} up > fi > done > done > Standard babysitter loop. > I know that the same problem have various boards&drivers under linux. My > 3c509 are connected in this way: > > May 26 05:01:16 se106012 /kernel: ep0 at 0x300-0x30f irq 7 on isa > May 26 05:01:16 se106012 /kernel: ep0: aui/utp/bnc[*AUI*] address > 00:20:af:b7:5 > May 26 05:01:16 se106012 /kernel: ep1 at 0x310-0x31f irq 10 on isa > May 26 05:01:16 se106012 /kernel: ep1: aui/utp/bnc[*UTP*] address > 00:20:af:e1:2 > May 26 05:01:16 se106012 /kernel: ep2 at 0x320-0x32f irq 11 on isa > May 26 05:01:16 se106012 /kernel: ep2: aui/utp/bnc[*AUI*] address > 00:a0:24:31:b > May 26 05:01:16 se106012 /kernel: ep3 at 0x330-0x33f irq 12 on isa > May 26 05:01:16 se106012 /kernel: ep3: aui/utp/bnc[*UTP*] address > 00:a0:24:31:b Interesting. > > ep0 => aui+fiber_optic_tranceiver => switch Okay, this is the upset connection. > ep1 => utp+fiber_optic_tranceiver => bridge (2x2Mb microwave connection) > ep2 => aui+fiber_optic_tranceiver => switch > ep3 => switch > > Router runs 4 years. Before installation of switches it routes well. > Systat -vmstat 1 reports that p5/66 has enough capacity. I have raised > timer tick (HZ=1000) but error has improved only little. The most little > errors has ep1. > > Where is bug? In ep driver or in switches? (Please do not advise to connect > 3c509 boards back into hubs - it is too late.) > > May 28 11:06:39 se106012 ifcon: ep0: > flags=8c43