From nobody@FreeBSD.org  Mon Mar 30 13:38:05 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D17CD106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 13:38:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BE3468FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 13:38:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2UDc4Ag017407
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 13:38:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2UDc4WD017406;
	Mon, 30 Mar 2009 13:38:04 GMT
	(envelope-from nobody)
Message-Id: <200903301338.n2UDc4WD017406@www.freebsd.org>
Date: Mon, 30 Mar 2009 13:38:04 GMT
From: Robert Heron <robert@heron.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 'msk' driver problem
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133204
>Category:       kern
>Synopsis:       [msk] msk driver timeouts
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 30 13:40:01 UTC 2009
>Closed-Date:    Mon May 30 22:08:08 UTC 2011
>Last-Modified:  Mon May 30 22:08:08 UTC 2011
>Originator:     Robert Heron
>Release:        6.4R and 7.1R
>Organization:
HERON
>Environment:
FreeBSD [my-hostname] 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Mon Mar 23 10:13:33 CET 2009     root@[my-hostname]:/usr/src/sys/i386/compile/HERON-64-2009-03  i386
>Description:
I use FreeBSD 6.4R and 7.1R on Mac Mini Intel Core 2 Duo with Marvell
Yukon 88E8053 Gigabit Ethernet.

The problem is that transmission through the 'msk' interface often times
out or breaks if traffic comes or goes to internet. On local ethernet
network is OK. Problem disappears when RX and TX checksum is off on this
interface.


>How-To-Repeat:

>Fix:
ifconfig msk0 -rxcsum -txcsum



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Apr 13 05:32:33 UTC 2009 
Responsible-Changed-Why:  
Reclassify. 

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

From: Rui Paulo <rpaulo@gmail.com>
To: bug-followup@FreeBSD.org,
 robert@heron.pl
Cc:  
Subject: Re: kern/133204: [msk] msk driver timeouts
Date: Mon, 13 Apr 2009 17:31:16 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-4--659928131
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
 Content-Transfer-Encoding: 7bit
 
 Just FYI, you can also try to disable MSI in the msk interface. This  
 should make the timeouts disappear and you still keep hw csums.
 
 --
 Rui Paulo
 
 
 --Apple-Mail-4--659928131
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (Darwin)
 
 iEYEARECAAYFAknjaNQACgkQfD8M/ASTygKbqwCgsEa2v6h52Dk3s7DuxwVjyf+I
 ba8AnROOa7jSRwg9Atl1KupNoMVcvK1R
 =NjD6
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-4--659928131--
Responsible-Changed-From-To: freebsd-net->yongari 
Responsible-Changed-By: andre 
Responsible-Changed-When: Mon Aug 23 17:54:13 UTC 2010 
Responsible-Changed-Why:  
Over to expert. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133204 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Sun May 29 23:40:21 UTC 2011 
State-Changed-Why:  
I received positive reports from msk(4) users who are suffering 
from msk(4) instability and I think this issue also might be fixed 
in latest msk(4) in HEAD. 
For your easy testing, I've back-ported msk(4) of HEAD to 
8.2-RELEASE. Please download the two files at the following URL and 
rebuild kernel. Make sure to you cold-start your box before 
rebooting to new kernel(i.e. unplug power cable and wait 10-20 
seconds and boot). 
http://people.freebsd.org/~yongari/msk/8.2R/if_msk.c 
http://people.freebsd.org/~yongari/msk/8.2R/if_mskreg.h 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133204 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Mon May 30 22:07:20 UTC 2011 
State-Changed-Why:  
Submitter has no longer access to the hardware. 
Given that a couple of positive feedback from Yukon Ultra users, I 
guess this issue was fixed now. If you happen to encounter the 
issue again, open a new PR for that. 
Thanks for reporting! 

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