Bug#992335: shim-helpers-amd64-signed: grub install: error: failed to register the EFI boot entry, no space left on device

Wim Bertels wim.bertels at ucll.be
Fri Aug 20 14:40:48 BST 2021


Steve McIntyre schreef op vr 20-08-2021 om 14:29 [+0100]:
> Control: reassign -1 grub-efi-amd64
> 
> Hi wim,
> 
> On Tue, Aug 17, 2021 at 03:22:49PM +0200, wim wrote:
> > Package: shim-helpers-amd64-signed
> > Version: 1+15.4+5~deb10u1
> > Severity: normal
> > 
> > Hello,
> > 
> > This is the setup:
> 
> OK, this is a problem being reported by grub-install, called by
> shim-helpers-amd64-signed as it's installed. Reassigning to one of
> the
> grub packages.
> 
> > # df -h
> > Bestandssysteem                        Grootte Gebruikt Besch Geb%
> > Aangekoppeld op
> > udev                                       32G        0   32G   0%
> > /dev
> > ..
> > /dev/mmcblk0p1                            3,7G      64K  3,7G   1%
> > /media/wim/MICROSD
> > /dev/sr0                                   88M      88M     0 100%
> > /media/wim/20190318_164558
> > 
> > So /boot/efi and /boot have free space
> 
> Nod. The problem is that your system is failing to create/update an
> EFI boot variable in its NVRAM. The most common issue that causes
> this
> is system log reports in /sys/fs/pstore/ . Could you check and see if
> there are any files there please?

Yes, there are many files, all from 'nov 7 2019' which could be the
installation date.

# ls /sys/fs/pstore/ -altr
totaal 0
-r--r--r-- 1 root root 1799 nov  7  2019 dmesg-efi-157315250037001
-r--r--r-- 1 root root 1799 nov  7  2019 dmesg-efi-157315250036001
-r--r--r-- 1 root root 1800 nov  7  2019 dmesg-efi-157315250035002
-r--r--r-- 1 root root 1799 nov  7  2019 dmesg-efi-157315250035001
-r--r--r-- 1 root root 1800 nov  7  2019 dmesg-efi-157315250034002

An example of the content, most of them about nouveau:

# cat  /sys/fs/pstore/dmesg-efi-157332678916001 
Oops#1 Part16
<4>[  105.363372]  ? __switch_to+0x7a/0x3e0
<4>[  105.363373]  ? __switch_to_asm+0x34/0x70
<4>[  105.363374]  pm_runtime_work+0x82/0x90
<4>[  105.363375]  process_one_work+0x1a7/0x3b0
<4>[  105.363375]  worker_thread+0x30/0x390
<4>[  105.363376]  ? create_worker+0x1a0/0x1a0
<4>[  105.363377]  kthread+0x112/0x130
<4>[  105.363378]  ? __kthread_parkme+0x70/0x70
<4>[  105.363378]  ret_from_fork+0x1f/0x40
<4>[  105.363379] ---[ end trace b62441a5f9a44a7c ]---
<2>[  105.364066] nouveau 0000:01:00.0: tmr: stalled at ffffffffffffffff
<4>[  105.364067] ------------[ cut here ]------------
<4>[  105.364067] nouveau 0000:01:00.0: timeout
<4>[  105.364096] WARNING: CPU: 5 PID: 557 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c:47 tu102_vmm_flush+0x128/0x140 [nouveau]
<4>[  105.364097] Modules linked in: nls_utf8 isofs fuse ctr ccm rfcomm cmac snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress arc4 iwlmvm intel_rapl mac80211 bnep iwlwifi btusb btrtl btbcm btintel bluetooth cfg80211 drbg ansi_cprng ecdh_generic hp_wmi ecc sparse_keymap snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek kvm nls_ascii nls_cp437 snd_hda_codec_generic vfat irqbypass efi_pstore fat ledtrig_audio intel_cstate snd_usb_audio uvcvideo snd_hda_intel cdc_ether videobuf2_vmalloc usbnet videobuf2_memops snd_hda_codec intel_uncore videobuf2_v4l2 videobuf2_common snd_usbmidi_lib r8152 snd_rawmidi snd_hda_core snd_seq_device mii intel_rapl_perf efivars videodev snd_hwdep joydev rtsx_pci_ms iTCO_wdt snd_pcm mei_me iTCO_vendor_support serio_raw intel_wmi_thunderbolt pcspkr watchdog wmi_bmof pcc_cpufreq tpm_crb memstick sg usblp media snd_timer rfkill mei

