From owner-freebsd-stable@FreeBSD.ORG Thu Mar 23 19:00:11 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF0D716A401 for ; Thu, 23 Mar 2006 19:00:11 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3300343D48 for ; Thu, 23 Mar 2006 19:00:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 8EA352000DF; Thu, 23 Mar 2006 20:00:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id C9EEB2000DE; Thu, 23 Mar 2006 20:00:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 05924444F45; Thu, 23 Mar 2006 18:59:47 +0000 (UTC) Date: Thu, 23 Mar 2006 18:59:47 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: JoaoBR In-Reply-To: <200603231540.33339.joao@matik.com.br> Message-ID: <20060323184852.G2181@maildrop.int.zabbadoz.net> References: <20060323182910.1190845041@ptavv.es.net> <200603231540.33339.joao@matik.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: freebsd-stable@freebsd.org Subject: Re: nve timeout (and down) regression? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 19:00:11 -0000 On Thu, 23 Mar 2006, JoaoBR wrote: Hi, >> The other patch cited in the message has never been made: >> diff -u -r1.7.2.4 if_nve.c >> --- if_nve.c 9 Oct 2005 04:18:17 -0000 1.7.2.4 >> +++ if_nve.c 27 Oct 2005 09:58:45 -0000 >> @@ -727,7 +727,7 @@ >> >> DEBUGOUT(NVE_DEBUG_INIT, "nve: nve_init_rings - entry\n"); >> >> - sc->cur_rx = sc->cur_tx = sc->pending_rxs = sc->pending_txs = 0; >> + sc->cur_rx = sc->cur_tx = sc->pending_rxs = 0; > > > and I did this part and my NIC is running, as I said still lot of collisions > caused by it but it is running If you have collisions you have most likeely a duplex mismatch. If you read the code and I remember right the above change is a NOP. The timeouts have been there and are there. The difference with the last commits is that a lot of people couldn't get the NIC working at all before and now it works (somewhat) but there are timeouts from time to time which for some people seem to auto-recover and for others still get things 'stuck'. The problem is to diagnose what everyone really has - branch running (RELENG_6 or HEAD) - i386 or amd64 - exact FreeBSD revisions for if_nve.c - if using patches which - pciconf -lv | grep -A4 ^nve - which board - exact problems * is the interface working at all * is it just stuck from time to time * ... See http://www.freebsd.org/cgi/query-pr.cgi?pr=94524 for more questions. You my want to submit a fllow up and add your description with the answer to these questions there. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT