[Bug 1950996] Re: Missing all modules for usb nics in initrd which makes PXE boot impossible
Launchpad Bug Tracker
1950996 at bugs.launchpad.net
Wed Feb 9 04:40:18 UTC 2022
This bug was fixed in the package initramfs-tools - 0.140ubuntu12
---------------
initramfs-tools (0.140ubuntu12) jammy; urgency=medium
* Force copy pthread and libgcc_s libraries via a stub binary.
To avoid circular shared library dependencies between compiler and
libc, libpthreads chooses to dlopen libgcc_s, instead of linking
against it. However, we have no way to parse/know what it
needs. And even when we hardcode to include libgcc_s1, we don't
have a way to know which libgcc_s1 is needed on a given system and
from which path to include it. But there is a hook-function to
copy a binary and all of its shared library dependencies. Thus
create a stub empty executable, with shared linking against
pthreads and gcc_s1 and always include it in the initrd. This way
at initrd creation time, ldd is used to correctly resolve these
shared library dependencies and correctly copy them into the
initrd. This removes hardcoding paths as to where these libraries
must be copied from on the host. LP: #1958594 LP: #1880853
* For net boot include most of net/usb modules, except niche modems. LP:
#1950996
* Cherry-pick updated merge request !26 to support xz compressed
firmware. Uncompressed firmware is preffered, with a fallback to use
compressed firmware files. LP: #1942260
* Cherry-pick updated merge request !51 to decompress compressed kernel
modules for boot speed performance. LP: #1932329
-- Dimitri John Ledkov <dimitri.ledkov at canonical.com> Tue, 08 Feb 2022
20:43:02 +0000
** Changed in: initramfs-tools (Ubuntu Jammy)
Status: Fix Committed => 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/1950996
Title:
Missing all modules for usb nics in initrd which makes PXE boot
impossible
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Focal:
Confirmed
Status in initramfs-tools source package in Hirsute:
Confirmed
Status in initramfs-tools source package in Impish:
Confirmed
Status in initramfs-tools source package in Jammy:
Fix Released
Bug description:
initrd taken from the live iso for PXE boot does not contain USB NIC
drivers which makes PXE installation/netboot impossible via usb.
This is the case on 20.04 server iso (both hwe and normal
kernel/initrd) and desktop iso.
"kernel/drivers/net/usb" is empty and needs to be included in the
initramfs build.
As most modern thin laptops lack physical rj45 ethernet this is a big
issue.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: initramfs-tools 0.136ubuntu6.6
ProcVersionSignature: Ubuntu 5.8.0-64.72-generic 5.8.18
Uname: Linux 5.8.0-64-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 15 16:47:45 2021
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to focal on 2020-05-11 (552 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1950996/+subscriptions
More information about the foundations-bugs
mailing list