[Bug 2037202] Re: Mantic/23.10: PXE boot tries to initialize DHCP before network link is up
Marian Rainer-Harbach
2037202 at bugs.launchpad.net
Sun Sep 24 12:00:32 UTC 2023
** Tags added: mantic
--
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/2037202
Title:
Mantic/23.10: PXE boot tries to initialize DHCP before network link is
up
Status in initramfs-tools package in Ubuntu:
New
Bug description:
I'm not sure whether this is the correct package for this bug, please
reassign if not.
I'm booting the Ubuntu Mantic/23.10 desktop beta image via PXE in
order to perform an unattended installation. The kernel command line
looks like that:
iso/casper/vmlinuz --- ip=dhcp netboot=nfs
nfsroot=192.168.1.1:/export/ubuntu autoinstall ds=nocloud\;s=<removed>
This has worked perfectly before. However, in 23.10, the kernel tries
to intialize DHCP before a network link is up.
I can see a few instances of messages like the following:
dhcpd-10.0.2 starting
dev: loaded udev
no interfaces have a carrier
exiting due to oneshot
dhcpd exited
Then, the kernel tries to mount NFS, even though neither an IP address nor even a link is available:
connect: Network is unreachable
NFS over TCP not available from 192.168.1.1
This is repeated for a while. In between, a message tells that now the link is up:
[ 10.0002805] e1000e 0000:00:19.0 enp0s25: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
The NFS messages repeat for a while, until the system gives up and I'm
dropped into a busybox prompt.
Executing dhcpd now correctly gets IP addresses, but I don't know how
to continue the boot from there.
The problem occurs on most physical machines that I tried, but not in
VMs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2037202/+subscriptions
More information about the foundations-bugs
mailing list