From owner-freebsd-current Sun Aug 29 4: 5:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from dead-end.net (dead-end.net [216.15.131.2]) by hub.freebsd.org (Postfix) with ESMTP id 99BBC15EAD for ; Sun, 29 Aug 1999 04:04:44 -0700 (PDT) (envelope-from rock@dead-end.net) Received: from dead-end.net (p3E9E0F1A.dip.t-dialin.net [62.158.15.26]) by dead-end.net (8.9.3/DEAD-END/1999022000) with ESMTP id NAA08092; Sun, 29 Aug 1999 13:04:09 +0200 (CEST) (envelope-from rock@dead-end.net) Message-ID: <37C913C3.6097F537@dead-end.net> Date: Sun, 29 Aug 1999 13:04:35 +0200 From: "D. Rock" X-Mailer: Mozilla 4.6 [de] (Win98; U) X-Accept-Language: de MIME-Version: 1.0 To: Bruce Evans Cc: current@FreeBSD.ORG Subject: Re: RealTek 8139 problems References: <199908282328.JAA25887@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans schrieb: > > >Under normal Circumstances, the communication is Ok between all three > >machines, but sometimes the ethernet interface in the main machine > >(the 8139) wedges up. I cannot ping any other host. The only solution > >is taking the interface down and up again: > > It hangs when it gets an rx fifo overrun. The chance of an overrun can > be modified by tweaking the fifo threshold and rx maxdma as in if_rlreg.h > rev.1.9. Thanks, this seems to fix my problem. I set #define RL_RX_MAXDMA RL_RXDMA_UNLIMITED #define RL_TX_MAXDMA RL_TXDMA_2048BYTES and now at least my simple "ping torture tests" doesn't impress the driver any more. Do such high values have any negative impact on the performance/stability/ memory usage of the system? If not, couldn't these values be the default? Or the other way: Since recovery seems to be very easy, how difficult is it for the driver to detect this condition and do an auto-recovery? Yes, I know the RealTek are very ugly chips. Normally this card is installed into my Windows PC, but I had to swap the card with an I-EEPro in order to dualboot Solaris on this PC. Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message