From owner-freebsd-stable@FreeBSD.ORG Fri Feb 1 11:36:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EA2216A41A for ; Fri, 1 Feb 2008 11:36:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 1C24B13C447 for ; Fri, 1 Feb 2008 11:36:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 07A9F43CA9B; Fri, 1 Feb 2008 13:35:59 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NOYGSLgYBhXy; Fri, 1 Feb 2008 13:35:58 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 9BD1943CA80; Fri, 1 Feb 2008 13:35:58 +0200 (EET) Message-ID: <47A3041D.5050402@icyb.net.ua> Date: Fri, 01 Feb 2008 13:35:57 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: freebsd-stable@freebsd.org, yongari@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: 6.3 nfe: strange behavior after hand 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: Fri, 01 Feb 2008 11:36:00 -0000 I am using nfe on 6.3 amd63 system with the code from here: http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html Everything is OK except for one small, but annoying problem. Sometimes when my system hangs and I have to use reset button, nfe stops working after reboot. ifconfig shows proper status and medium, there are no kernel error/debug messages, on the surface everything seems good. But if I try to ping a machine connected to the same switch I get "host down" responses. So, no network at all. Unloading and reloading if_nfe module doesn't help, various ifconfig re-configurations do not help too. Although, if I do power off and then boot, everything is perfect again. Until a couple of weeks ago I used 6.2 amd64 and nve (patched to recognize pci id of this card) and I never had such a problem. To un-enlightened me it seems like some resetting/re-initialization of the card is not done properly by nfe. Additional info. dmesg: nfe0: port 0xc800-0xc807 mem 0xfe02b000-0xfe02bfff irq 23 at device 20.0 on pci0 miibus0: on nfe0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto nfe0: Ethernet address: 00:18:f3:d4:43:1e nfe0: [FAST] ifconfig (output is the same in both working and non-working cases): nfe0: flags=8843 mtu 1500 options=8 inet 10.2.1.87 netmask 0xfffffc00 broadcast 10.2.3.255 ether 00:18:f3:d4:43:1e media: Ethernet autoselect (1000baseTX ) status: active pciconf: nfe0@pci0:20:0: class=0x068000 card=0x816a1043 chip=0x026910de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'MCP51 Network Bus Enumerator' class = bridge P.S. as always with network issues, I understand that it may be not so simple, e.g. some interaction between the card and the switch, etc. -- Andriy Gapon