NetBSD Problem Report #22813
Received: (qmail 14471 invoked by uid 605); 16 Sep 2003 11:09:13 -0000
Message-Id: <200309161109.h8GB98f21630@pepew.1st.de>
Date: Tue, 16 Sep 2003 13:09:08 +0200 (MEST)
From: mlelstv@serpens.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: mlelstv@serpens.de
To: gnats-bugs@gnats.netbsd.org
Subject: tlp driver reports wrong error for 21041
X-Send-Pr-Version: 3.95
>Number: 22813
>Category: kern
>Synopsis: tlp driver reports wrong error for 21041
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 16 11:10:00 +0000 2003
>Closed-Date:
>Last-Modified: Sun Nov 28 21:00:03 +0000 2010
>Originator: Michael van Elst
>Release: NetBSD 1.6.1_STABLE
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD fud 1.6.1_STABLE NetBSD 1.6.1_STABLE (FUD) #4: Mon Sep 15 14:42:36 MEST 2003 src@fud:/d/0/src/sys/arch/i386/compile/FUD i386
Architecture: i386
Machine: i386
>Description:
When a DECchip 21041 based card isn't granted bus requests before the
internal receive FIFO fills up, it will report this in the buffer
descriptor in bit 0. Bit 3 of the descriptor is undefined.
Newer chips, like the 21143 do not use bit 0, it is always zero,
but they do use bit 3 to report MII errors.
The error bits in the descriptor are reported in /sys/dev/ic/tulip.c
line 1277ff.
>How-To-Repeat:
send lots of data to a 21041 based Ethernet card on a slow motherboard
and watch the kernel report MII errors instead of overflows.
>Fix:
Make the error printing dependent on sc->sc_chip.
>Release-Note:
>Audit-Trail:
From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/22813
Date: Sun, 28 Nov 2010 23:44:30 +0300
This was partially fixed (bit 0 is still ignored):
revision 1.160
date: 2008/03/23 10:32:51; author: tsutsui; state: Exp; lines: +18 -7
Ignore the Report on MII error bit if chip doesn't have MII.
Fixes annoying "tlp0: MII error" messages on Qube 2700 with 21041.
--
Sergey Svishchev
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.