You are not logged in.

#26 2016-11-12 13:20:01

UltrasonicMadness
Member
From: European Union
Registered: 2016-03-21
Posts: 17
Website

Re: Cannot boot Arch with latest version of Linux since 4.7.

I found an option in the boot section of the UEFI settings menu on my laptop (labeled as BIOS settings for some reason) called Legacy support which, when enabled, allows BIOS-based systems to boot. When enabling it (it was disabled before), it gave me a warning that I would no longer be able to boot the installed OS by changing this setting. I tried booting from the Arch install media with this setting enabled and the USB drive showed twice, once with (UEFI) in quotes and once without. I tried booting both options and amazingly, the latest version of the kernel now loads just fine either way. With that knowledge, I tried booting from my hard drive with legacy support enabled and the latest (4.8.7) kernel loaded just fine, even showing EFI variables when typing efivar -l. Would it be fair to say that I've solved this and does anyone have any idea why this is going on?

Best regards,
UltrasonicMadness

Offline

#27 2016-11-12 13:40:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Cannot boot Arch with latest version of Linux since 4.7.

You "solved" it by figuring that UEFI is rubbish ;-)

There's an EFI related patch in the diff you linked which changes memory mapping. No idea whether that's the cause but if it breaks booting a kernel from EFI, it's pretty much a showstopper (for rubbish or not: it's used)

Offline

#28 2016-11-12 13:52:07

UltrasonicMadness
Member
From: European Union
Registered: 2016-03-21
Posts: 17
Website

Re: Cannot boot Arch with latest version of Linux since 4.7.

Well I don't really know much about UEFI (other than secure-boot-related issues that my laptop thankfully lets me disable). The kernel still seems to boot (from systemd-boot as well) using EFI with legacy support enabled (efivar -l gives plenty of output) but it doesn't boot at all if legacy boot is disabled. I don't think UEFI is rubbish; it's seems quite interesting. I just knew the kernel had no problems on my BIOS desktops and worked from that.

Best regards,
UltrasonicMadness

Offline

#29 2016-11-12 14:10:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Cannot boot Arch with latest version of Linux since 4.7.

The problems with the EFI design are not related to your failed boot. Deeming that OT, selecting the legacy support (probably, I don't really know what that BIOS does) simply means to re-enable the BIOS compatibility layer, ie. bypassing the broken UEFI support in the kernel.
I guess it would be cool if you could revert that single patch and check whether it's the cause - and report to the kernel. Otherwise linux will run around w/ semi-broken UEFI support and not all (notably in the future) systems will allow to bail out of this.

Offline

Board footer

Powered by FluxBB