From nobody@FreeBSD.org  Fri Dec 24 09:53:11 2004
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 45FB116A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 Dec 2004 09:53:11 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 309F443D53
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 Dec 2004 09:53:11 +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 iBO9rAuW053284
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 Dec 2004 09:53:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBO9rAFM053282;
	Fri, 24 Dec 2004 09:53:10 GMT
	(envelope-from nobody)
Message-Id: <200412240953.iBO9rAFM053282@www.freebsd.org>
Date: Fri, 24 Dec 2004 09:53:10 GMT
From: Patrick Oonk <Patrick@pine.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sk driver hangs
X-Send-Pr-Version: www-2.3

>Number:         75460
>Category:       kern
>Synopsis:       sk driver hangs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 24 10:00:41 GMT 2004
>Closed-Date:    Fri Jan 21 22:15:37 GMT 2005
>Last-Modified:  Fri Jan 21 22:15:37 GMT 2005
>Originator:     Patrick Oonk
>Release:        4.10-RELEASE-p5
>Organization:
Pine Digital Security
>Environment:
FreeBSD xxxxxxx.pine.nl 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #19: Thu Dec 23 14:37:15 CET 2004     root@xxxxx:/usr/obj/usr/src/sys/DISKLESS  i386

>Description:
The sk driver stops working when used for a short while.
The adapter is integrated in the Asus P4-P800 board.

FreeBSD 4.10-RELEASE-p5 #19: Thu Dec 23 14:37:15 CET 2004
    root@xxxxxxxx:/usr/obj/usr/src/sys/DISKLESS
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS
E2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073414144 (1048256K bytes)
avail memory = 1039728640 (1015360K bytes)

skc0: <Marvell Gigabit Ethernet> port 0xd800-0xd8ff mem 0xf7eec000-0xf7eeffff irq 10 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:11:2f:83:0b:22

>How-To-Repeat:
Use the machine
>Fix:
ifconfig sk0 down
ifconfig sk0 up 

fixes the problem temporarily
>Release-Note:
>Audit-Trail:

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Patrick Oonk <Patrick@pine.nl>
Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject: Re: kern/75460: sk driver hangs
Date: Fri, 24 Dec 2004 11:24:58 +0000 (UTC)

 could you please try following patch and see if it improves the
 situation (I don't even know if it will compile because I am not
 setup for RELENG_4):
 http://sources.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/if_sk-RELENG_4.diff
 
 If you need jumbo frame support following patch from HEAD should
 apply with some offset and also work:
 http://sources.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/if_sk.c-yukon-jumbo-frames.diff

From: Patrick Oonk <patrick@pine.nl>
To: freebsd-gnats-submit@FreeBSD.org, Patrick@pine.nl
Cc:  
Subject: Re: kern/75460: sk driver hangs
Date: Fri, 24 Dec 2004 15:49:04 +0100

 The patch at   
 http://sources.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/if_sk- 
 RELENG_4.diff works for me!
 
 Could this be incorporated in 4.11?
 
State-Changed-From-To: open->closed 
State-Changed-By: bz 
State-Changed-When: Fri Jan 21 22:13:14 GMT 2005 
State-Changed-Why:  
Patch has been committed to RELENG_4 and merged to 4.11RC. 


Responsible-Changed-From-To: freebsd-bugs->bz 
Responsible-Changed-By: bz 
Responsible-Changed-When: Fri Jan 21 22:13:14 GMT 2005 
Responsible-Changed-Why:  
change to me so I will be notified on possible follow-ups. 

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