crash during subuiquity installation with 23.04 arm64 live server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When installing an Ampere Mt. Jade AltraMax server with the latest Lunar Lobster 23.04 arm64 ubuntu-
Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/
finish: cmd-install/
finish: cmd-install/
Traceback (most recent call last):
File "/snap/
ret = args.func(args)
File "/snap/
builtin_
File "/snap/
setup_grub(cfg, target, osfamily=osfamily,
File "/snap/
uefi_
File "/snap/
in_
File "/snap/
return subp(*args, **kwargs)
File "/snap/
return _subp(*args, **kwargs)
File "/snap/
raise ProcessExecutio
curtin.
Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'efibootmgr', '-o', '000A,0000,
Exit code: 8
Reason: -
Stdout: ''
Stderr: ''
Unexpected error while running command.
Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'efibootmgr', '-o', '000A,0000,
Exit code: 8
Reason: -
Stdout: ''
Stderr: ''
Steps to reproduce:
1. Grab a Ampere Mt. Jade AltraMax server
2. Install the image from https:/
3. Use every default value prompted by subiquity
Expected result:
subiquity finishes installation
Actual result:
curtin crashes at the last stage
Additional information:
Please refer to the attachment var.log.tar.gz to check the detailed logs from /var/log . I collected the attachment by logging in the subiquity shell.
I am not entirely sure, but it looks like a firmware bug for me:
1. I logged in the subiquity shell and efibootmgr shows a suspicious boot entry 000A:
installer@ ubuntu- server: ~$ efibootmgr -v 988a2a4b- c94f-42a7- 89a9-b023f494dd d2,0x800, 0x219800) /File(\ EFI\ubuntu\ shimaa64. efi) 5023b95c- db26-429b- a648-bd47664c80 12)..BO 0x30000) /Pci(0x1, 0x0)/Pci( 0x0,0x0) /MAC(98039b7d43 52,1)/IPv4( 0.0.0.00. 0.0.0,0, 0)..BO 0x30000) /Pci(0x1, 0x0)/Pci( 0x0,0x1) /MAC(98039b7d43 53,1)/IPv4( 0.0.0.00. 0.0.0,0, 0)..BO
BootCurrent: 000A
Timeout: 5 seconds
BootOrder: 0000,0007,0006,0008
Boot0000* ubuntu HD(1,GPT,
Boot0006 UEFI: Built-in EFI Shell VenMedia(
Boot0007* UEFI: PXE IPv4 Mellanox Network Adapter - 98:03:9B:7D:43:52 PcieRoot(
Boot0008 UEFI: PXE IPv4 Mellanox Network Adapter - 98:03:9B:7D:43:53 PcieRoot(
Besides, the version of efibootmgr is: ubuntu- server: ~$ efibootmgr --version ubuntu- server: ~$ apt-cache policy efibootmgr /Ubuntu- Server 23.04 _Lunar Lobster_ - Release arm64 (20230415) lunar/main arm64 Packages ports.ubuntu. com/ubuntu- ports lunar/main arm64 Packages dpkg/status ubuntu- server: ~$
installer@
version 17
installer@
efibootmgr:
Installed: 17-1ubuntu2
Candidate: 17-1ubuntu2
Version table:
*** 17-1ubuntu2 500
500 cdrom:/
500 http://
100 /var/lib/
installer@
2. In the mean time, I could not reproduce the same issue with another similar model, an Ampere Mt. Jade Altra server. They have different firmware versions.