From owner-freebsd-hackers Sun Feb 10 17: 8:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A906037B419; Sun, 10 Feb 2002 17:08:34 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g1B18Ui41513; Sun, 10 Feb 2002 18:08:30 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g1B18SL68984; Sun, 10 Feb 2002 18:08:29 -0700 (MST) (envelope-from imp@village.org) Date: Sun, 10 Feb 2002 18:08:07 -0700 (MST) Message-Id: <20020210.180807.122287318.imp@village.org> To: silby@silby.com Cc: jhanna@shaw.ca, vs3volod@yahoo.com, hackers@FreeBSD.ORG, Karl.Dietz@triplan.com, winter@FreeBSD.ORG Subject: Re: ping: sendto: No buffer space available From: "M. Warner Losh" In-Reply-To: <20020210185451.Y29546-100000@patrocles.silby.com> References: <200202092056.g19Ku8j00368@207-194-143-195.dsl.axion.net> <20020210185451.Y29546-100000@patrocles.silby.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020210185451.Y29546-100000@patrocles.silby.com> Mike Silbersack writes: : : On Sat, 9 Feb 2002, Jonathan Hanna wrote: : : > : > This looks like the bug in the "ep" driver. When the interrupt routine : > gets both TX and RX interrupts it acknowledges both but only services : > the read. Karl Dietz, is working on an overhaul : > but my quick fix is to take out the "continue" after the "epread()" in : > ep_intr(). The buffer talked about is actually the ep queue being full. : > : > --- if_ep.c Fri Feb 1 19:51:43 2002 : > +++ if_ep.c.fix Sat Feb 9 12:49:31 2002 : > @@ -571,7 +571,6 @@ : > : > if (status & (S_RX_COMPLETE | S_RX_EARLY)) { : > epread(sc); : > - continue; : > } : > if (status & S_TX_AVAIL) { : > /* we need ACK */ : : If this fix is solid, should it be applied now to the ep driver? Should : we wait until the driver merge is complete? I don't own any cards that : use the ep chipset, but if that change fixes bugs for multiple ep users I : wouldn't be opposed to committing it for you. I have ep ISA and PC Card devices. I can take the point on testing it. I figure that at least the PC Card should be tested. Also, Matt Dodd should also be contacted about the ep driver. He was the maintainer of the ep driver for a long time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message