Saturday, 7 February 2015

dmesg: Ignoring BGRT: invalid status 0 (expected 1) topic






With vivid (both kernel 3.18 and 3.19), my dmesg says:


Code:


[    0.036738] Ignoring BGRT: invalid status 0 (expected 1)

In it's in red, so apparently something wrong. Tips ... how to solve this ... file this as bug report ... or ignore?


Background:

This line of source code was introduced in kernel 3.18 in arch/x86/platform/efi/efi-bgrt.c:


Code:


53        if (bgrt_tab->status != 1) {
 54                pr_err("Ignoring BGRT: invalid status %u (expected 1)\n",
 55                        bgrt_tab->status);
 56                return;
 57        }


The sequence

Code:


sudo acpidump > acpi.dat
acpixtract -a acpi.dat
iasl -d bgrt.dat
cat bgrt.dsl


leads to


Code:


/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20141107-64 [Dec 17 2014]
 * Copyright (c) 2000 - 2014 Intel Corporation
 *
 * Disassembling to symbolic ASL+ operators
 *
 * Disassembly of bgrt.dat, Sat Feb  7 10:26:34 2015
 *
 * ACPI Data Table [BGRT]
 *
 * Format: [HexOffset DecimalOffset ByteLength]  FieldName : FieldValue
 */

[000h 0000  4]                    Signature : "BGRT"    [Boot Graphics Resource Table]
[004h 0004  4]                Table Length : 00000038
[008h 0008  1]                    Revision : 01
[009h 0009  1]                    Checksum : C7
[00Ah 0010  6]                      Oem ID : "HPQOEM"
[010h 0016  8]                Oem Table ID : "802A    "
[018h 0024  4]                Oem Revision : 00000001
[01Ch 0028  4]              Asl Compiler ID : "HP  "
[020h 0032  4]        Asl Compiler Revision : 00040000

[024h 0036  2]                      Version : 0001
[026h 0038  1]                      Status : 00
[027h 0039  1]                  Image Type : 00
[028h 0040  8]                Image Address : 0000000077180000
[030h 0048  4]                Image OffsetX : 00000261
[034h 0052  4]                Image OffsetY : 000000DC

Raw Table Data: Length 56 (0x38)

  0000: 42 47 52 54 38 00 00 00 01 C7 48 50 51 4F 45 4D  BGRT8.....HPQOEM
  0010: 38 30 32 41 20 20 20 20 01 00 00 00 48 50 20 20  802A    ....HP 
  0020: 00 00 04 00 01 00 00 00 00 00 18 77 00 00 00 00  ...........w....
  0030: 61 02 00 00 DC 00 00 00                          a.......


I thought I had seen something about an incorrect BGRT checksum in my logging, but I can't find that right now.






No comments:

Post a Comment