Bug#1035332: grub-efi-arm64: "error: failed to install/update FDT." after bullseye upgrade

Vagrant Cascadian vagrant at debian.org
Mon May 1 04:06:23 BST 2023


Package: grub-efi-arm64
Version: 2.06-3~deb11u5
Severity: important
X-Debbugs-Cc: vagrant at debian.org

After updating to the latest point release, these apm mustang systems fail to boot the kernel, all I see is:

    error: failed to install/update FDT.
    Loading Linux 5.10.0-22-arm64 ...
    Loading initial ramdisk ...

    Press any key to continue...

Same result with two different machines. Both worked fine since before
the upgrade (although not entirely sure how long since they last were
rebooted, but surely since the previous point release).

I do not recall seeing the error message before when it was working;
it flashes by quite quickly... and if the boot was successful, I might
have never noticed.

Technically, the system details from this bug report are from a
machine I have not yet rebooted, but it is configured essentially
identically to the two machines that are failing to boot (mainly a
different amount of ram).

Will try to figure out how to boot these things into rescue mode and
see if an older grub still works...


Apparently this is "Vagrant files bugs on grub day." :/


live well,
  vagrant


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/mst0vg-mst00--root / ext4 rw,noatime,errors=remount-ro 0 0
/dev/sdb1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod part_gpt
insmod diskfilter
insmod mdraid1x
insmod lvm
insmod ext2
set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
else
  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-085e1704-07fe-4ef4-9bc7-7feb51411222' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod part_gpt
	insmod diskfilter
	insmod mdraid1x
	insmod lvm
	insmod ext2
	set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
	else
	  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
	fi
	echo	'Loading Linux 5.10.0-22-arm64 ...'
	linux	/boot/vmlinuz-5.10.0-22-arm64 root=/dev/mapper/mst0vg-mst00--root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-5.10.0-22-arm64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-085e1704-07fe-4ef4-9bc7-7feb51411222' {
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-22-arm64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-22-arm64-advanced-085e1704-07fe-4ef4-9bc7-7feb51411222' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod diskfilter
		insmod mdraid1x
		insmod lvm
		insmod ext2
		set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
		else
		  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
		fi
		echo	'Loading Linux 5.10.0-22-arm64 ...'
		linux	/boot/vmlinuz-5.10.0-22-arm64 root=/dev/mapper/mst0vg-mst00--root ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-22-arm64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-22-arm64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-22-arm64-recovery-085e1704-07fe-4ef4-9bc7-7feb51411222' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod diskfilter
		insmod mdraid1x
		insmod lvm
		insmod ext2
		set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
		else
		  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
		fi
		echo	'Loading Linux 5.10.0-22-arm64 ...'
		linux	/boot/vmlinuz-5.10.0-22-arm64 root=/dev/mapper/mst0vg-mst00--root ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-22-arm64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-21-arm64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-21-arm64-advanced-085e1704-07fe-4ef4-9bc7-7feb51411222' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod diskfilter
		insmod mdraid1x
		insmod lvm
		insmod ext2
		set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
		else
		  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
		fi
		echo	'Loading Linux 5.10.0-21-arm64 ...'
		linux	/boot/vmlinuz-5.10.0-21-arm64 root=/dev/mapper/mst0vg-mst00--root ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-21-arm64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-21-arm64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-21-arm64-recovery-085e1704-07fe-4ef4-9bc7-7feb51411222' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod diskfilter
		insmod mdraid1x
		insmod lvm
		insmod ext2
		set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
		else
		  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
		fi
		echo	'Loading Linux 5.10.0-21-arm64 ...'
		linux	/boot/vmlinuz-5.10.0-21-arm64 root=/dev/mapper/mst0vg-mst00--root ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-21-arm64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-20-arm64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-20-arm64-advanced-085e1704-07fe-4ef4-9bc7-7feb51411222' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod diskfilter
		insmod mdraid1x
		insmod lvm
		insmod ext2
		set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
		else
		  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
		fi
		echo	'Loading Linux 5.10.0-20-arm64 ...'
		linux	/boot/vmlinuz-5.10.0-20-arm64 root=/dev/mapper/mst0vg-mst00--root ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-20-arm64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-20-arm64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-20-arm64-recovery-085e1704-07fe-4ef4-9bc7-7feb51411222' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod diskfilter
		insmod mdraid1x
		insmod lvm
		insmod ext2
		set root='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/lN0djM-1VCP-W6Lg-coTr-sVKq-Orum-JlTxLx/STv12u-sENg-7TZu-28ge-IqjP-ya8c-QaYtKb'  085e1704-07fe-4ef4-9bc7-7feb51411222
		else
		  search --no-floppy --fs-uuid --set=root 085e1704-07fe-4ef4-9bc7-7feb51411222
		fi
		echo	'Loading Linux 5.10.0-20-arm64 ...'
		linux	/boot/vmlinuz-5.10.0-20-arm64 root=/dev/mapper/mst0vg-mst00--root ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-20-arm64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] 
