NetBSD Problem Report #33429

From perry@piermont.com  Sat May  6 17:28:49 2006
Return-Path: <perry@piermont.com>
Received: from hackworth.piermont.com (hackworth.piermont.com [166.84.151.68])
	by narn.netbsd.org (Postfix) with ESMTP id 5F60663B89E
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  6 May 2006 17:28:48 +0000 (UTC)
Message-Id: <20060506172840.B69E778A855@hackworth.piermont.com>
Date: Sat,  6 May 2006 13:28:40 -0400 (EDT)
From: perry@piermont.com
Reply-To: perry@piermont.com
To: gnats-bugs@netbsd.org
Subject: wm (intel gigabit ethernet) loses carrier/never gets carrier
X-Send-Pr-Version: 3.95

>Number:         33429
>Category:       kern
>Synopsis:       wm (intel gigabit ethernet) loses carrier/never gets carrier
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    msaitoh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 06 17:30:00 +0000 2006
>Closed-Date:    Mon Mar 05 11:37:40 +0000 2007
>Last-Modified:  Sat Mar 31 15:30:08 +0000 2007
>Originator:     Perry E. Metzger
>Release:        NetBSD 3.99.18
>Organization:
Perry E. Metzger		perry@piermont.com
--
"Ask not what your country can force other people to do for you..."
>Environment:


System: NetBSD hackworth 3.99.18 NetBSD 3.99.18 (HACKWORTH) #0: Thu Apr 27 15:04:36 EDT 2006 perry@hackworth:/usr/src/sys/arch/i386/compile/HACKWORTH i386
Architecture: i386
Machine: i386
>Description:
	My wm device frequently loses carrier and will not regain it
or fails to get carrier at all.

The device is:

wm0 at pci2 dev 1 function 0: Intel i82540EP 1000BASE-T Ethernet, rev. 3
wm0: interrupting at irq 11
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0d:60:77:41:d2
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 4

It is the built in ethernet in an IBM T41 laptop.

I am sorry that I can't give more details, but it pretty much is as
simple as that. Sometimes it works just fine, sometimes it refuses to
work at all, and I can't predict why or when. As you might imagine it
is a big problem when one needs the network and it doesn't operate.

>How-To-Repeat:

Other than by trying a wm in an IBM T41, I don't know. :)
The behavior seems pretty consistent. It *may* depend on the
particular kind of switch I'm connected to but I can't really tell.

>Fix:


>Release-Note:

>Audit-Trail:
From: SAITOH Masanobu <msaitoh@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33429 CVS commit: src/sys/dev
Date: Fri, 23 Feb 2007 03:03:11 +0000 (UTC)

 Module Name:	src
 Committed By:	msaitoh
 Date:		Fri Feb 23 03:03:11 UTC 2007

 Modified Files:
 	src/sys/dev/mii: igphy.c makphy.c
 	src/sys/dev/pci: if_wm.c

 Log Message:
 fix some negotiation problems on wm(4).

 will fix PR#30078, PR#30490, PR#30906, PR#33429, PR#35386.


 To generate a diff of this commit:
 cvs rdiff -r1.10 -r1.11 src/sys/dev/mii/igphy.c
 cvs rdiff -r1.22 -r1.23 src/sys/dev/mii/makphy.c
 cvs rdiff -r1.132 -r1.133 src/sys/dev/pci/if_wm.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@netbsd.org
Responsible-Changed-When: Fri, 23 Feb 2007 03:17:13 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: open->feedback
State-Changed-By: msaitoh@netbsd.org
State-Changed-When: Fri, 23 Feb 2007 03:17:13 +0000
State-Changed-Why:
I believe it was fixed today's current. Please verify.


State-Changed-From-To: feedback->closed
State-Changed-By: perry@netbsd.org
State-Changed-When: Mon, 05 Mar 2007 11:37:40 +0000
State-Changed-Why:
I'm no longer able to reproduce the bug.


