ipxe failes to boot in efi mode due to incomplete ipxe script

Bug #2002303 reported by Michal Kielkowski
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Triaged
High
Unassigned

Bug Description

Out of the box booting using ipxe ends with kernel panic (see screenshot). It can be worked around by putting

initrd=boot-initrd

to command line option. However I think this should be addressed in the ipxe script template.

Please see
https://forum.ipxe.org/printthread.php?tid=10770
for reference.

Steps to reproduce:

1. Create Hyper-V machine, version 2 (efi). Optional: verify that regular PXE boot works.
2. Mount dvd image from https://boot.ipxe.org/ipxe.iso and set it as a boot defice
3. Commisioning ends with kernel panic.

Default script that does not work:
root@maas:~# curl http://10.0.0.1:5248/ipxe.cfg-00:15:5d:38:01:0f
#!ipxe
kernel http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/boot-kernel
imgargs boot-kernel nomodeset ro root=squash:http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/squashfs ip=::::laptop:BOOTIF ip6=off overlayroot=tmpfs overlayroot_cfgdisk=disabled cc:{'datasource_list': ['MAAS']}end_cc cloud-config-url=http://10.0.0.1:5248/MAAS/metadata/latest/by-id/end4q7/?op=get_preseed apparmor=0 log_host=10.0.0.1 log_port=5247 --- BOOTIF=01-${net0/mac}
initrd http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/boot-initrd
boot
root@maas:~#

What works:

root@laptop:~# cat /var/log/kern.log |grep Command
Jan 9 10:19:14 laptop kernel: [ 0.000000] Command line: boot-kernel nomodeset ro root=squash:http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/squashfs ip=::::laptop:BOOTIF ip6=off overlayroot=tmpfs overlayroot_cfgdisk=disabled cc:{'datasource_list': ['MAAS']}end_cc cloud-config-url=http://10.0.0.1:5248/MAAS/metadata/latest/by-id/end4q7/?op=get_preseed apparmor=0 log_host=10.0.0.1 log_port=5247 --- initrd=boot-initrd BOOTIF=01-00:15:5d:38:01:0f
root@laptop:~#

Regards!
Michal Kielkowski

Revision history for this message
Michal Kielkowski (mikiel) wrote :
summary: - ipxe mode failes to boot in efi mode due to incomplete ipxe script
+ ipxe failes to boot in efi mode due to incomplete ipxe script
Changed in maas:
status: New → Triaged
Changed in maas:
importance: Undecided → High
Changed in maas:
assignee: nobody → Jack Lloyd-Walters (lloydwaltersj)
Changed in maas:
assignee: Jack Lloyd-Walters (lloydwaltersj) → nobody
Changed in maas:
milestone: none → 3.5.0
Revision history for this message
SK (knobsam) wrote :

Hi, just wanted to add that we encounter the same issue on some of our machines. What all machines have in common is that they use an external 10GiB NIC (Aquantia) with EFI boot. Both HTTP and PXE options are failing, for PXE we receive the same output as in the image attached.

Is there a way for a manual fix? Which files do I need to edit in order to add the missing parameter (AMD64 machines)?
We are using DEB version of MAAS, so I guess the path should be "/lib/python3/dist-packages/provisioningserver/..." or simliar.

Best regars,

Samuel Knobloch

Changed in maas:
milestone: 3.5.0 → 3.5.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.