如果我不附加acpi=off
内核参数,我的 Linux 系统将无法启动。
我认为操作系统无法看到所有 CPU 核心的原因是这个参数。但我无法删除它;因为它无法启动,错误是:
ACPI BIOS ERROR (bug): AE_AML_BUFFER_LIMIT, Field [CAP1] at bit offset/length 64/32 exceeds size of target Bugger (64 bits)
ACPI Error: Aborting method \_SB._OSC due to previous error
我尝试了很多不附加的方法acpi=off
,但还是无法正常启动。
➜ ~ lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)'
CPU(s): 1
On-line CPU(s) list: 0
Model name: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Thread(s) per core: 1
Socket(s): 1
NUMA node(s): 1
NUMA node0 CPU(s): 0
➜ ~ uname -a
Linux nixos 5.15.52 #1-NixOS SMP Sat Jul 2 14:41:19 UTC 2022 x86_64 GNU/Linux