From: Julian Coleman <jdc@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33429 CVS commit: [netbsd-4] src/sys/dev/mii
Date: Mon, 26 Mar 2007 21:04:49 +0000 (UTC)

 Module Name:	src
 Committed By:	jdc
 Date:		Mon Mar 26 21:04:49 UTC 2007

 Modified Files:
 	src/sys/dev/mii [netbsd-4]: igphy.c

 Log Message:
 Pull up revision 1.11 (requested by msaitoh in ticket #514).

 fix some negotiation problems on wm(4).

 will fix PR#30078, PR#30490, PR#30906, PR#33429, PR#35386.


 To generate a diff of this commit:
 cvs rdiff -r1.10 -r1.10.2.1 src/sys/dev/mii/igphy.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Julian Coleman <jdc@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33429 CVS commit: [netbsd-4] src/sys/dev/mii
Date: Mon, 26 Mar 2007 21:05:35 +0000 (UTC)

 Module Name:	src
 Committed By:	jdc
 Date:		Mon Mar 26 21:05:34 UTC 2007

 Modified Files:
 	src/sys/dev/mii [netbsd-4]: makphy.c

 Log Message:
 Pull up revision 1.23 (requested by msaitoh in ticket #514).

 fix some negotiation problems on wm(4).

 will fix PR#30078, PR#30490, PR#30906, PR#33429, PR#35386.


 To generate a diff of this commit:
 cvs rdiff -r1.22 -r1.22.2.1 src/sys/dev/mii/makphy.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Julian Coleman <jdc@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33429 CVS commit: [netbsd-4] src/sys/dev/pci
Date: Mon, 26 Mar 2007 21:06:57 +0000 (UTC)

 Module Name:	src
 Committed By:	jdc
 Date:		Mon Mar 26 21:06:56 UTC 2007

 Modified Files:
 	src/sys/dev/pci [netbsd-4]: if_wm.c

 Log Message:
 Pull up revision 1.133 (requested by msaitoh in ticket #514).

 fix some negotiation problems on wm(4).

 will fix PR#30078, PR#30490, PR#30906, PR#33429, PR#35386.


 To generate a diff of this commit:
 cvs rdiff -r1.131 -r1.131.2.1 src/sys/dev/pci/if_wm.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33429 CVS commit: [netbsd-3] src
Date: Sat, 31 Mar 2007 15:25:37 +0000 (UTC)

 Module Name:	src
 Committed By:	bouyer
 Date:		Sat Mar 31 15:25:37 UTC 2007

 Modified Files:
 	src/share/man/man4 [netbsd-3]: wm.4
 	src/sys/arch/i386/conf [netbsd-3]: GENERIC GENERIC.MPACPI
 	    GENERIC_LAPTOP INSTALL INSTALL_LAPTOP XEN2_DOM0
 	src/sys/dev/mii [netbsd-3]: files.mii igphy.c makphy.c miidevs
 	src/sys/dev/pci [netbsd-3]: if_wm.c if_wmreg.h pcidevs
 Added Files:
 	src/sys/dev/mii [netbsd-3]: ikphy.c ikphyreg.h

 Log Message:
 pullup the following revisions (requested by msaitoh in ticket 1681):
 	sys/dev/pci/if_wm.c			1.104-1.105, 1.116-1.121,
 						1.127,1.133-1.134 via patch
 	sys/dev/pci/if_wmreg.h			1.17-1.20
 	sys/dev/pci/pcidevs			patch
 	sys/dev/mii/igphy.c			1.11
 	sys/dev/mii/makphy.c			1.20, 1.23
 	sys/dev/mii/ikphy.c			patch
 	sys/dev/mii/ikphyreg.h			patch
 	sys/dev/mii/miidevs			1.68
 	sys/dev/mii/files.mii			1.39
 	sys/arch/i386/conf/GENERIC		1.788-1.789 via patch
 	sys/arch/i386/conf/GENERIC.MPACPI	patch
 	sys/arch/i386/conf/GENERIC_LAPTOP	1.209 via patch
 	sys/arch/i386/conf/INSTALL		1.291 via patch
 	sys/arch/i386/conf/INSTALL_LAPTOP	1.104 via patch
 	sys/arch/i386/conf/XEN2_DOM0		1.13 via patch
 	share/man/man4/wm.4			1.14-1.16
 Add support for many cards (include PCI-express based chips).
 Many bug fixes about auto negotiations (PR#30078, PR#30490,
 PR#30906, PR#33429 and PR#35386).
 Fix media link issues with fiber-based card (PR#35797).


 To generate a diff of this commit:
 cvs rdiff -r1.11.2.2 -r1.11.2.3 src/share/man/man4/wm.4
 cvs rdiff -r1.661.2.18 -r1.661.2.19 src/sys/arch/i386/conf/GENERIC
 cvs rdiff -r1.21.4.6 -r1.21.4.7 src/sys/arch/i386/conf/GENERIC.MPACPI
 cvs rdiff -r1.135.2.9 -r1.135.2.10 src/sys/arch/i386/conf/GENERIC_LAPTOP
 cvs rdiff -r1.262.2.9 -r1.262.2.10 src/sys/arch/i386/conf/INSTALL
 cvs rdiff -r1.83.2.5 -r1.83.2.6 src/sys/arch/i386/conf/INSTALL_LAPTOP
 cvs rdiff -r1.1.2.9 -r1.1.2.10 src/sys/arch/i386/conf/XEN2_DOM0
 cvs rdiff -r1.36.2.1 -r1.36.2.2 src/sys/dev/mii/files.mii
 cvs rdiff -r1.5 -r1.5.10.1 src/sys/dev/mii/igphy.c
 cvs rdiff -r0 -r1.3.18.1 src/sys/dev/mii/ikphy.c
 cvs rdiff -r0 -r1.1.20.1 src/sys/dev/mii/ikphyreg.h
 cvs rdiff -r1.15.10.1 -r1.15.10.2 src/sys/dev/mii/makphy.c
 cvs rdiff -r1.58.2.5 -r1.58.2.6 src/sys/dev/mii/miidevs
 cvs rdiff -r1.100.2.6 -r1.100.2.7 src/sys/dev/pci/if_wm.c
 cvs rdiff -r1.14.4.1 -r1.14.4.2 src/sys/dev/pci/if_wmreg.h
 cvs rdiff -r1.701.2.42 -r1.701.2.43 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.