ACPI 错误无法隐藏

ACPI 错误无法隐藏

在新电脑(MB:Asus TUF GAMING B760M-PLUS、CPU:i5-13600k、GPU:Nvidia RTX 3060)上安装 22.04(内核 6.2.0-33-generic)后,我收到了相当长的 ACPI 错误列表。它们似乎没有危害,所以我只想隐藏它们。在论坛上可以找到的是使用另一个级别的日志记录,即添加到loglevel=3grub 配置文件中/etc/default/grub(当然使用sudo update-grub)。这并不能消除我的情况中的错误,而且更高的日志级别(最高 0)不会隐藏问题。我还尝试添加acpi=off(系统无法启动),,pci=noacpi——acpi=force所以或多或少可以在论坛上找到的所有内容。

当然,BIOS 已更新至最新版本,安全启动已关闭。

原则上我可以忍受这些错误警告,但我仍然很好奇为什么在我的情况下,线程间重复的解决方案不起作用。有什么想法或建议吗?

输出dmesg | grep -i "acpi"

[    3.560834] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.560849] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.560875] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.561047] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.561058] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.561080] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.561248] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.561259] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.561281] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.561448] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.561459] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.561480] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.561648] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.561659] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.561680] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.561847] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.561857] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.561879] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.562046] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.562057] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.562078] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.562251] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.562262] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.562279] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.562407] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.562418] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.562436] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.562564] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.562574] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.562592] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.562721] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.562731] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.562749] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.562877] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.562887] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.562905] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.563033] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.563043] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.563061] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.563189] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.563199] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.563217] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)
[    3.563346] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20221020/dsfield-184)
[    3.563356] ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20221020/dswload2-477)
[    3.563374] ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/psparse-529)

答案1

这会:

GRUB_CMDLINE_LINUX_DEFAULT="fsck.mode=skip quiet loglevel=2 splash"

(0 和 1 也是如此)并且fsck.mode=skip还会显示 fschk“干净”行和执行文件系统检查的“按下 control-c ...”行。如果您想要 100% 干净启动。

loglevel=需要在后面加上quiet一个空格,这样只会隐藏屏幕上的消息。这些消息仍会保留在磁盘上的 boot.log /dmesg

loglevel是一个从 0(从糟糕)到 7(到调试)的数字,意思是,,,,,,,,。emerg3表示显示“错误”及更糟糕的情况。alertcriterrorwarnnoticeinfodebug

答案2

我发现 Ubuntu(至少在 22.04 中)中的日志级别由 管理/etc/sysctl.d/10-console-messages.conf,其优先级比似乎被忽略的相应内核参数更高。

中的行/etc/sysctl.d/10-console-messages.conf应进行如下修改以获取loglevel=3

kernel.printk = 3 4 1 7

相关内容