merge / skulls

pre-built coreboot images and documentation on how to flash them for Thinkpad Laptops
GNU General Public License v3.0
674 stars 65 forks source link

Acpi errors #230

Closed Myles24 closed 1 year ago

Myles24 commented 2 years ago

When compiling coreboot for the x230 from source, I always get an acpi bios error blue screen in windows and the laptop shuts down in linux instead of suspend to ram. I was wondering if there was a solution to this issue since this error does not occur using skulls. Thanks for any help.

ghost commented 2 years ago

When compiling coreboot for the x230 from source, I always get an acpi bios error blue screen in windows and the laptop shuts down in linux instead of suspend to ram. I was wondering if there was a solution to this issue since this error does not occur using skulls. Thanks for any help.

I had the same issue, I just compiled skulls, and got the acpi bios error also in windows. I downgraded back to skulls v1.0.4 non free, works good with windows and Linux on my X230.

Just an issue with the latest version of coreboot.

paulmenzel commented 2 years ago

When compiling coreboot for the x230 from source,

What commit, and what configuration?

I always get an acpi bios error blue screen in windows

What Microsoft Windows version? What is the exact error code?

and the laptop shuts down in linux instead of suspend to ram.

Strange. Is it actually suspending, but fails to correctly resume? Log messages would be good to have.

I was wondering if there was a solution to this issue since this error does not occur using skulls. Thanks for any help.

What version of Skulls? It seems a regression in upstream.

explit7 commented 2 years ago

Guys, i think, its a bug in new Coreboot Versions. I have an Coreboot 4.15 Image from 11/11/2021 which is working fine in Windows, but Coreboot 4.16 and 4.17 where i get BSOD very in early on Windows Boot.

paulmenzel commented 2 years ago

Please give more details, what the Microsoft Windows BSOD ACPI error is.

@explit, it’d be great if you could bisect the commit between coreboot 4.15 and 4.16.

Myles24 commented 2 years ago

@paulmenzel there is no error code number, the BSOD error is "ACPI_BIOS_ERROR" in Windows. I am also having that issue in skulls 1.0.5 and I'm not having the issue in 1.0.4.

explit7 commented 2 years ago

Please give more details, what the Microsoft Windows BSOD ACPI error is.

@explit, it’d be great if you could bisect the commit between coreboot 4.15 and 4.16.

Bug is opened now

Don't know which commit exactly brakes ACPI, but i can say, that in my CoreBoot 4.15 Image from 11/11/2021 Windows 10 is booting just fine from SeaBIOS. Some time later under CoreBoot 4.16 i saw that windows is BSODing. Tried yesterday with CoreBoot 4.17 and its still broken.

As i said, since CB4.16 there is something broken. As i read, the problem is, that ACPI reserves some memory area, which in Windows is reserved for the system.

This issue seems very similar, but the guy is using TianoCore instead of SeaBIOS. Changing the line OperationRegion (OPRG, SystemMemory, ASLS, 0x2000) to OperationRegion (OPRG, SystemMemory, ASLS, 0x1000) doesnt fix it for SeaBios, but fix it for TianoCore.

Myles24 commented 1 year ago

It seems like the issue with Windows BSOD has been resolved with this coreboot commit. The issue with the x230 not resuming from sleep has been solved on coreboot issue tracker: https://ticket.coreboot.org/issues/412