NetBSD Problem Report #7285

Received: (qmail 28344 invoked from network); 29 Mar 1999 22:15:43 -0000
Message-Id: <199903292215.OAA18473@digital.clock.org>
Date: Mon, 29 Mar 1999 14:15:38 -0800 (PST)
From: "Erik E. Fair" <fair@digital.clock.org>
Reply-To: fair@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: Ethernet drivers return ENOBUFS for I/F queue full error
X-Send-Pr-Version: 3.95

>Number:         7285
>Category:       kern
>Synopsis:       Ethernet drivers return ENOBUFS for I/F queue full error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 29 14:20:00 +0000 1999
>Closed-Date:    
>Last-Modified:  Thu Apr 03 20:33:58 +0000 2003
>Originator:     Erik E. Fair
>Release:        NetBSD-current 19990329
>Organization:
International Organization of Internet Clock Watchers
>Environment:

System: NetBSD digital.clock.org 1.3 NetBSD 1.3 (DIGITAL) #1: Mon May 25 14:16:49 PDT 1998 fair@digital.clock.org:/usr/src/sys/arch/sparc/compile/DIGITAL sparc


>Description:
	There is an error code overloading issue here: ENOBUFS is used to
	indicate both that there is an mbuf exhaustion in the network code,
	and also that specific Ethernet I/F drivers have a limited output
	queue and will not queue more than a certain number of packets.
>How-To-Repeat:
	start blasting lotsa UDP packets out an interface.

	get ENOBUFS error.

	run netstat -m, note that no requests for memory have been
	denied to the network code, become very confused about the
	source of the error message.

	send E-mail to tech-net@netbsd.org asking, "WTF?!"
>Fix:
	There are two things we should do:

	1. pick a different, more descriptive, error code to return
	for this case (there was some discussion of this in tech-net
	or developers, but I can't find it in the archives), and change
	the drivers to suit. Probably need to grep the userland source
	tree for references to ENOBUFS also.

	2. document the network interface output queue limits.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.