* [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted
@ 2020-01-28 15:28 voidlinux-github
2020-01-28 15:33 ` voidlinux-github
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-28 15:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1414 bytes --]
New issue by dawidpotocki on void-packages repository
https://github.com/void-linux/void-packages/issues/18612
Description:
### System
* xuname:
`Void 5.4.15_1 x86_64 GenuineIntel notuptodate rFFF`
* package:
`fwupd-1.3.6_1`
### Expected behavior
fwupd is able to update firmware, efivars are mounted.
### Actual behavior
When I'm doing `$ fwupdmgr get-devices`, I get
`Update Error: /sys/firmware/efi/efivars was not mounted`
Then when I try updating with `# fwupdmgt update`, I get
```
No upgrades for System Firmware: is not updatable
No upgrades for UEFI Device Firmware: is not updatable
No upgrades for UEFI Device Firmware: is not updatable
```
### Fix
The problem is that efivars are not mounted by Void. Doing something like this
will fix this issue.
```
$ sudo mount -t efivarfs efivarfs /sys/firmware/efi/efivars
```
After this, it should work just fine
```
$ sudo fwupdmgr get-updates
$ sudo fwupdmgr get-devices
```
efivars have to be mounted as RW, not RO.
Since `/sys/firmware/efi/efivars` isn't immutable prior to kernel 4.5, doing
something like `rm -rf` on it can brick the device.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879
### Steps to reproduce the behavior
1. Install `fwupd`
2. Run `fwupdmgr get-devices`
3. Run `fwupdmgr update` as root
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
@ 2020-01-28 15:33 ` voidlinux-github
2020-01-28 15:33 ` voidlinux-github
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-28 15:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-579302895
Comment:
void-runit must be updated to mount this correctly
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
2020-01-28 15:33 ` voidlinux-github
@ 2020-01-28 15:33 ` voidlinux-github
2020-01-28 15:34 ` voidlinux-github
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-28 15:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-579303140
Comment:
Thanks for the heads up, we neeed to fix this asap
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
2020-01-28 15:33 ` voidlinux-github
2020-01-28 15:33 ` voidlinux-github
@ 2020-01-28 15:34 ` voidlinux-github
2020-01-28 15:49 ` voidlinux-github
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-28 15:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-579303431
Comment:
@void-linux/pkg-committers be my guest
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
` (2 preceding siblings ...)
2020-01-28 15:34 ` voidlinux-github
@ 2020-01-28 15:49 ` voidlinux-github
2020-01-28 15:50 ` voidlinux-github
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-28 15:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-579313963
Comment:
I tried this on my system but it still doesn't find things to update (tho there are), any ideas what else could be missing?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
` (3 preceding siblings ...)
2020-01-28 15:49 ` voidlinux-github
@ 2020-01-28 15:50 ` voidlinux-github
2020-01-29 8:32 ` voidlinux-github
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-28 15:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-579314818
Comment:
Maybe there are no updates?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
` (4 preceding siblings ...)
2020-01-28 15:50 ` voidlinux-github
@ 2020-01-29 8:32 ` voidlinux-github
2020-04-04 7:24 ` dawidpotocki
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2020-01-29 8:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]
New comment by Hoshpak on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-579649264
Comment:
I tried it on my system as well. I used fwupdmgr in the past to update a Logitech unifying receiver and it also detects the two SSDs in the system. Efivars is now mounted manually:
```
# mount | grep efivars
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,relatime)
```
But still I get:
```
ââSystem Firmware:
â Device ID: 1d70a31dd3ff0941761550a38436fc990c6c3ff0
â Current version: 0.0.11
â Minimum Version: 0.0.11
â Vendor: ASUS (DMI:American Megatrends Inc.)
â Update Error: /sys/firmware/efi/efivars was not mounted
â GUID: 7039436b-6acf-433b-86a1-368ec2ef7e1f
â Device Flags: ⢠Internal device
â ⢠Requires AC power
â ⢠Needs a reboot after installation
â ⢠Cryptographic hash verification is available
```
So either something else is required or the firmware cannot be updated via fwupdmgr. In that case the error message would be misleading.
The update command shows me:
```
# fwupdmgr update
No upgrades for Unifying Receiver: current version is RQR12.10_B0032: RQR12.10_B0032=same, RQR12.08_B0030=older, RQR12.07_B0029=older
```
So it only considers the Unifying receiver but not the other three devices. This could be because though they could theoretically be updated via fwupdmgr, there's no firmware for these devices on the server. The get-releases command shows that there are no releases for either of the SSDs and that UEFI is not updateable.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
` (5 preceding siblings ...)
2020-01-29 8:32 ` voidlinux-github
@ 2020-04-04 7:24 ` dawidpotocki
2020-04-25 0:47 ` dawidpotocki
2020-04-25 0:47 ` [ISSUE] [CLOSED] " dawidpotocki
8 siblings, 0 replies; 10+ messages in thread
From: dawidpotocki @ 2020-04-04 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
New comment by dawidpotocki on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-608989068
Comment:
Hi, it looks like the issue is fixed?
```
$ mount -l | grep efivarfs
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
# fwupdmgr update
• Thunderbolt Controller has no available firmware updates
• Samsung SSD 860 EVO M.2 1TB has no available firmware updates
• System Firmware has the latest available firmware version
• UEFI Device Firmware has the latest available firmware version
• UEFI Device Firmware has the latest available firmware version
• UEFI Device Firmware has no available firmware updates
• UEFI Device Firmware has no available firmware updates
```
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
` (6 preceding siblings ...)
2020-04-04 7:24 ` dawidpotocki
@ 2020-04-25 0:47 ` dawidpotocki
2020-04-25 0:47 ` [ISSUE] [CLOSED] " dawidpotocki
8 siblings, 0 replies; 10+ messages in thread
From: dawidpotocki @ 2020-04-25 0:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
New comment by dawidpotocki on void-packages repository
https://github.com/void-linux/void-packages/issues/18612#issuecomment-619293427
Comment:
Didn't get any reply and I believe that it's fixed. Closing.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ISSUE] [CLOSED] fwupd: /sys/firmware/efi/efivars was not mounted
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
` (7 preceding siblings ...)
2020-04-25 0:47 ` dawidpotocki
@ 2020-04-25 0:47 ` dawidpotocki
8 siblings, 0 replies; 10+ messages in thread
From: dawidpotocki @ 2020-04-25 0:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]
Closed issue by dawidpotocki on void-packages repository
https://github.com/void-linux/void-packages/issues/18612
Description:
### System
* xuname:
`Void 5.4.15_1 x86_64 GenuineIntel notuptodate rFFF`
* package:
`fwupd-1.3.6_1`
### Expected behavior
fwupd is able to update firmware, efivars are mounted.
### Actual behavior
When I'm doing `$ fwupdmgr get-devices`, I get
`Update Error: /sys/firmware/efi/efivars was not mounted`
Then when I try updating with `# fwupdmgr update`, I get
```
No upgrades for System Firmware: is not updatable
No upgrades for UEFI Device Firmware: is not updatable
No upgrades for UEFI Device Firmware: is not updatable
```
### Fix
The problem is that efivars are not mounted by Void. Doing something like this
will fix this issue.
```
$ sudo mount -t efivarfs efivarfs /sys/firmware/efi/efivars
```
After this, it should work just fine
```
$ sudo fwupdmgr get-updates
$ fwupdmgr get-devices
```
efivars have to be mounted as RW, not RO.
Since `/sys/firmware/efi/efivars` isn't immutable prior to kernel 4.5, doing
something like `rm -rf` on it can brick the device.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879
### Steps to reproduce the behavior
1. Install `fwupd`
2. Run `fwupdmgr get-devices`
3. Run `fwupdmgr update` as root
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-04-25 0:47 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28 15:28 [ISSUE] fwupd: /sys/firmware/efi/efivars was not mounted voidlinux-github
2020-01-28 15:33 ` voidlinux-github
2020-01-28 15:33 ` voidlinux-github
2020-01-28 15:34 ` voidlinux-github
2020-01-28 15:49 ` voidlinux-github
2020-01-28 15:50 ` voidlinux-github
2020-01-29 8:32 ` voidlinux-github
2020-04-04 7:24 ` dawidpotocki
2020-04-25 0:47 ` dawidpotocki
2020-04-25 0:47 ` [ISSUE] [CLOSED] " dawidpotocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).