NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/55218: wm0 doesn't find its phy on -HEAD



>Number:         55218
>Category:       kern
>Synopsis:       wm0's phy is not configured
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 29 14:25:00 +0000 2020
>Originator:     Paul Goyette
>Release:        NetBSD 9.99.52
>Organization:
+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+
>Environment:
	
	
System: NetBSD speedy.whooppee.com 9.99.52 NetBSD 9.99.52 (SPEEDY 2020-03-28 18:57:24 UTC) #0: Sat Mar 28 21:03:14 UTC 2020 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
With NetBSD amd64-9.99.52, the wm0 driver fails to detect/configure
its ihphy0:

...
[     1.034517] wm0 at pci0 dev 25 function 0: I218 V Ethernet Connection (rev. 0x05)
[     1.034517] wm0: interrupting at msi1 vec 0
[     1.034517] wm0: PCI-Express bus
[     1.034517] wm0: 2048 words FLASH, version 0.1.4
[     1.034517] wm0: Ethernet address 34:97:f6:dc:a5:dc
[     1.034517] wm0: 0x6a4480<FLASH,IOH_VALID,PCIE,ASF_FIRM,AMT,WOL,EEE>
[     1.034517] OUI 0x00aa00 model 0x000a rev 5 at wm0 phy 2 not configured
[     1.034517] OUI 0x00aa00 model 0x000a rev 5 at wm0 phy 2 not configured
[     1.034517] wm0: Assumed PHY access function (type = 0) might be incorrect.  Use BM and retry.
[     1.034517] OUI 0x00aa00 model 0x000a rev 5 at wm0 phy 2 not configured
...

Note also that without the phy, ifconfig is unable to determine the
interface's media:

# ifconfig wm0
wm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=0x7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
        capabilities=0x7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
        capabilities=0x7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
        enabled=0x3ff00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
        enabled=0x3ff00<UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx>
        enabled=0x3ff00<UDP6CSUM_Rx,UDP6CSUM_Tx>
        ec_capabilities=0x17<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,EEE>
        ec_enabled=0x2<VLAN_HWTAGGING>
        address: 34:97:f6:dc:a5:dc
>>>>    media: Ethernet none (none)
        inet 10.0.0.218/24 broadcast 10.0.0.255 flags 0
        inet6 2605:2700:1:1043::ff02/120 flags 0
        inet6 fe80::3697:f6ff:fedc:a5dc%wm0/64 flags 0 scopeid 0x1
        inet6 2601:1c0:cd02:8ab0:b648:13af:5c54:9a00/64 flags 0
        inet6 2601:1c0:cd02:8ab0::56b4/128 flags 0
        inet6 2601:1c0:cd02:8ab0::eccc/128 flags 0


On 9.99.42, it worked correctly:

...
[     1.035670] wm0 at pci0 dev 25 function 0: I218 V Ethernet Connection (rev.  0x05) 
[     1.035670] wm0: interrupting at msi1 vec 0
[     1.035670] wm0: PCI-Express bus
[     1.035670] wm0: 2048 words FLASH, version 0.1.4
[     1.035670] wm0: Ethernet address 34:97:f6:dc:a5:dc
[     1.035670] wm0: 0x6a4480<FLASH,IOH_VALID,PCIE,ASF_FIRM,AMT,WOL,EEE>
[     1.035670] ihphy0 at wm0 phy 2: i217 10/100/1000 media interface, rev. 5
[     1.035670] ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto



	
>How-To-Repeat:
See above.
	
>Fix:
Unknown
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index