Bug#1089080: efibootmgr can't use under RT kernel
Package: efibootmgr
Version: 17-2
Severity: important
X-Debbugs-Cc: atzlinux@debian.org
Hi,
When I run efibootmgr on RT kernel, I meet the following error:
EFI variables are not supported on this system.
# uname -a
Linux atzlinux-ce 6.1.0-28-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
The /sys/firmware/efi/efivars/ is empty:
root@atzlinux-ce:~# ls -l /sys/firmware/efi/efivars/
total 0
# lsmod|grep efi
efi_pstore 16384 0
When I run modprobe efivarfs:
# modprobe efivarfs
modprobe: ERROR: could not insert 'efivarfs': No such device
-------------------------------------------------------
But in the same notebook, when I boot use normal kernel:
# uname -a
Linux atzlinux-e8 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
efibootmgr work no problem.
The kernel module efivarfs can load:
root@atzlinux-e8:~# lsmod|grep efi
efi_pstore 16384 0
efivarfs 24576 1
root@atzlinux-e8:~# dmesg|grep efivars
[ 0.250220] Registered efivars operations
I don't find this line in RT kernel boot log.
Is the efivars module support RT kernel?
-- System Information:
Release: 12.8.0
Codename: bookworm
Architecture: x86_64
Kernel: Linux 6.1.0-28-rt-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages efibootmgr depends on:
ii libc6 2.36-9+deb12u9
ii libefiboot1 37-6
ii libefivar1 37-6
ii libpopt0 1.19+dfsg-1
efibootmgr recommends no packages.
efibootmgr suggests no packages.
-- no debconf information
Reply to: