From nobody@FreeBSD.org  Tue Mar 28 21:46:43 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8094916A423
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Mar 2006 21:46:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 56A8F43D55
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Mar 2006 21:46:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2SLkcvR078698
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Mar 2006 21:46:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2SLkcDR078697;
	Tue, 28 Mar 2006 21:46:38 GMT
	(envelope-from nobody)
Message-Id: <200603282146.k2SLkcDR078697@www.freebsd.org>
Date: Tue, 28 Mar 2006 21:46:38 GMT
From: Peter Johansson <linuxmad@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Nvidia Nforce ETH Driver -> Timeout Errors
X-Send-Pr-Version: www-2.3

>Number:         95056
>Category:       amd64
>Synopsis:       Nvidia Nforce ETH Driver -> Timeout Errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 21:50:20 GMT 2006
>Closed-Date:    Wed Sep 13 18:50:08 GMT 2006
>Last-Modified:  Wed Sep 13 18:50:08 GMT 2006
>Originator:     Peter Johansson
>Release:        FreeBSD 6.1-PRERELEASE
>Organization:
Home
>Environment:
FreeBSD Codename7 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 28 21:46:40 CEST 2006     root@Codename7:/usr/src/sys/amd64/compile/Pete-Kernel  amd64

>Description:
Iam having issues with my nforce ETH Nic, Timeout errors
Hence every test have used the same amount network traffic, under the same time

##############################################
#FreeBSD 6-RELEASE - if_nve.c version 1.7.2.7#
##############################################
* timeout errors every minute
* after 10 - 15 minutes network dies, and i need to force a /etc/rc.d/netif restart to get my net back, However after the 3rd die i /etc/rc.d/netif restart wont help, i need to do a reboot to get my net back.

##################################################
#FreeBSD 6.1-PRERELASE - if_nve.c version 1.7.2.8#
##################################################
* timeout errors every minute + one second system freeze between every timeout
(Mouse hangs / Music Hangs / System Hangs for a second)
(!!!Hence version 1.7.2.7 never gave a system hang between every timeout!!!!)
Also on this version the net dies every 10 - 15 minutes, and also after the 3rd die i need to force a reboot to get my net back.

##################################################
#FreeBSD 6.1-PRERELASE - if_nve.c version 1.20   #
##################################################

I have downloaded this if_nve.c driver trough cvsup using tag=.
and after that placed if_nve.c if_nvereg.h + the contrib/dev/nve/ dir into
the 6.1-PRERELASE src/sys folder

However this driver seems to work best due
My network havent died completley yet, i havent had to force a 
/etc/rc.d/netif restart nor had to do a reboot.

Anyhow the timeout issues still exsists and the system freezes for a second between every timeout.

- - - - - - - - - - - - - - -
My hardware is the following

Motherboard -> Tyan Thunder 2895 - K8WE
http://www.tyan.com/products/html/thunderk8we.html

nForce Professional 2200 and 2050 core-logic solutions,
I dont know if this some customized chipset or whatever, i think it's just an ordianry nforce4 eth chipset ive gotten.

Iam marking this bug serious due this is my workstation / desktop PC
and yes my only PCI slot already gotten a soundcard connected ;)
So i dont have the money to buy a PCI Express Network Card.
I have to stick with the nforce one ^^

Iam absolutley intressted in testing new patches, etc
I have no good C/C++ programming experience so sadly i cant try to code this by myself ='(

Regards
Pete
>How-To-Repeat:
I have no idea what you mean by this
>Fix:
Rewrite the code?
>Release-Note:
>Audit-Trail:

From: "Peter Johansson" <linuxmad@gmail.com>
To: bug-followup@FreeBSD.org, linuxmad@gmail.com
Cc:  
Subject: Re: amd64/95056: Nvidia Nforce ETH Driver -> Timeout Errors
Date: Wed, 29 Mar 2006 23:14:04 +0200

 ------=_Part_6159_8528242.1143666844396
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Btw one solution would be if we could totaly port the Linux 2.6.x forcedeth
 nforce driver to FreeBSD
 Which would give us more freedom to hack the code, due we wont use the
 nvidia closed source API.
 Also that the Linux forcedeth drivers worked wonderful with my chipset and
 also with many of my friends.
 So this maybe could be the best solution.
 But as i said before i have no C/C++ programming experience, which means
 that i cant do this.
 And when i cant do this i guess that the intress in porting it would be ver=
 y
 low.
 But if we see it from this point it wont only help me. It will help all
 other people using a nforce chipset.
 
 Regards
 Pete
 
 ------=_Part_6159_8528242.1143666844396
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Btw one solution would be if we could totaly port the Linux 2.6.x forcedeth=
  nforce driver to FreeBSD<br>
 Which would give us more freedom to hack the code, due we wont use the nvid=
 ia closed source API.<br>
 Also that the Linux forcedeth drivers worked wonderful with my chipset and =
 also with many of my friends.<br>
 So this maybe could be the best solution.<br>
 But as i said before i have no C/C++ programming experience, which means th=
 at i cant do this.<br>
 And when i cant do this i guess that the intress in porting it would be ver=
 y low.<br>
 But if we see it from this point it wont only help me. It will help all oth=
 er people using a nforce chipset.<br>
 <br>
 Regards<br>
 Pete<br>
 
 ------=_Part_6159_8528242.1143666844396--
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Thu Jul 6 12:07:20 UTC 2006 
State-Changed-Why:  
Can you try with the nfe driver? 

It is in CURRENT or you can get it from  
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95056 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Sep 13 18:50:06 UTC 2006 
State-Changed-Why:  
The submitter moved on to Gentoo Linux and cannot test the presented 
patch, close the PR since we cannot determine if it will work. If 
someone has feedback, please contact me so that we can look into it.  To 
the submitter, we hope to see you back someday! Thanks for using FreeBSD 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95056 
>Unformatted:
