#1011542 installation-reports: Armhf Installer Missing phy-gmii-sel.ko Module Required on BeagleBone Black

#1011542#5
Date:
2022-05-24 19:22:15 UTC
From:
To:
(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)

Boot method: SD-Card Image
Image version: http://ftp.debian.org/debian/dists/bullseye/main/installer-armhf/20210731+deb11u3/images/netboot/SD-Card-images/    2022-03-22  [firmware.BeagleBoneBlack.img + partition.img]
Date: May 22, 2022

Machine: Circuitco BeagleBone Black, Rev C
Partitions: <df -Tl will do; the raw partition table is preferred>


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [E]
Configure network:      [ ]
Detect media:           [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Install base system:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

The d-i program fails to identify the network card and, therefore, cannot complete.  I can resolve this issue by manually editting the initrd.gz image, provided by the default installer, and appending the drivers/phy/ti/phy-gmii-sel.ko module from linux-image-5.10.0-13-armmp.  This same issue has been validated in each Bullseye release prior to Update 3, and in the previous major release.

Please make sure that any installation logs that you think would
be useful are attached to this report. Please compress large
files using gzip.

#1011542#10
Date:
2022-05-24 20:02:14 UTC
From:
To:
Hello,

I am interested in assisting in the development and testing of a patch for this bug report.  I am assuming that the patch may be very simple; e.g., simply editing a list of included module names.

I will need some direction as to where to begin looking for the relevant patch source repository and source file.

Thank you,

Dave Kaiser

#1011542#15
Date:
2022-05-24 21:29:41 UTC
From:
To:
Thanks for looking into this!

Probably just adding phy-gmii-sel to
installer/modules/armhf-armmp/nic-modules or
installer/modules/armhf-armmp/kernel-image in the linux kernel package:

https://salsa.debian.org/kernel-team/linux

Building the kernel package can definitely be very time consuming and a
little unusual as packages go, but you should be able to cross-build it
on an amd64 machine...

Sounds like you'll also want to get this added into bullseye's kernel,
though normally the process is to first get it fixed in unstable, and
then backport the fix to stable.

Getting your custom kernel into a custom-built installer image is a
little trickier...


live well,
  vagrant