md126 : active raid1 sda3[2] sdb3[0]
      340655104 blocks super 1.2 [2/2] [UU]
      bitmap: 3/3 pages [12KB], 65536KB chunk

md127 : active raid1 sda5[2] sdb5[3]
      67091456 blocks super 1.2 [2/2] [UU]
      
md0 : active raid1 sda2[3] sdb2[2]
      37682176 blocks super 1.2 [2/2] [UU]
      
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Aug  7  2022 ata-APS-SL3N-480_SH30C44166WL -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug  7  2022 ata-APS-SL3N-480_SH30C44166WL-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug  7  2022 ata-APS-SL3N-480_SH30C44166WL-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug  7  2022 ata-APS-SL3N-480_SH30C44166WL-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Aug  7  2022 ata-APS-SL3N-480_SH30C44166WL-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 Mar 25 07:52 ata-CT480BX500SSD1_1929E18F1C28 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 25 07:52 ata-CT480BX500SSD1_1929E18F1C28-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 25 07:52 ata-CT480BX500SSD1_1929E18F1C28-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 25 07:52 ata-CT480BX500SSD1_1929E18F1C28-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 25 07:52 ata-CT480BX500SSD1_1929E18F1C28-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-name-mst0vg-mst00--root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-name-mst0vg-mst00--swap -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-name-virtdisk0-aptproxy -> ../../dm-4
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-name-virtdisk0-virt32a -> ../../dm-2
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-name-virtdisk0-virt64a -> ../../dm-3
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-uuid-LVM-JnnsOZoYQ8BPbnecONZhANjJ2cxq1oks1yjczEkeSdZOw7aJLhqyRCH3Ky21IH8d -> ../../dm-2
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-uuid-LVM-JnnsOZoYQ8BPbnecONZhANjJ2cxq1oks67rpGEgNdjBI42PPWheMQwLBrts8D4sc -> ../../dm-3
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-uuid-LVM-JnnsOZoYQ8BPbnecONZhANjJ2cxq1okso4FPTkeES8wPHmUUAzLiIOEejjp4cDRO -> ../../dm-4
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-uuid-LVM-lN0djM1VCPW6LgcoTrsVKqOrumJlTxLx8DxgFffGEdRMzJ3xr2rFpTZSFLm2A0af -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug  7  2022 dm-uuid-LVM-lN0djM1VCPW6LgcoTrsVKqOrumJlTxLxSTv12usENg7TZu28geIqjPya8cQaYtKb -> ../../dm-0
lrwxrwxrwx 1 root root 11 Aug  7  2022 lvm-pv-uuid-8RpCTJ-YyT0-Wp0b-EQ71-HWcE-xSfo-UVgNk0 -> ../../md126
lrwxrwxrwx 1 root root 11 Aug  7  2022 lvm-pv-uuid-fezASf-yVe5-SOGX-LUE1-G9ie-GuJh-0Rgj0O -> ../../md127
lrwxrwxrwx 1 root root  9 Aug  7  2022 lvm-pv-uuid-tjbZgj-rXfT-45le-lPzX-PgRs-bQgA-kBrd30 -> ../../md0
lrwxrwxrwx 1 root root 11 Aug  7  2022 md-name-mst00:1 -> ../../md126
lrwxrwxrwx 1 root root 11 Aug  7  2022 md-name-mst00:4 -> ../../md127
lrwxrwxrwx 1 root root  9 Aug  7  2022 md-name-mstgx0:0 -> ../../md0
lrwxrwxrwx 1 root root 11 Aug  7  2022 md-uuid-2214a0a4:bba2cf26:6912f644:b98e7779 -> ../../md127
lrwxrwxrwx 1 root root 11 Aug  7  2022 md-uuid-c7508ecb:b7a8da0f:26fcb666:f0cca8e3 -> ../../md126
lrwxrwxrwx 1 root root  9 Aug  7  2022 md-uuid-d63b59bc:1254c9ab:eab6143b:26feee67 -> ../../md0
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Aug  7  2022 085e1704-07fe-4ef4-9bc7-7feb51411222 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug  7  2022 3DC6-DB11 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 25 07:52 6C6B-26A5 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  7  2022 fbff0be9-0672-4bf9-9ea5-47da81713b4c -> ../../dm-1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (1, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-21-arm64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-efi-arm64 depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  grub-common            2.06-3~deb11u5
ii  grub-efi-arm64-bin     2.06-3~deb11u5
ii  grub2-common           2.06-3~deb11u5
ii  ucf                    3.0043

grub-efi-arm64 recommends no packages.

grub-efi-arm64 suggests no packages.

-- debconf information:
* grub2/linux_cmdline_default: quiet
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline_default: quiet
  grub2/kfreebsd_cmdline:
  grub2/update_nvram: true
  grub2/force_efi_extra_removable: false



More information about the Pkg-grub-devel mailing list