From owner-freebsd-questions Fri May 28 8:16:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from albert.osu.cz (albert.osu.cz [195.113.106.11]) by hub.freebsd.org (Postfix) with ESMTP id 355F714DC5 for ; Fri, 28 May 1999 08:16:15 -0700 (PDT) (envelope-from belkovic@osu.cz) Received: from cl106067 (cl106067.osu.cz [195.113.106.67]) by albert.osu.cz (8.9.2/8.9.2) with SMTP id RAA02481 for ; Fri, 28 May 1999 17:16:14 +0200 (MET DST) (envelope-from belkovic@osu.cz) Message-ID: <000d01bea91d$0bff9ec0$436a71c3@cl106067.osu.cz> From: "Josef Belkovics" To: Subject: 3c509,ep,fbsd3.1 Date: Fri, 28 May 1999 17:16:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am using fbsd 3.1 as ip+ipx router with 2x3c905 (xl,pci) + 4x3c509 (ep,isa) boards. 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 It does not help bandwith limitation (exactly help but bound must be 1Mb): ipfw pipe 1 config bw 50M queue 100 ipfw pipe 2 config bw 3M queue 100 (1M seems 'to solve' problem) ipfw pipe 3 config bw 50M queue 100 ipfw pipe 4 config bw 3M queue 100 # ipfw add 01000 pipe 1 ip from any to any in via xl* ipfw add 01100 pipe 2 ip from any to any in via ep* ipfw add 61000 pipe 3 ip from any to any out via xl* ipfw add 61100 pipe 4 ip from any to any out via ep* 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 ep0 => aui+fiber_optic_tranceiver => switch 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