4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

Marc Zyngier marc.zyngier at arm.com
Wed Mar 16 04:39:43 PDT 2016


On 16/03/16 11:19, Bert Lindner wrote:
> Hi,
> 
> Hopefully this is the correct place and way to report this.
> 
> For the board sun7i-a20-olinuxino-lime2, there seems to be a problem 
> with the eth0 PHY in mainline kernel 4.5.0 that developed since 
> 4.5.0-rc7. Ethernet does not work, although eth0 is reported:
> 
> root at lime2-079f:~# ip a l eth0
> 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group 
> default qlen 1000
>      link/ether 02:c9:05:02:07:9f brd ff:ff:ff:ff:ff:ff
> 
>   Difference reported in dmesg:
> 
> 4.5.0-rc7:
> [    9.379279] NET: Registered protocol family 10
> [   10.217148]  RX IPC Checksum Offload disabled
> [   10.217195]  No MAC Management Counters available
> [   10.217627] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   15.206250] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 
> 1Gbps/Full - flow control off
> [   15.206360] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> 
> 4.5.0:
> [    9.767125] NET: Registered protocol family 10
> [   10.357405] libphy: PHY stmmac-0:ffffffff not found
> [   10.362382] eth0: Could not attach to PHY
> [   10.366557] stmmac_open: Cannot attach to PHY (error: -19)
> 
> .config is identical for both, also after make oldconfig, apart from 
> comment with version number. DTB file is also identical between the two 
> versions.
> 
> Kernels are compiled on the board itself. /proc/version string:
> Linux version 4.5.0-rc7 (root at lime2-079f) (gcc version 4.9.1 
> (Ubuntu/Linaro 4.9.1-16ubuntu6) ) #1 SMP Mon Mar 7 11:57:25 UTC 2016
> Linux version 4.5.0 (root at lime2-079f) (gcc version 4.9.1 (Ubuntu/Linaro 
> 4.9.1-16ubuntu6) ) #1 SMP Tue Mar 15 11:39:01 UTC 2016
> 
> Please let me know if more info is needed, if I should post complete 
> .config, test compile with a particular config or patch, etc. Part of 
> .config below.

Can you please try reverting 88f8b1b ("stmmac: Fix 'eth0: No PHY found'
regression") and report whether or not this changes anything? This seems
to be the only stmac patch between -rc7 and release...

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list