[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-10-25 Thread Heinrich Schuchardt
Upstream has accepted the patch and added it to the v6.5 stable series. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.5.9=63565e1cbfb59da059dd322054840eb6a0019e65 ** Changed in: linux-meta (Ubuntu) Importance: Undecided => High -- You received this bug

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-10-25 Thread Olivier Gayot
** Also affects: linux-meta (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta in Ubuntu. https://bugs.launchpad.net/bugs/2034705 Title: efivar fails to read variables

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-10-25 Thread Olivier Gayot
Subiquity users trying to install 23.10 on Apple hardware (amd64) have been running into problems as well because of this issue. Thank you Heinrich for sending the patch upstream! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-10-24 Thread Rade0nfighter
On the off chance that this issue has a broader impact I will leave a reference to https://answers.launchpad.net/ubuntu/+question/708251 wherein similar behaviours are being observed with 6.5.0-9-generic on amd64. efivar -l returns: "efivar: error listing variables: Function not implemented", yet

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-22 Thread Heinrich Schuchardt
With kernel 6.5.0-6-generic #6.1-Ubuntu SMP Thu Sep 21 12:51:18 from ppa:esmil/ppa efivar works fine. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/2034705 Title: efivar

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-09 Thread Heinrich Schuchardt
Patch sent upstream https://lore.kernel.org/linux- efi/20230909180812.10904-1-heinrich.schucha...@canonical.com/T/#u. Without this patch the Ubuntu installer on systems using U-Boot (e.g. riscv64) will fail. ** Changed in: linux-meta-riscv (Ubuntu) Assignee: Heinrich Schuchardt (xypron) =>

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-08 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/2034705 Title: efivar fails to read variables Status in efivar package in Ubuntu: Invalid Status in

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-08 Thread Heinrich Schuchardt
** Patch added: "Draft Linux patch" https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/2034705/+attachment/5699289/+files/0001-efivarfs-fix-statfs-on-efivarfs.patch ** Changed in: linux-meta-riscv (Ubuntu) Assignee: (unassigned) => Heinrich Schuchardt (xypron) ** Changed

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-08 Thread Heinrich Schuchardt
U-Boot currently does not implement QueryVariableInfo at runtime. This function is not needed for a read only efivarfs. I think it would be more appropriate to check if GetVariable is enabled in efi.runtime_supported_mask. ** Changed in: efivar (Ubuntu) Status: New => Invalid -- You

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-08 Thread Heinrich Schuchardt
Kernel commit d86ffcb1 ("efivarfs: expose used and total size") introduced an EFI runtime call QueryVariableInfo(). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/2034705

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-08 Thread Heinrich Schuchardt
In U-Boot's EFI_RT_PROPERTIES_TABLE_VERSION the flag EFI_RT_SUPPORTED_QUERY_VARIABLE_INFO is not set. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/2034705 Title: efivar

[Kernel-packages] [Bug 2034705] Re: efivar fails to read variables

2023-09-08 Thread Heinrich Schuchardt
The problem is due to the kernel not supporting the deprecated statfs() call on the efivarfs file system. To demonstrate this I have created the following program (statfs.c): #include #include int main(int argc, char *argv[]) { struct statfs s; int ret; if (argc < 2)