Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 1999 20:04:29 -0400 (EDT)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        delaitt@cpc.wmin.ac.uk
Cc:        bugs@freebsd.org
Subject:   Re: kern/11869: Network hangging due to xl0: tx underrun
Message-ID:  <199906250004.UAA00275@skynet.ctr.columbia.edu>
In-Reply-To: <19990524115308.2F08914D90@hub.freebsd.org> from "delaitt@cpc.wmin.ac.uk" at May 24, 99 04:53:08 am

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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.

-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================


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?199906250004.UAA00275>