From owner-freebsd-current@FreeBSD.ORG Tue Jul 12 13:12:29 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C31BA16A41C for ; Tue, 12 Jul 2005 13:12:29 +0000 (GMT) (envelope-from current@deadcafe.de) Received: from deadcafe.de (deadcafe.de [81.169.162.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id E04F243D4C for ; Tue, 12 Jul 2005 13:12:28 +0000 (GMT) (envelope-from current@deadcafe.de) Received: from dialin.t-online.de (p54A5CA1E.dip.t-dialin.net [84.165.202.30]) by deadcafe.de (8.13.4/8.13.4/Rock) with ESMTP id j6CDCOZr077319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Jul 2005 15:12:26 +0200 (CEST) X-Envelope-To: Received: from [172.23.7.123] (nx7000-wlan.rock.net [172.23.7.123]) by dialin.t-online.de (8.13.4/8.13.4/Rock) with ESMTP id j6CDCIBr048957 for ; Tue, 12 Jul 2005 15:12:18 +0200 (CEST) Message-ID: <42D3C1B4.8060709@deadcafe.de> Date: Tue, 12 Jul 2005 15:12:20 +0200 From: Daniel Rock User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <42D26463.507@deadcafe.de> <20050711175004.63f787dc.bryanv@daemoninthecloset.org> In-Reply-To: <20050711175004.63f787dc.bryanv@daemoninthecloset.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.1 required=5.5 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on deadcafe.de Subject: Re: Current amd64, "nve0: device timeout" with nForce4 ethernet X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 13:12:29 -0000 >>How much memory do you have? >> >>I'm too having trouble with the nve driver under FreeBSD, but only if memory >>is mapped beyond the 4 GB mark. >> >>I have a Tyan S2895 mobo with a memory hole at 2.75 GB for PCI cards. In the >>BIOS I can decide how to remap this memory: Disabled/Hardware/Software >> >>If I choose to set this setting to "Disabled" my nve driver works fine, with >>any other setting I too get "device timeout"'s. >> > > > I have a similar timeouts under current with an NForce2 (Abit NF7) with 1GB of memory. My timeouts usually happen under heavy usage however. > > nve0: port 0xc000-0xc007 mem 0xe1004000-0xe1004fff irq 10 at device 4.0 on pci0 > nve0: Ethernet address 00:50:8d:fb:18:a2 > miibus0: on nve0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > nve0: Ethernet address: 00:50:8d:fb:18:a2 > nve0: [GIANT-LOCKED] To clarify myself (after longer testing): Without the memory clipping at 4 GB the nve driver doesn't work at all. I just receive a message nve0: device timeout(n) with n any positive number (5..11 so far). With options MAXMEM=4194303 in my kernel config file the nve driver works mostly. Yesterday I was able to transfer ~500MB without any error. Then suddenly network traffic stops after nve0: device timeout(-1) Only solution was a reboot (I may try compiling the nve driver as a module and see if unloading/reloading of the module also helps). Today I'm getting tons of messages nve0: device timeout(4) (68 of these messages for ~260MB traffic) but after 2 seconds the link works again. Daniel