使用我的 thinkpad W530 和 ubuntu 21.10,我最近遇到机器无法启动并显示错误消息的问题:
Error: The Non-Volatile Variable Storage is About Full
在尝试重新启动几次并删除 BIOS 中的启动条目后,我成功地重新启动。然后我做了一些研究,发现这可能与所描述的有关这里。然后我通过 tlp ppa 将 acpi-call-dkms 升级到版本 1.2.2,如链接中所示。
下一步我想删除 efivars *dumb*
,但我没有找到这样的。
所以我想问,我的哪些 efivars 可以安全删除,这样删除后就不会再出现错误了。
这是以下的输出:sudo ls /sys/firmware/efi/efivars/
AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e LBOP000A-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
AmtSetup-4b9f56be-f68e-4bbc-9bab-cdf600f52d30 LBOP000B-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP000C-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP000D-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP000E-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP000F-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0010-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0011-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0012-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0013-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0008-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0014-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0009-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0015-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot000A-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0016-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot000B-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0017-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot000C-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0018-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot000D-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoConfig-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot000E-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoFlashScratch1-67c3208e-4fcb-498f-9729-0760bb4109a7
Boot000F-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoHiddenSetting-1827cfc7-4e61-4273-b796-d35f4b0c88fc
Boot0010-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoPciResource-ec0cf62f-0742-4c78-a738-8d66158969d4
Boot0011-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoScratchData-67c3208e-4fcb-498f-9729-0760bb4109a7
Boot0012-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoSecurityConfig-a2c1808f-0d4f-4cc9-a619-d1e641d39d49
Boot0013-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoSystemConfig-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0014-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoThermalShutdown-943d1460-da6e-499a-af6d-4593b12bc4d7
Boot0015-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoWolInfo-0af4027f-9b58-41c0-b62f-cd3a1cef54ee
Boot0016-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0000-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0017-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0001-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0018-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0002-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Boot0019-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0003-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0004-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0005-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0006-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
BootOrderDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c LKOP0007-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
Con-8be4df61-93ca-11d2-aa0d-00e098032b8c LocalSecurityVars-47355e9f-0857-45e1-8a6f-a4f5eda89a77
ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c LWO-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c MailBoxQ-67c3208e-4fcb-498f-9729-0760bb4109a7
ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c MeBiosExtensionSetup-1bad711c-d451-4241-b1f3-8537812e0c70
ConsoleLock-368cda0d-cf31-4b9b-8cf6-e7d1bfff157e MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
CpuPpiSetupVar-d1b99f1a-084b-49c3-b88e-378abefa118b MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
CpuProtocolSetupVar-7d4adce1-930d-40c7-9cd2-6d2148413dc7 MemoryTypeInformationBackup-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
db-d719b2cb-3d3a-4596-a3bc-dad00e67656f MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23
dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f MokListXRT-605dab50-e046-4300-abb6-3dd810dd8b23
DIAGSPLSHSCRN-8be4df61-93ca-11d2-aa0d-00e098032b8c MTC-eb704011-1402-11d3-8e77-00a0c969723b
DptfProtocolSetupVar-1054354b-b543-4dfe-558b-a7ad6351c9d8 OpromDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c
ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c
HDDPWD-8be4df61-93ca-11d2-aa0d-00e098032b8c OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
iFfsData-f9f0b131-f346-4f16-80dd-f941072b3a7d PbaStatusVar-0ec1a7f5-4904-40a0-8eab-4bcc4666da45
KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c PchProtocolSetupVar-04bd8413-15f9-43f3-9675-4618e03240e3
Key0000-8be4df61-93ca-11d2-aa0d-00e098032b8c PK-8be4df61-93ca-11d2-aa0d-00e098032b8c
Key0001-8be4df61-93ca-11d2-aa0d-00e098032b8c PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
Key0002-8be4df61-93ca-11d2-aa0d-00e098032b8c PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
Key0003-8be4df61-93ca-11d2-aa0d-00e098032b8c ProtectedBootOptions-8be4df61-93ca-11d2-aa0d-00e098032b8c
Key0004-8be4df61-93ca-11d2-aa0d-00e098032b8c PwdStatusVar-3e72b3ad-2b91-424a-ad73-c3270e91ed88
Key0005-8be4df61-93ca-11d2-aa0d-00e098032b8c SaProtocolSetupVar-34f73d4d-963e-4c65-b3b3-515e720175d6
Key0006-8be4df61-93ca-11d2-aa0d-00e098032b8c SbatLevelRT-605dab50-e046-4300-abb6-3dd810dd8b23
Key0007-8be4df61-93ca-11d2-aa0d-00e098032b8c SctHotkey-4650c401-93f1-4aeb-b87d-c8204c047dec
LastBootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
LBC-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 Setup-4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d
LBL-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SetupHotKey-8be4df61-93ca-11d2-aa0d-00e098032b8c
LBOL-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
LBOP0000-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SimpleBootFlag-8be4df61-93ca-11d2-aa0d-00e098032b8c
LBOP0001-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SMBIOSELOG000-c3eeae98-23bf-412b-ab60-efcbb48e1534
LBOP0002-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SMBIOSELOGNUMBER-c3eeae98-23bf-412b-ab60-efcbb48e1534
LBOP0003-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SMBIOSMEMSIZE-c3eeae98-23bf-412b-ab60-efcbb48e1534
LBOP0004-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 System-e947fcf9-dd01-4965-b808-32a7b6815657
LBOP0005-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 TcgSetup-753ab903-444c-41f8-a235-569e8341147e
LBOP0006-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 TdtSetup-810b8b03-2e42-485c-bc93-c35c748e666c
LBOP0007-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
LBOP0008-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 TpmAcpiData-6403753b-abde-4da2-aa11-6983ef2a7a69
LBOP0009-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 TpmSaveState-5e724c0c-5c03-4543-bcb6-c1e23de24136
有没有办法找出“非易失性变量存储”的大小并查看它的使用量?
我的内核版本是5.13.0-52-generic #59-Ubuntu
。
/sys/fs/pstore
是空的。
答案1
你的问题和这个是一样的在 superuser.se 上回答。
要解决它,您可以:
删除导致该错误的文件,这些文件位于
/sys/firmware/efi/efivars/dump-*
.他们也出席了/sys/firmware/efi/vars/dump*
虽然从哪个目录删除这些转储文件似乎并不重要,因为它们代表相同的信息。防止它在将来发生,用作
efi_pstore.pstore_disable=1
内核选项,如上所述这个 unix.se 答案。
要调试/查找发生这种情况的原因,因为似乎在存在内核错误的情况下可能会发生这种情况,(例子在这里)由于过时的内核模块或其他一些原因,您可以拍摄转储文件的 3 个快照,如上所述此聊天条目和上面链接的帖子看看问题出在哪里。
此外,您还可以删除现有的和不需要的内核模块,并且可能尝试切换/删除现有的内核选项,看看它是否会改变任何内容。