After updating to kernel 5.10.93 (from 5.10.89) the computer freezes at Lenovo logo

Hi,

I just did a larger upgrade of my system (a few weeks worth of pending updates) and after a reboot the computer would not boot. I get to the GRUB screen, then my usual:

error: sparse file not allowed. - press any key to continue booting

After that I see the “Lenovo” logo but nothing happens. I tried reverting the update with timeshift and upgraded everything but the kernel, and after that the boot was fine, so I have narrowed it down to the kernel package. I tried removing the “quiet” kernel option, and the only difference was that I did not see the Lenovo logo, it simply stopped at the above error message. I am not able to access any TTY. Do you have any ideas what could cause this? I am using full-disk encryption if that is relevant.

$ inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 5.10.89-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.10-x86_64
    root=UUID=a885104b-8200-40c7-add4-0e0132e82567 rw rootflags=subvol=@
    cryptdevice=UUID=88d00f3c-c13c-41d6-8359-e9c6e92f78f6:cryptroot quiet
    udev.log_priority=3
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20QESCRU00 v: ThinkPad X1 Carbon 7th
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20QESCRU00 v: SDK0J40697 WIN
    serial: <superuser required> UEFI: LENOVO v: N2HET66W (1.49 )
    date: 11/10/2021
Battery:
  ID-1: BAT0 charge: 39.3 Wh (79.2%) condition: 49.6/51.0 Wh (97.2%)
    volts: 17.2 min: 15.4 model: SMP 5B10W13931 type: Li-poly serial: <filter>
    status: Charging cycles: 13
Memory:
  RAM: total: 15.32 GiB used: 1.97 GiB (12.9%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-8565U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xEC
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 629 high: 700 min/max: 400/4600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 600 2: 600 3: 600 4: 600
    5: 599 6: 639 7: 700 8: 700 bogomips: 32012
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt
    cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts
    epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr
    ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds mitigation: TSX disabled
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Lenovo
    driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-8:2 chip-ID: 04f2:b67d class-ID: 0e02
  Display: wayland server: X.org 1.21.1.3 compositor: gnome-shell driver:
    loaded: modesetting alternate: fbdev,vesa display-ID: 0
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
    driver: sof-audio-pci alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci
    bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
  Sound Server-1: ALSA v: k5.10.89-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.43 running: yes
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:9df0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15be class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-10:4 chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: cryptswap maj-min: 254:1 type: LUKS dm: dm-1 size: 4 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 4 GiB
  Device-2: cryptroot maj-min: 254:0 type: LUKS dm: dm-0 size: 472.44 GiB
  Components:
  p-1: nvme0n1p3 maj-min: 259:3 size: 472.44 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 63.3 GiB (13.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN730 SDBQNTY-512G-1001 size: 476.94 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 11170101 temp: 39.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 472.44 GiB size: 472.44 GiB (100.00%)
    used: 63.19 GiB (13.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cryptroot label: N/A uuid: N/A
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 119.3 MiB (23.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 7346-B7C4
  ID-3: /home raw-size: 472.44 GiB size: 472.44 GiB (100.00%)
    used: 63.19 GiB (13.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cryptroot label: N/A uuid: N/A
  ID-4: /var/cache raw-size: 472.44 GiB size: 472.44 GiB (100.00%)
    used: 63.19 GiB (13.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cryptroot label: N/A uuid: N/A
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 maj-min: 254:1 mapped: cryptswap label: cryptswap
    uuid: ac100ed4-d01d-4adc-997c-a4630ccd6baa
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-8:2 info: Chicony Integrated Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 04f2:b67d class-ID: 0e02
  Device-2: 1-9:3 info: Synaptics Prometheus MIS Touch Fingerprint Reader
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 06cb:00bd class-ID: ff00 serial: <filter>
  Device-3: 1-10:4 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
    type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 8087:0aaa class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C pch: 47.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 293 Uptime: 9m wakeups: 343 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1339 pacman: 1322 lib: 338
  flatpak: 10 snap: 7 Shell: Zsh v: 5.8 running-in: gnome-terminal
  inxi: 3.3.12

Something related to root partition on a btrfs filesystem. According to this post, run sudo grub-editenv create and set GRUB_SAVEDEFAULT to false in /etc/default/grub as root:

sudo grub-editenv create 
sudo nano /etc/default/grub #then set GRUB_SAVEDEFAULT=false
sudo update-grub

Thanks @ishaan2479. I actually changed that to true a while ago because I wanted grub to remember my last selected boot selection. Unfortunately this is not related to my issue of the computer not booting.

This will not work with btrfs because grub does not write into btrfs :wink: