Bug 1215284

Summary: [RPi] df: /sys/firmware/efi/efivars: Invalid argument
Product: [openSUSE] openSUSE Tumbleweed Reporter: Guillaume GARDET <guillaume.gardet>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ivan.ivanov, tiwai
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: Other   
URL: https://openqa.opensuse.org/tests/3568327/modules/textinfo/steps/9
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Guillaume GARDET 2023-09-13 08:01:04 UTC
## Observation

openQA test in scenario opensuse-Tumbleweed-JeOS-for-RPi-aarch64-jeos@RPi3 fails in
[textinfo](https://openqa.opensuse.org/tests/3568327/modules/textinfo/steps/9)

openQA fails in textinfo test on RPi2, 3 and 4 due to 'df -h' failing on /sys/firmware/efi/efivars:
**********
df: /sys/firmware/efi/efivars: Invalid argument
**********

This started to fail on snapshot 20230911 which includes a kernel update to version 6.5.2



## Test suite description
Maintainer: fvogt, mnowak

Start JeOS from the HDD image, configure it using the firstboot wizard and then run basic tests. console=tty0 added as needed for aarch64.


## Reproducible

Fails since (at least) Build [20221024](https://openqa.opensuse.org/tests/2833524)


## Expected result

Last good: (unknown) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=JeOS-for-RPi&machine=RPi3&test=jeos&version=Tumbleweed)
Comment 1 Guillaume GARDET 2023-09-13 09:02:57 UTC
It seems to be similar to https://bugs.launchpad.net/ubuntu/+source/efivar/+bug/2034705 which should be fixed with this patch:
https://launchpadlibrarian.net/686144065/0001-efivarfs-fix-statfs-on-efivarfs.patch
Comment 2 Guillaume GARDET 2023-09-19 07:37:37 UTC
The fix is part of 6.6-rc2.

It is not part of 6.5.3, so not sure if there is a plan to merge it to stable 6.5.x.
Comment 3 Takashi Iwai 2023-09-19 08:01:58 UTC
Thanks for the info.  I'll backport the upstream commit 79b83606abc778aa3cbee535b362ce905d0b9448 to stable branch.
(currently not able to push due to internal server problem.)