lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 22 Oct 2021 16:33:37 +0200
From:   Maxime Ripard <maxime@...no.tech>
To:     Doug Berger <opendmb@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>
Cc:     netdev@...r.kernel.org, bcm-kernel-feedback-list@...adcom.com,
        Nicolas Saenz Julienne <nsaenz@...nel.org>,
        Stefan Wahren <stefan.wahren@...e.com>
Subject: GENET and UNIMAC MDIO probe issue?

Hi Florian, Doug,

I'm currently trying to make the RaspberryPi CM4 IO board probe its
ethernet controller, and it looks like genet doesn't manage to find its
PHY and errors out with:

[    3.240435] libphy: Fixed MDIO Bus: probed
[    3.248849] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    3.259118] libphy: bcmgenet MII bus: probed
[    3.278420] mdio_bus unimac-mdio--19: MDIO device at address 1 is missing.
[    3.285661] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus

....

[   13.082281] could not attach to PHY
[   13.089762] bcmgenet fd580000.ethernet eth0: failed to connect to PHY
[   74.739621] could not attach to PHY
[   74.746492] bcmgenet fd580000.ethernet eth0: failed to connect to PHY

Here's the full boot log:
https://pastebin.com/8RhuezSn

It looks like it's related to the following bugzilla entry:
https://bugzilla.kernel.org/show_bug.cgi?id=213485

However, that commit has been merged for a while apparently, and even
next-20211022 shows that behavior, both with the drivers built-in or as
modules. The other suggested fix to set probe_type to
PROBE_FORCE_SYNCHRONOUS doesn't seem to fix it either.

Maxime

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