Comment 0 for bug 2037202

Revision history for this message
Marian Rainer-Harbach (marianrh) wrote :

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.