[Bug 1967562] Re: jammy beta (220330) arm iso pxe boot kernel panic on Ampere Mt. Jade
dann frazier
1967562 at bugs.launchpad.net
Fri Apr 8 21:21:26 UTC 2022
I turned on grub debugging (set debug=all in grub.cfg), and this seems
interesting. The "error: couldn't send network packet." message may
actually be telling us something is wrong with downloading the initrd.
Full log attached, here's a filtered version:
[...]
loader/efi/linux.c:80: UEFI stub kernel:
loader/efi/linux.c:81: PE/COFF header @ 00000040
loader/efi/linux.c:95: LoadFile2 initrd loading enabled
loader/efi/linux.c:459: kernel file size: 46496128
loader/efi/linux.c:461: kernel numpages: 11352
loader/efi/linux.c:478: kernel @ 0xa1e43000
kern/disk.c:196: Opening `tftp,10.229.58.59'...
disk/efi/efidisk.c:482: opening tftp
kern/disk.c:281: Opening `tftp,10.229.58.59' failed.
kern/disk.c:295: Closing `tftp'.
kern/verifiers.c:88: file: /casper/initrd type: 131076
loader/efi/linux.c:396: LoadFile2 initrd loading protocol installed
]
loader/efi/linux.c:141: Installed/updated FDT configuration table @ 0x0
loader/efi/linux.c:191: linux command line: 'BOOT_IMAGE=/casper/vmlinuz
root=/dev/ram0 ramdisk_size=1500000 ip=dhcp
url=http://cdimage.ubuntu.com/ubuntu-server/daily-live/20220408/jammy-live-serv
er-arm64.iso --- debug'
kern/efi/sb.c:111: UEFI Secure Boot state: Disabled
loader/efi/peimage.c:215: PE-COFF header checked
loader/efi/peimage.c:282: sections loaded
loader/efi/peimage.c:493: no relocations
loader/efi/peimage.c:709: Executing image loaded at 0x9f0b0000
Entry point 0xa0fb8428
Size 0x02d90000
EFI stub: Booting Linux Kernel...
EFI stub: Generating empty DTB
loader/efi/linux.c:348: Providing initrd via LOAD_FILE2_PROTOCOL
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
net/net.c:1596: error receiving: 28: couldn't send network packet
error: couldn't send network packet.
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services...
** Attachment added: "grub-debug.log"
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/1967562/+attachment/5578350/+files/grub-debug.log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-unsigned in Ubuntu.
https://bugs.launchpad.net/bugs/1967562
Title:
jammy beta (220330) arm iso pxe boot kernel panic on Ampere Mt. Jade
Status in grub2-unsigned package in Ubuntu:
New
Status in linux package in Ubuntu:
Incomplete
Status in subiquity package in Ubuntu:
Invalid
Bug description:
= Description =
Platforms: Ampere Mt. Jade Altra (bizzy), Cavium thunderX crb2s (recht)
Image: Jammy Beta (220330)
I setup my pxe server to provision jammy beta and got the following
kernel panic message after grub stage:
log from console log
[ 1.176614] integrity: Couldn't parse dbx signatures: -74^M
[ 1.371630] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)^M
[ 1.379891] CPU: 42 PID: 1 Comm: swapper/0 Not tainted 5.15.0-23-generic #23-Ubuntu^M
[ 1.387535] Hardware name: WIWYNN Mt.Jade Server System B81.030Z1.0007/Mt.Jade Motherboard, BIOS 1.6.20210526 (SCP: 1.06.20210526) 2021/05/26^M
[ 1.400215] Call trace:^M
[ 1.402649] dump_backtrace+0x0/0x1ec^M
[ 1.406310] show_stack+0x24/0x30^M
[ 1.409614] dump_stack_lvl+0x68/0x84^M
[ 1.413271] dump_stack+0x18/0x34^M
[ 1.416573] panic+0x18c/0x39c^M
[ 1.419616] mount_block_root+0x160/0x210^M
[ 1.423622] mount_root+0x12c/0x14c^M
[ 1.427097] prepare_namespace+0x140/0x1a0^M
[ 1.431182] kernel_init_freeable+0x1c8/0x214^M
[ 1.435527] kernel_init+0x30/0x160^M
[ 1.439006] ret_from_fork+0x10/0x20^M
[ 1.442573] SMP: stopping secondary CPUs^M
[ 1.447323] Kernel Offset: 0x55263ee90000 from 0xffff800008000000^M
[ 1.453404] PHYS_OFFSET: 0x80000000^M
[ 1.456879] CPU features: 0x000085c1,a3302e42^M
[ 1.461225] Memory Limit: none^M
[ 1.464271] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---^M
= Steps to Reproduce =
1. Followed this guide to setup the pxe server https://discourse.ubuntu.com/t/netbooting-the-live-server-installer-via-uefi-pxe-on-arm-aarch64-arm64-and-x86-64-amd64/19240 with the jammy beta image (220330) http://cdimage.ubuntu.com/ubuntu-server/daily-live/20220330/jammy-live-server-arm64.iso
1-1. You may use this script to perform the set-up https://github.com/tai271828/ubuntu-autoinstall-pxe-server by invoking: `sudo ./setup-pxe-server.sh --url http://cdimage.ubuntu.com/ubuntu-server/daily-live/20220330/jammy-live-server-arm64.iso`
2. Boot the system via PXE
3. Select Ubuntu at Grub menu
= Expected Result =
The image is loaded to the system locally via PXE, and subiquity is launched
= Actual Result =
Console log simply shows nothing for 10 seconds and then the kernel panic shows up.
= Additional Information =
- If we install via the virtual CD of the server, subiquity could be launched and the installation process completes successfully.
- MAAS could deploy Jammy to the Mt. Jade server as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/1967562/+subscriptions
More information about the foundations-bugs
mailing list