NetBSD Problem Report #30490

From www@netbsd.org  Fri Jun 10 11:21:09 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id E4F9A63B11A; Fri, 10 Jun 2005 11:21:08 +0000 (UTC)
Message-Id: <20050610112108.E4F9A63B11A@narn.netbsd.org>
Date: Fri, 10 Jun 2005 11:21:08 +0000 (UTC)
From: umezawa@iij.ad.jp
Reply-To: umezawa@iij.ad.jp
To: gnats-bugs@netbsd.org
Subject: wm(4) fails to link up if configured as 100baseT-FDX at the boot time
X-Send-Pr-Version: www-1.0

>Number:         30490
>Category:       kern
>Synopsis:       wm(4) fails to link up if configured as 100baseT-FDX at the boot time
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    msaitoh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 10 11:22:00 +0000 2005
>Closed-Date:    Thu Apr 05 07:25:58 +0000 2007
>Last-Modified:  Thu Apr 05 07:25:58 +0000 2007
>Originator:     UMEZAWA Takeshi
>Release:        1.6.2
>Organization:
Internet Initiative Japan
>Environment:
NetBSD idgw07.iij.ad.jp 1.6.2_STABLE NetBSD 1.6.2_STABLE (GENERIC) #0: Mon May  2 11:40:58 JST 2005     root@idgw07.iij.ad.jp:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
When wm(4) is connected to switching hub port which is 100/full fixed
(not autonegotiated), and wm is also configured as 100/full
(by /etc/ifconfig.wm0), it fails to link up at the boot time.

This problem relies on switching hub, as far as I know.
For example, it occurs if we use Catalyst 3512, and does not occur
if we use CentreCOM GS916GT.
On the other hand, all of i8254x chips which I tested makes this problem.

If the cable is unplugged and re-plugged, wm links up successfully.
But after rebooting, the link is down again.

----

This problem does not occur under FreeBSD em(4) driver.
Probably wm driver lacks some workarounds which exist in em driver.
>How-To-Repeat:
described in Full Description.
>Fix:

>Release-Note:

>Audit-Trail:
From: SAITOH Masanobu <msaitoh@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/30490 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:13:43 +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:13:43 +0000
State-Changed-Why:
I believe it was fixed today's current. Please test.


From: Julian Coleman <jdc@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/30490 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/30490 CVS commit: [netbsd-4] src/sys/dev/mii
Date: Mon, 26 Mar 2007 21:05:34 +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/30490 CVS commit: [netbsd-4] src/sys/dev/pci
Date: Mon, 26 Mar 2007 21:06:56 +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/30490 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.

State-Changed-From-To: feedback->closed
State-Changed-By: msaitoh@netbsd.org
State-Changed-When: Thu, 05 Apr 2007 07:25:58 +0000
State-Changed-Why:
fixed and pulled up to netbsd-3 and netbsd-4


>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.