Re: tx underrun ???

2005-12-04 Thread Stefan Eßer
On 2005-11-30 10:20 +0100, Vincent Blondel [EMAIL PROTECTED] wrote:
 
 Hello all,
 
 When having a look at log files on my web servers, I regulary see next output 
 on the 3COM ethernet interfaces :
 
 
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 120 bytes
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 180 bytes
 xl1: promiscuous mode enabled
 xl1: promiscuous mode disabled
 
 Can somebody explain me what it is and if this situation is normal ?

Yes, that's normal. The driver starts putting data on the Ethernet link
before the whole packet has been fetched via the PCI bus, under the
assumption, that the PCI bus is much faster than the network link.

If there are more competing devices on the bus, then the buffer in the
controller chip will run out of data (transmitter underrun) and the
packet will be garbled (will be sent with a wrong checksum to indicate
this). The driver will then increase the amount of data to prefetch
(slightly incresing the latency, since it will start sending the packet
a few microseconds later).

Thus this is kind of a self-tuning of the driver: It starts with an
optimistic assumption that the Ethernet chip will get access to the
PCI bus with little delay whenever it requests it, but in case this
assumption does not hold, the transmission is delayed slightly after
loss of one packet (i.e. to avoid more packets to be lost) until the
transmission always succeeds with the minimum acceptable amount of
prefetching and corresponding delay.

Regards, STefan
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


tx underrun ???

2005-11-30 Thread Vincent Blondel

Hello all,

When having a look at log files on my web servers, I regulary see next output 
on the 3COM ethernet interfaces :


xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 120 bytes
xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 180 bytes
xl1: promiscuous mode enabled
xl1: promiscuous mode disabled

Can somebody explain me what it is and if this situation is normal ?

Regards
Vincent


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


tx underrun ? (add entry into xl manpage)

2005-11-30 Thread Rob
Vincent Blondel wrote:
 Hello all,
 
 When having a look at log files on my web servers, I
regulary see next output on the 3COM ethernet
interfaces :
 
 
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold
to 120 bytes
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold
to 180 bytes
 xl1: promiscuous mode enabled
 xl1: promiscuous mode disabled
 
 Can somebody explain me what it is and if this
situation is normal ?

Rumours are that these messages are harmless, but if
someone
can explain these messages properly, it would be nice
to
add an entry to the  DIAGNOSTICS  section of the xl
manpage
(hence, this mail also goes to doc mailinglist)

I see these messages too on my router/gateway:

xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 120
bytes
xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 180
bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120
bytes
xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 240
bytes

Regards,
Rob.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tx underrun ? (add entry into xl manpage)

2005-11-30 Thread Paul Mather
On Wed, 2005-11-30 at 04:37 -0800, Rob wrote:
 Vincent Blondel wrote:
  Hello all,
  
  When having a look at log files on my web servers, I
 regulary see next output on the 3COM ethernet
 interfaces :
  
  
  xl1: transmission error: 90
  xl1: tx underrun, increasing tx start threshold
 to 120 bytes
  xl1: transmission error: 90
  xl1: tx underrun, increasing tx start threshold
 to 180 bytes
  xl1: promiscuous mode enabled
  xl1: promiscuous mode disabled
  
  Can somebody explain me what it is and if this
 situation is normal ?
 
 Rumours are that these messages are harmless, but if
 someone
 can explain these messages properly, it would be nice
 to
 add an entry to the  DIAGNOSTICS  section of the xl
 manpage
 (hence, this mail also goes to doc mailinglist)
 
 I see these messages too on my router/gateway:
 
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 120
 bytes
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 180
 bytes
 xl0: transmission error: 90
 xl0: tx underrun, increasing tx start threshold to 120
 bytes
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 240
 bytes

This is from the dc(4) man page:

 dc%d: TX underrun -- increasing TX threshold  The device generated a
 transmit underrun error while attempting to DMA and transmit a packet.
 This happens if the host is not able to DMA the packet data into the
 NIC's FIFO fast enough.  The driver will dynamically increase the trans-
 mit start threshold so that more data must be DMAed into the FIFO before
 the NIC will start transmitting it onto the wire.

I'm assuming the explanation also holds true for other drivers (xl,
etc.) that issue this warning.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xl0 tx underrun / watchdog errors

2001-09-22 Thread Andy Sparrow

 On Sat, 22 Sep 2001, Lamont Granquist wrote:
 
 
 
  So you're suggesting its just this?
 
  http://www.freebsd.org/cgi/query-pr.cgi?pr=11869
 
 Yes, that looks exactly like the problem I had. The network would just
 stop working when copying files to and fro another host. Didn't see the
 patch though, so I ended up putting an Intel EEPRO in the box instead.

Didn't even know that this fix existed.

Incrementing to 300 seems to fix my problems completely (integrated NIC in HP 
Omnibook 6000).

Can we get this MFC'd? Looks like it's been in -CURRENT for over two years 
now...

Cheers,

AS





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



xl0: tx underrun

2000-05-30 Thread Irvine Short

Hi All!

I'm getting these occasionally on my 3.4STABLE box here:

xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120 bytes

But it doesnt seem to cause too many problems.

However, I get them all the time on another box running 3.4-RELEASE
which is a Samba server.

If someone hammers the server (usually by running a backup from a Win 98
workstation) it will reliably generate loads of the above error, then
lock up solid.

The two machines are quite different, the one with the mild symptoms is
a Celeron 466 w 256MB RAM and the bad one is a Pentium 133 with 64MB RAM
on an Intel HX chipset.

-- 

Irvine Short

SANBI Sys Admin
tel: +27-21-959 3645
cel: +27-82-494 3828


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message