From owner-freebsd-hackers Mon Jul 8 7:12:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5251E37B400 for ; Mon, 8 Jul 2002 07:12:51 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B2AD43E3B for ; Mon, 8 Jul 2002 07:12:50 -0700 (PDT) (envelope-from mckay@thehub.com.au) Received: from dungeon.home (ppp80.qld.padsl.internode.on.net [150.101.200.79]) by smtp0.adl1.internode.on.net (8.12.4/8.12.4) with ESMTP id g68ECkth088791; Mon, 8 Jul 2002 23:42:47 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.11.6/8.11.1) with ESMTP id g68ECjh16273; Tue, 9 Jul 2002 00:12:45 +1000 (EST) (envelope-from mckay) Message-Id: <200207081412.g68ECjh16273@dungeon.home> To: Martin Blapp Cc: hackers@freebsd.org, mckay@thehub.com.au Subject: Re: dc0: failed to force tx and rx to idle state References: <20020705100135.U41780-100000@levais.imp.ch> In-Reply-To: <20020705100135.U41780-100000@levais.imp.ch> from Martin Blapp at "Fri, 05 Jul 2002 10:13:58 +0200" Date: Tue, 09 Jul 2002 00:12:45 +1000 From: Stephen McKay 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 On Friday, 5th July 2002, Martin Blapp wrote: >This problem still persists. On my Laptop a ACCTON MiniPCI >100Mbit card does make this output. Then I loose my network >connection. Only a ifconfig down/up of the interface helps. Are you running -current? I did a quick (but safe) hack in -stable hoping that people would test -current and report back. Nobody did. If you are running -current, I will be able to make the error message go away, but that will not solve any hang problem. The code really has no effect at all except to print a warning on some cards. The Linux driver for these cards has no wait for tx and rx idle at all, and just assumes the effect is instant. In practice this is so. Perhaps I should just remove this loop. If anyone is using -current with PNIC, Davicom, or Accton cards and the dc driver, please speak up. I'd like to squash this tiny bug. Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message