The ones that are not:

# cat $(grep -L nouv * )
Oops#1 Part2
<4>[  200.823189] RDX: 0000000000000029 RSI: 00000000000000b4 RDI: 00000000c000003e
<4>[  200.823190] RBP: ffffaa238675bd98 R08: 0000000000000000 R09: 0000000000000000
<4>[  200.823191] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
<4>[  200.823192] R13: 000000007fff0000 R14: ffff9530e3ea83c0 R15: 0000000000000000
<4>[  200.823193]  ? common_interrupt+0xa/0xf
<4>[  200.823195]  ? __bpf_prog_run32+0x39/0x60
<4>[  200.823196]  ? __seccomp_filter+0x6a/0x680
<4>[  200.823198]  ? __seccomp_filter+0x7a/0x680
<4>[  200.823199]  ? devkmsg_read+0x73/0x2c0
<4>[  200.823200]  ? devkmsg_read+0x165/0x2c0
<4>[  200.823202]  ? syscall_trace_enter+0x192/0x2b0
<4>[  200.823204]  ? do_syscall_64+0x104/0x130
<4>[  200.823205]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
<4>[  200.823206] Modules linked in: snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress arc4 intel_rapl iwlmvm mac80211 btusb snd_hda_codec_hdmi btrtl btbcm btintel bluetooth uvcvideo x86_pkg_temp_thermal videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 iwlwifi snd_hda_codec_realtek videobuf2_common intel_powerclamp videodev coretemp snd_hda_codec_generic kvm_intel ledtrig_audio cfg80211 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm rtsx_pci_ms memstick media kvm snd_timer processor_thermal_device intel_soc_dts_iosf snd tpm_crb sg tpm_tis tpm_tis_core tpm drbg ansi_cprng irqbypass intel_cstate ecdh_generic hid_multitouch joydev ecc intel_uncore iTCO_wdt pcc_cpufreq hp_accel int3400_thermal int3403_thermal iTCO_vendor_support lis3lv02d soundcore intel_rapl_perf watchdog input_polldev idma64 intel_pch_thermal acpi_thermal_rel pcspkr serio_raw int340x_thermal_zone rng_core acpi_pad ac evdev
Oops#1 Part2
<4>[  142.471749]  pci_pm_runtime_suspend+0x58/0x140
<4>[  142.471751]  ? __switch_to_asm+0x40/0x70
<4>[  142.471752]  ? pci_has_legacy_pm_support+0x60/0x60
<4>[  142.471753]  __rpm_callback+0x81/0x140
<4>[  142.471754]  ? pci_has_legacy_pm_support+0x60/0x60
<4>[  142.471755]  rpm_callback+0x1f/0x70
<4>[  142.471756]  rpm_suspend+0x10f/0x5f0
<4>[  142.471757]  ? __switch_to_asm+0x34/0x70
<4>[  142.471759]  ? __switch_to+0x7a/0x3e0
<4>[  142.471759]  ? __switch_to_asm+0x34/0x70
<4>[  142.471760]  pm_runtime_work+0x82/0x90
<4>[  142.471762]  process_one_work+0x1a7/0x3b0
<4>[  142.471763]  worker_thread+0x30/0x390
<4>[  142.471763]  ? create_worker+0x1a0/0x1a0
<4>[  142.471764]  kthread+0x112/0x130
<4>[  142.471766]  ? __kthread_parkme+0x70/0x70
<4>[  142.471766]  ret_from_fork+0x1f/0x40
<4>[  142.471767] Modules linked in: nls_utf8 isofs fuse rfcomm cmac snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress arc4 intel_rapl bnep x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm_intel nls_ascii nls_cp437 snd_hda_codec_hdmi vfat fat mac80211 kvm snd_hda_codec_realtek btusb snd_hda_codec_generic btrtl ledtrig_audio btbcm btintel irqbypass bluetooth snd_hda_intel efi_pstore snd_usb_audio intel_cstate snd_hda_codec iwlwifi snd_usbmidi_lib snd_hda_core snd_rawmidi uvcvideo cdc_ether snd_seq_device snd_hwdep usbnet videobuf2_vmalloc videobuf2_memops snd_pcm videobuf2_v4l2 intel_uncore videobuf2_common drbg videodev r8152 snd_timer joydev iTCO_wdt cfg80211 snd intel_rapl_perf mii hp_wmi iTCO_vendor_support ansi_cprng efivars pcspkr serio_raw wmi_bmof sparse_keymap pcc_cpufreq intel_wmi_thunderbolt usblp watchdog tpm_crb media rtsx_pci_ms mei_me soundcore memstick ecdh_generic ecc mei
Panic#1 Part1
<4>[   54.460298] RSP: 0018:ffffc05510623d00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdd
<4>[   54.460299] RAX: 000000000000b822 RBX: ffff99ac38441e80 RCX: 00000000000f4240
<4>[   54.460300] RDX: 0000000cae119ec1 RSI: 0000000000000246 RDI: 0000000000000246
<4>[   54.460301] RBP: 0000000000000001 R08: 000000000000000e R09: 0000000000000000
<4>[   54.460301] R10: 0000000000000000 R11: 0000000000000001 R12: ffff99ac384425d4
<4>[   54.460302] R13: 0000000000000000 R14: 0000000000000246 R15: 000000000002a0c0
<4>[   54.460304]  try_to_wake_up+0x54/0x5d0
<4>[   54.460305]  wake_up_q+0x54/0x80
<4>[   54.460307]  futex_wake+0x149/0x170
<4>[   54.460308]  do_futex+0xc9/0xbf0
<4>[   54.460309]  ? do_syslog+0x7d3/0x8a0
<4>[   54.460310]  ? common_interrupt+0xa/0xf
<4>[   54.460311]  __x64_sys_futex+0x13c/0x180
<4>[   54.460314]  do_syscall_64+0x53/0x130
<4>[   54.460315]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
<4>[   54.460316] RIP: 0033:0x7fb0b225f33a
<4>[   54.460317] Code: 00 00 b8 ca 00 00 00 0f 05 5a 5e c3 0f 1f 40 00 56 52 c7 07 00 00 00 00 81 f6 81 00 00 00 ba 01 00 00 00 b8 ca 00 00 00 0f 05 <5a> 5e c3 0f 1f 00 41 54 41 55 49 89 fc 49 89 f5 48 83 ec 18 48 89
<4>[   54.460318] RSP: 002b:00007fb0b1523270 EFLAGS: 00000206 ORIG_RAX: 00000000000000ca
<4>[   54.460319] RAX: ffffffffffffffda RBX: 000056031bcc9390 RCX: 00007fb0b225f33a
<4>[   54.460319] RDX: 0000000000000001 RSI: 0000000000000081 RDI: 000056031bcc9720
<4>[   54.460320] RBP: 0000000000000000 R08: 0000000000000000 R09: 000056031bcc9938
<4>[   54.460320] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
<4>[   54.460321] R13: 000056031bcbc360 R14: 00007fb0b1525bb1 R15: 00007fb0b1525c25
<0>[   54.460399] Kernel Offset: 0x25600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Oops#1 Part2
<4>[  150.590221]  pci_pm_runtime_suspend+0x58/0x140
<4>[  150.590223]  ? __switch_to_asm+0x40/0x70
<4>[  150.590224]  ? pci_has_legacy_pm_support+0x60/0x60
<4>[  150.590225]  __rpm_callback+0x81/0x140
<4>[  150.590226]  ? pci_has_legacy_pm_support+0x60/0x60
<4>[  150.590227]  rpm_callback+0x1f/0x70
<4>[  150.590228]  rpm_suspend+0x10f/0x5f0
<4>[  150.590229]  ? __switch_to_asm+0x34/0x70
<4>[  150.590230]  ? __switch_to+0x7a/0x3e0
<4>[  150.590231]  ? __switch_to_asm+0x34/0x70
<4>[  150.590232]  pm_runtime_work+0x82/0x90
<4>[  150.590234]  process_one_work+0x1a7/0x3b0
<4>[  150.590235]  worker_thread+0x30/0x390
<4>[  150.590235]  ? create_worker+0x1a0/0x1a0
<4>[  150.590236]  kthread+0x112/0x130
<4>[  150.590237]  ? __kthread_parkme+0x70/0x70
<4>[  150.590238]  ret_from_fork+0x1f/0x40
<4>[  150.590239] Modules linked in: nls_utf8 isofs fuse ctr ccm rfcomm cmac snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress arc4 iwlmvm intel_rapl mac80211 bnep iwlwifi btusb btrtl btbcm btintel bluetooth cfg80211 drbg ansi_cprng ecdh_generic hp_wmi ecc sparse_keymap snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek kvm nls_ascii nls_cp437 snd_hda_codec_generic vfat irqbypass efi_pstore fat ledtrig_audio intel_cstate snd_usb_audio uvcvideo snd_hda_intel cdc_ether videobuf2_vmalloc usbnet videobuf2_memops snd_hda_codec intel_uncore videobuf2_v4l2 videobuf2_common snd_usbmidi_lib r8152 snd_rawmidi snd_hda_core snd_seq_device mii intel_rapl_perf efivars videodev snd_hwdep joydev rtsx_pci_ms iTCO_wdt snd_pcm mei_me iTCO_vendor_support serio_raw intel_wmi_thunderbolt pcspkr watchdog wmi_bmof pcc_cpufreq tpm_crb memstick sg usblp media snd_timer rfkill mei
Oops#1 Part2
<4>[  134.466050]  pci_pm_runtime_suspend+0x58/0x140
<4>[  134.466051]  ? __switch_to_asm+0x40/0x70
<4>[  134.466052]  ? pci_has_legacy_pm_support+0x60/0x60
<4>[  134.466054]  __rpm_callback+0x81/0x140
<4>[  134.466055]  ? pci_has_legacy_pm_support+0x60/0x60
<4>[  134.466056]  rpm_callback+0x1f/0x70
<4>[  134.466057]  rpm_suspend+0x10f/0x5f0
<4>[  134.466058]  ? __switch_to_asm+0x34/0x70
<4>[  134.466059]  ? __switch_to+0x7a/0x3e0
<4>[  134.466060]  ? __switch_to_asm+0x34/0x70
<4>[  134.466061]  pm_runtime_work+0x82/0x90
<4>[  134.466062]  process_one_work+0x1a7/0x3b0
<4>[  134.466063]  worker_thread+0x30/0x390
<4>[  134.466064]  ? create_worker+0x1a0/0x1a0
<4>[  134.466065]  kthread+0x112/0x130
<4>[  134.466067]  ? __kthread_parkme+0x70/0x70
<4>[  134.466067]  ret_from_fork+0x1f/0x40
<4>[  134.466068] Modules linked in: nls_utf8 isofs fuse ctr ccm rfcomm cmac snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress arc4 intel_rapl iwlmvm bnep x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel mac80211 kvm btusb btrtl btbcm btintel irqbypass nls_ascii bluetooth nls_cp437 vfat fat intel_cstate iwlwifi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio joydev cfg80211 intel_uncore efi_pstore snd_usb_audio drbg uvcvideo cdc_ether ansi_cprng usbnet snd_usbmidi_lib snd_hda_intel videobuf2_vmalloc snd_rawmidi r8152 videobuf2_memops hp_wmi wmi_bmof ecdh_generic videobuf2_v4l2 intel_wmi_thunderbolt ecc pcc_cpufreq serio_raw sparse_keymap intel_rapl_perf snd_seq_device mii snd_hda_codec videobuf2_common iTCO_wdt iTCO_vendor_support pcspkr watchdog efivars videodev snd_hda_core snd_hwdep tpm_crb rtsx_pci_ms usblp snd_pcm media memstick mei_me snd_timer mei rfkill sg

hth,
Wim



More information about the Pkg-grub-devel mailing list