From owner-freebsd-net Thu Jun 27 23: 3:53 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D908D37B400 for ; Thu, 27 Jun 2002 23:03:48 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C0BF43E09 for ; Thu, 27 Jun 2002 23:03:48 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g5S63m855052; Thu, 27 Jun 2002 23:03:48 -0700 (PDT) (envelope-from rizzo) Date: Thu, 27 Jun 2002 23:03:48 -0700 From: Luigi Rizzo To: net@freebsd.org Subject: interface stalling on tx ? Message-ID: <20020627230348.A54937@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have been hit by the following problem from time to time, and I was wondering if others have seen it. This has happened to me with the "em", "sis", "dc" and "fxp" cards, though it is not always easy to reproduce. But I have seen it enough times to believe that it is not card-specific. Basically, what it seems to happen is the following: If the driver has packets pending in its transmit queue (i.e. stored there by *_start()), and for some reason the link experiences some strange event (e.g. the device at the other end reboots), then packets pile up in the driver, the queue fills up, and the interface never resumes transmission until you do an ifconfig down/ ifconfig up (or some equivalent action is taken independently by the system). I thought that upon transmission the driver somehow registered a timeout to take care of these events, but maybe I am wrong ? Have other people seen this problem too ? cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message