Bug 1943983
Summary: | F34: no ethernet on UEFI booted Raspberry Pi 4 due to lack of initramfs MDIO drivers | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Throwaway Name <kernel> |
Component: | dracut | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | dracut-maint-list, jonathan, pbrobinson, pwhalen, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | aarch64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dracut-053-1.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-01 00:51:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Throwaway Name
2021-03-28 23:39:03 UTC
In #fedora-arm, Nicolas Chauvet confirmed that CONFIG_MDIO_BCM_UNIMAC=m is indeed set in the F34 kernel (fedpkg clone kernel -a) and suggested that the lack of mdio_bcm_unimac.ko in the initramfs could be caused by a missing directory in https://github.com/dracutdevs/dracut/tree/master/modules.d/90kernel-network-modules. https://src.fedoraproject.org/rpms/dracut suggests that Fedora 34 currently ships dracut 051-1 (spec: https://src.fedoraproject.org/rpms/dracut/blob/f34/f/dracut.spec). The more recent dracut 052 release (https://github.com/dracutdevs/dracut/releases/tag/052) includes https://github.com/dracutdevs/dracut/commit/3c8ca29, which would likely resolve the issue reported: > fix(kernel-network-modules): also install modules from mdio subdirectory > > A recent change in Linux kernel v5.10 split the MDIO drivers from the PHY > subdirectory into a new MDIO subdirectory [0]. This caused MDIO drivers > to not be included in the initramfs. > > Also include the modules of this new subdirectory to prevent this issue. > > [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9770eac511 This might explain why the current Rawhide, which ships dracut 053, initramfs has the necessary MDIO network drivers whereas the F34 initramfs lacks most of them. I can confirm that the Raspberry Pi 4 successfully boots with functional built-in ethernet on the Rawhide kernel and initramfs. I'm therefore changing the bug report's component from anaconda-images to dracut and ask: Is it possible to backport https://github.com/dracutdevs/dracut/commit/3c8ca29 into https://src.fedoraproject.org/rpms/dracut/tree/f34 ? This was due to a change in the upstream kernel, it was fixed in this commit and in dracut 052+ https://github.com/dracutdevs/dracut/pull/1020/commits/c8be886786d5a28d711ef37532b9e9f88a91f8dd I thought we had this in F-34 already, bit it seems it was only build for F-35 :-/ FEDORA-2021-2af4af2b59 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2af4af2b59 FEDORA-2021-2af4af2b59 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2af4af2b59` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2af4af2b59 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-2af4af2b59 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |