Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 18:03:21 +0100 (BST)
From:      Thierry Delaitre <delaitt@cpc.westminster.ac.uk>
To:        Bill Paul <wpaul@skynet.ctr.columbia.edu>
Cc:        bugs@freebsd.org
Subject:   Re: kern/11869: Network hangging due to xl0: tx underrun
Message-ID:  <Pine.BSF.4.10.9906281801490.53958-100000@seth.cpc.wmin.ac.uk>
In-Reply-To: <199906250004.UAA00275@skynet.ctr.columbia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906281801490.53958-100000>