Created attachment 225509 [details] Include Samsung laptops/computers in the x2APIC Sandy Bridge blacklist. Almost always, my Samsung RF511 laptop could not boot with x2APIC enabled in the kernel. It froze during SMP initialization, shortly after "ACPI APIC Table: <SECCSD LH43STAR>" was printed to the console. When the kernel is instructed not to use x2APIC, the system boots correctly.
I did some additional refactoring, please see https://reviews.freebsd.org/D30624
(In reply to Konstantin Belousov from comment #1) I tested the refactored patch. It works. Thank you!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=37f780d3e0a2e8e4c64c526b6e7dc77ff6b91057 commit 37f780d3e0a2e8e4c64c526b6e7dc77ff6b91057 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-06-02 22:29:07 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-06-03 19:47:31 +0000 Disable x2APIC for SandyBridge laptops with Samsung BIOS From the PR: Almost always, my Samsung RF511 laptop could not boot with x2APIC enabled in the kernel. It froze during SMP initialization, shortly after "ACPI APIC Table: <SECCSD LH43STAR>" was printed to the console. When the kernel is instructed not to use x2APIC, the system boots correctly. PR: 256389 Submitted by: David Sebek <dasebek@gmail.com> Reviewed by: markj MFC after: 1 week Differential revision: https://reviews.freebsd.org/D30624 sys/x86/acpica/madt.c | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c04954bb39d807860d27ffe867d86c1f12465f6e commit c04954bb39d807860d27ffe867d86c1f12465f6e Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-06-02 22:29:07 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-06-10 00:47:50 +0000 Disable x2APIC for SandyBridge laptops with Samsung BIOS PR: 256389 (cherry picked from commit 37f780d3e0a2e8e4c64c526b6e7dc77ff6b91057) sys/x86/acpica/madt.c | 1 + 1 file changed, 1 insertion(+)