From clint@0lsen.net  Sat Oct 23 21:17:19 2004
Return-Path: <clint@0lsen.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D8C5816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 23 Oct 2004 21:17:19 +0000 (GMT)
Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 598DB43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 23 Oct 2004 21:17:19 +0000 (GMT)
	(envelope-from clint@0lsen.net)
Received: from 0lsen.net ([24.20.127.157])
          by comcast.net (sccrmhc12) with ESMTP
          id <2004102321171601200g1qphe>; Sat, 23 Oct 2004 21:17:16 +0000
Received: by 0lsen.net (Postfix, from userid 1001)
	id C040A179A2; Sat, 23 Oct 2004 14:17:15 -0700 (PDT)
Message-Id: <20041023211715.C040A179A2@0lsen.net>
Date: Sat, 23 Oct 2004 14:17:15 -0700 (PDT)
From: Clint Olsen <clint@0lsen.net>
Reply-To: Clint Olsen <clint@0lsen.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sk0 still hosed with ASUS P4-800SE builtin networking
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         73052
>Category:       kern
>Synopsis:       sk0 still hosed with ASUS P4-800SE builtin networking
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 23 21:20:07 GMT 2004
>Closed-Date:    Mon Jan 31 19:15:13 GMT 2005
>Last-Modified:  Sat Feb 12 22:07:20 GMT 2005
>Originator:     Clint Olsen
>Release:        FreeBSD 5.3-BETA1 i386
>Organization:
>Environment:
System: FreeBSD belle.0lsen.net 5.3-BETA1 FreeBSD 5.3-BETA1 #5: Wed Aug 25 20:02:06 PDT 2004 root@belle.0lsen.net:/usr/obj/usr/src/sys/GENERIC i386

skc0: <Marvell Gigabit Ethernet> port 0xd800-0xd8ff mem
0xfeafc000-0xfeafffff irq 22 at device 5.0 on pci2
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0e:a6:96:8f:72
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto
skc0: [GIANT-LOCKED]

>Description:
Through normal use, the networking completely hangs.  Sometimes ifconfig
sk0 down; ifconfig sk0 up works.  Other times, a reboot is required.
>How-To-Repeat:
Use the machine.  Heavy use seems to induce the problem sooner.
>Fix:
Someone posed a change on CURRENT before the 5.3-BETA fork, but apparently
this fix did not precisely fix the problem.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->bz@FreeBSD.org 
Responsible-Changed-By: bz 
Responsible-Changed-When: Sat Nov 13 20:04:35 GMT 2004 
Responsible-Changed-Why:  
mine.. I have a patch for this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73052 

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: Clint Olsen <clint@0lsen.net>
Subject: Re: kern/73052: sk0 still hosed with ASUS P4-800SE builtin networking
Date: Sat, 13 Nov 2004 20:53:12 +0000 (UTC)

 On Sat, 13 Nov 2004, Bjoern A. Zeeb wrote:
 
 > Synopsis: sk0 still hosed with ASUS P4-800SE builtin networking
 
 I just committed the patch from [1] to HEAD. Could you please test.
 
 [1] http://sources.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/if_sk_88E8001-ram.diff
 
 -- 
 Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
State-Changed-From-To: open->feedback 
State-Changed-By: bz 
State-Changed-When: Sat Nov 20 12:51:07 GMT 2004 
State-Changed-Why:  
Further patches have been committed to HEAD. Could 
you please give them a try and report if they help  
for your problem. 

I have at least one report from another person with  
exactly the same board that it works fine now. 

If you are running 5.x simply copying over 
if_sk.c (r1.92) and if_skreg.h (r1.24) from HEAD to 
your local tree should be fine for testing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73052 
State-Changed-From-To: feedback->closed 
State-Changed-By: bz 
State-Changed-When: Mon Jan 31 19:14:10 GMT 2005 
State-Changed-Why:  
Submitter reported the sk(4) survived a load test. 
Many thanks for reporting and testing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73052 
Responsible-Changed-From-To: bz@FreeBSD.org->bz 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Feb 12 22:07:03 GMT 2005 
Responsible-Changed-Why:  


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