[PATCH] klog.json: Add some EFI quirk driver kernel messages to klog database

Colin King colin.king at canonical.com
Fri Feb 10 10:15:27 UTC 2017


From: Colin Ian King <colin.king at canonical.com>

These messages are specific to the EFI quirking mechanism

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 data/klog.json | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/data/klog.json b/data/klog.json
index 22ce6c8..62f5545 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -3,6 +3,69 @@
  [ 
   {
    "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Setup done, disabling due to 32/64-bit mismatch",
+   "advice": "The EFI quirk mechaism has unmapped the EFI memory map, EFI runtime services have been disabled because of a mismatch on firmware and kernel (32/64 bit mismatch).",
+   "label": "KlogEfiQuirkEfiDisabled",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Could not map Configuration table",
+   "advice": "The EFI quirk mechanism failed to remap the SMBIOS configuration tables.",
+   "label": "KlogEfiQuirkConfigRemapFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Could not install new EFI memmap",
+   "advice": "The EFI quirk mechanism could not install a memory region for the new EFI memmap region.",
+   "label": "KlogEfiQuirkEfiMemMapInstallFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to map new EFI memmap",
+   "advice": "The EFI quirk mechanism could not remap a memory region for the new EFI memmap region.",
+   "label": "KlogEfiQuirkEfiMemMapRemapFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to allocate new EFI memmap",
+   "advice": "The EFI quirk mechanism could not allocate a memory region for the new EFI memmap region.",
+   "label": "KlogEfiQuirkEfiMemMapAllocFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to map new boot services memmap",
+   "advice": "The EFI quirk mechanism could not memory map a memory region for the EFI boot services, memory range could not be reserved.",
+   "label": "KlogEfiQuirkBootServesMemMapFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Could not allocate boot services memmap",
+   "advice": "The EFI quirk mechanism could not allocate a memory region for the EFI boot services, memory range could not be reserved.",
+   "label": "KlogEfiQuirkBootServicesAllocFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Region spans EFI memory descriptors",
+   "advice": "The EFI quirk mechanism found that a memory range spanned one or more existing EFI memory descriptors and could not reserve it.",
+   "label": "KlogEfiQuirkMemDescSpanRegionsFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to lookup EFI memory descriptor for",
+   "advice": "The EFI quirk mechanism failed to find an EFI memory descriptor for a specific address; EFI memory could not be reserved.",
+   "label": "KlogEfiQuirkMemDescLookupFailed",
+  },
+  {
+   "compare_mode": "string",
    "log_level": "LOG_LEVEL_LOW",
    "pattern": "need at least one option",
    "advice": "An incorrect (empty) argument was passed to the EFI driver via the efi= kernel option",
-- 
2.10.2




More information about the fwts-devel mailing list