From owner-freebsd-bugs Mon Jun 28 10: 3:47 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from puma.wmin.ac.uk (puma.wmin.ac.uk [161.74.92.94]) by hub.freebsd.org (Postfix) with SMTP id A622E152E3 for ; Mon, 28 Jun 1999 10:03:43 -0700 (PDT) (envelope-from delaitt@cpc.westminster.ac.uk) Received: from seth.cpc.wmin.ac.uk by puma.wmin.ac.uk with INTERNAL-SMTP (MMTA) with ESMTP; Mon, 28 Jun 1999 18:02:55 +0100 Received: from localhost (delaitt@localhost) by seth.cpc.wmin.ac.uk (8.9.3/8.9.3) with ESMTP id SAA53990; Mon, 28 Jun 1999 18:03:21 +0100 (BST) (envelope-from delaitt@cpc.wmin.ac.uk) Date: Mon, 28 Jun 1999 18:03:21 +0100 (BST) From: Thierry Delaitre To: Bill Paul Cc: bugs@freebsd.org Subject: Re: kern/11869: Network hangging due to xl0: tx underrun In-Reply-To: <199906250004.UAA00275@skynet.ctr.columbia.edu> Message-ID: MIME-Version: 1.0 Content-Type: text/PLAIN; charset="US-ASCII" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bill, On Thu, 24 Jun 1999, Bill Paul wrote: > Of all the gin joints in all the towns in all the world, > delaitt@cpc.wmin.ac.uk had to walk into mine and say: > > > xl0: transmission error: 90 > > xl0: tx underrun, increasing tx start threshold to 120 bytes > > > > and sometimes the network hangs and I have to reboot the machine. > > The FreeBSD PC is mounting some NFS volumes and I get these messages > > when I write a large file over NFS. > > You don't say what kind of CPU or machine you have, however below > we see this: > > > I'm using the following Ethernet Card: > > > > xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 17 on pci0.11.0 > ^^ > > xl0: Ethernet address: 00:60:97:b8:65:cf > > xl0: autoneg complete, link status good (full-duplex, 100Mbps) > > This means you must be running an SMP system, but we still don't know > what kind of CPU it is. I bet a quarter is something like 166Mhz. 2 x Pentium II at 400Mhz > Anyway, you can try to set the default transmit threshold in the driver > to something higher. Edit /sys/pci/if_xl.c and look in the xl_init() > routine where sc->xl_txthresh is initialized. By default it starts > out at XL_MIN_FRAMELEN (60). Try setting it to 256 or 512 or some > larger value. Thanks. I changed it to 300 and it works fine. Thierry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message