[Bug 1258800] Re: netboot does not include the 'alx' driver in 12.04.3
Benjamin Drung
1258800 at bugs.launchpad.net
Fri Oct 4 11:08:33 UTC 2024
The alx module is included in the initrd in Ubuntu 24.04 (noble):
$ 3cpio -t /boot/initrd.img | grep alx
usr/lib/modules/6.8.0-45-generic/kernel/drivers/net/ethernet/atheros/alx
usr/lib/modules/6.8.0-45-generic/kernel/drivers/net/ethernet/atheros/alx/alx.ko.zst
So I am marking this bug as fixed.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1258800
Title:
netboot does not include the 'alx' driver in 12.04.3
Status in initramfs-tools package in Ubuntu:
Fix Released
Bug description:
Ubuntu version:
Description: Ubuntu 12.04.3 LTS
Release: 12.04
when building a netboot image (in initramfs.conf BOOT=nfs) the 'alx' module is not included.
This is a modules that is found here:
/lib/modules/3.8.0-34-generic/kernel/ubuntu/alx/alx.ko
and adds support for the Qualcomm Atheros QCA8171 Gigabit Ethernet adapter (among others)
The kernel does include the driver, but since it isn't under the 'net' directory, it isn't added to the initrd image, and net-booting is impossible
My fix was to create:
/usr/share/initramfs-tools/hooks/additional_net_modules
with the following contents:
----------
#!/bin/sh
set -e
PREREQ=""
prereqs () {
echo "${PREREQ}"
}
case "${1}" in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
manual_add_modules alx
exit 0
----------
I then rebuild the initramfs image via:
update-initramfs -u
It is probably rare that someone has both this hardware and is
netbooting, but this took me a while to figure out, and would be a
nice to have fix for 12.04.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1258800/+subscriptions
More information about the foundations-bugs
mailing list