151 points · by muxator · 8y ago · 70 comments
At the time systemd got a lot of serious heat and poettering got called names for something that was not systemd's fault to begin with.
> To make this very clear: we actually write to the EFI fs in systemd. Specifically, when you issue "systemctl reboot --firmware" we'll set the appropriate EFI variable, to ask for booting into the EFI firmware setup. And because we need it writable we'll mount it writable for that.
Why would you even write to efi ? Maybe at boot, i don't know, but certainly not while running ? Not all the time ? Oh i hope there isn't a single program that continuously writes to efi.
In my opinion systemd is at fault, as they aim to be the "system" and yet every once in a while prove that they don't know shit.
EDIT: A program that changes the boot order is all i can think of. (I'm not the one who knows best, on this topic)
I personally would blame Lenovo for releasing something so brick-able.
I also learned that backup bios chips were a thing but not usually available on a notebook PC
[1] https://github.com/torvalds/linux/blob/master/Documentation/...
[2] https://github.com/torvalds/linux/blob/8afda8b26d01ee26a60ef...
I would look at the wonders of UEFI.
It's also possible to bridge from a higher level to a lower level, typically when flashing your BIOS, chances are you're doing it from the OS (it's usually possible to do it at a lower level though).
In this case it looks like a kernel module that does exactly that has been enabled before being ready from prime time. Woups.
Made the news some years back I think.
https://www.phoronix.com/scan.php?page=news_item&px=UEFI-rm-...
This problem is about breaking the BIOS in some way, something that you should not be able to do.
[1]: https://www.phoronix.com/scan.php?page=news_item&px=UEFI-rm-...
This broke a few programs I use, [2] mainly the screenshot application "Shutter". Most users don't realise it became the default, so their apps just stopped working... bad decision in my opinion.
[1] http://www.omgubuntu.co.uk/2017/08/ubuntu-confirm-wayland-de...
[2] https://askubuntu.com/questions/971273/screenshot-feature-of...
Owner of a $3k Lenovo P50 here that was "Linux compatible" but a stake xeon that had been useless on Linux until the latest Fedora.
The main problem is Windows because it allows manufacturers to get away with the 'it runs Windows so it's good enough to release' mindset.
Lenovo supports redhat and ubuntu, that's already a lot. https://support.lenovo.com/gb/en/solutions/pd031426
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1734147...
----------------------
Dell BIOS: 1.5.1
i7-6700HQ CPU @ 2.60GHz
16GB RAM
Intel® HD Graphics 530 + NVidia
512GB SSD
The real problem, imo, is that all of the solutions work badly (they either work at a performance penalty (as with Bumblebee) or require a separate X server for each GPU).
This is entirely a result of NVIDIA's refusal to implement decent support. The Nouveau drivers offer proper PRIME support, which yields an experience more like that on Windows in terms of workflow and the amount of setup (virtually none) required, but they have their own performance problems. Hybrid graphics with AMD GPUs apparently works nicely with whatever drivers you like, granted that the software stack is sufficiently up to date on your system.
However if you really want to, everything pxc says below is spot on...
There were people in the bug report reporting issues on the XPS 13 and many more brands than just lenovo. Try waiting 6 months until Ubuntu can sort their shit.
edit: there is a guy complaining that it screwed his XPS 13 a few messages up.