On 2021.04.16 14:04, Ben Hutchings wrote:
On Thu, 2021-04-15 at 17:28 +0200, Samuel Thibault wrote:
Hello,
Pete Batard, le jeu. 15 avril 2021 16:11:02 +0100, a ecrit:
Quite a few people are negatively affected by this bug, and one can expect a
lot more to be if Debian 11 goes to release without the inclusion of
mdio-bcm-unimac.ko in the netinst ARM64 ISOs.
I have created an initramfs-tools merge request to attempt to fix the
problem, which can be found at:
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/46
AIUI initramfs-tools rules are not used to build the nic-modules
udeb, it'd rather be happening in the linux package, in
debian/installer/modules/nic-modules, which indeed doesn't include
drivers/net/mdio/.
Linux maintainers, do you know more on this issue?
Yes that's correct. This should be fixed in both initramfs-tools (for
normal system boot) and linux (for installation).
I can try to submit a pull request for linux if needed, but I may need
some guidance.
My take is that we want to add and explicit:
CONFIG_MDIO_BCM_UNIMAC=m
to debian/config/arm64/config and add a:
drivers/net/mdio/*
line to debian/installer/modules/nic-modules.
In other words, something like this patch:
https://salsa.debian.org/pbatard/linux/-/commit/855c728e4757bdcb4ceba054fc2b5b1da214b8ab
Does this approach look correct? Or do we need something different?
Regards,
/Pete