ACPI BIOS Error(bug) with file lost

I am using Ubuntu 18.04 but recently faced wired problem.

After complete shutdown, next day after start sometime got this error.

enter image description here

Then manually invoking fsck /dev/sdb2 solve the problem but every time there was missing something or some file. One occurrence I found that my home was deleted. Another time some binary was missing.

I do a fresh Ubuntu 18.04 installation that also doesn’t help either.

I suspect that my SSD may be corrupted but according to smartctl -a it’s OK.

Configuration:

Processor: Intel® Core™ i3-7100U CPU @ 2.40GHz × 4  Graphics: Intel® HD Graphics 620 (Kaby Lake GT2) SSD: ADATA SU650 (V8X01b10) HDD: TOSHIBA MQ01ABD100 (AX1R4C) 

Ubuntu installed on SSD (sdb2)

ACPI Error: No handler or method for GPE 21, disabling event (20181213/evgpe-835)

I have a Ubuntu KDE Neon 5.16 system Plasma Version: 5.16.5 Kernel Version 5.0.0-27-generic. It works great about 80% of the time, but seemingly randomly on boot I will get a endless loading screen (KDE splash), dropping to terminal I get a very fast logging of ACPI Error: No handler or method for GPE 21, disabling event (20181213/evgpe-835) with the “21” number increasing 1 on each log. This just keeps logging to the screen forever. I have to force shutdown holding the power button. Given a few chances to boot it will get past this and then the system is stable. The only thing I try is removing all usb / external screens and this may help (not certain of this yet). Any known issues or ways to troubleshoot this, I can work with restarting, but I would hate for it to start happening more often.

ACPI BIOS Error and Ubuntu Freezing 18.04.3

I keep getting this error when Ubuntu boots ACPI BIOS Error (bug): Failure Creating [\_SB.PCI0.XHC.RHUB.SS10. AE_ALREADY_EXISTS (20181213/dswload2-324 Then if I click on settings or Mozilla it will freeze and I have to reboot the computer. I read somewhere this could be due to my NVIDIA GeForce Drivers. Here are my computer specs: HP Omen Laptop Processor- Intel Core i7-8750H BIOS Version- AMI F.05 Graphics Card- NVIDIA GeForce GTX 1050

If anymore information is needed just let me know

ACPI Error: Needed [Integer/String/Buffer], Found [Region] and other exceptions when Adding more RAM

I am getting the below errors when I add two more RAM sticks(same kind, freq, DDR4 etc… S/N is the same) to my motherboard.These errors are on boot-up

  • already present RAM – Corsair Vengeance LPX 16GB (2x8GB) DDR4 DRAM 3000MHz C15 Desktop Memory Kit – Black (CMK16GX4M2B3000C15)
  • ASUS Prime X470-Pro AMD Ryzen 2 AM4 DDR4 DP HDMI M.2 USB 3.1 ATX Motherboard
  • Ubuntu 18.04 LTS

The errors that I get are below, I am able to get past only by removing both the new 8gB rams and then taking the original installed RAM out and putting them back in[only the original one’s and not then new ones](not sure if that solved it)

enter image description here

Tools to debug ACPI problems

I came across this excellent paper written by Intel:

  • How to achieve S0ix states in Linux*

It contains a nifty little bash script:

#!/bin/bash cd /var/tmp/ acpidump -b iasl -d *.dat lp=$  (grep "Low Power S0 Idle" /var/tmp/facp.dsl | awk '{print $  (NF)}')  if [ "$  lp" -eq 1 ]; then         echo "Low Power S0 Idle is" $  lp         echo "The system supports S0ix!" else         echo "Low Power S0 Idle is" $  lp         echo "The system does not support S0ix!" fi 

The output was littered with errors and at the bottom the script said:

Low Power S0 Idle is 0 The system does not support S0ix! 

I have a skylake i-7 6700HQ chip and am dubious of the results. I suspect all the ACPI errors are to blame and fixing them might change the result.

The work file greped by the script contains this:

$   cat facp.dsl /*  * Intel ACPI Component Architecture  * AML/ASL+ Disassembler version 20160108-64  * Copyright (c) 2000 - 2016 Intel Corporation  *   * Disassembly of facp.dat, Sun Jul 14 16:55:52 2019  *  * ACPI Data Table [FACP]  *  * Format: [HexOffset DecimalOffset ByteLength]  FieldName : FieldValue  */  [000h 0000   4]                    Signature : "FACP"    [Fixed ACPI Description Table (FADT)] [004h 0004   4]                 Table Length : 0000010C [008h 0008   1]                     Revision : 05 [009h 0009   1]                     Checksum : 88      (... SNIP ...)  [103h 0259   1]         Encoded Access Width : 03 [DWord Access:32] [104h 0260   8]                      Address : 0000000000001800  /**** ACPI table terminates in the middle of a data structure! (dump table) */  Raw Table Data: Length 268 (0x10C)    0000: 46 41 43 50 0C 01 00 00 05 88 41 4C 57 41 52 45  // FACP......ALWARE   0010: 41 4C 49 45 4E 57 52 45 09 20 07 01 41 4D 49 20  // ALIENWRE. ..AMI    0020: 13 00 01 00 80 6F 89 37 10 42 EE 36 01 02 09 00  // .....o.7.B.6....   0030: B2 00 00 00 A0 A1 00 00 00 18 00 00 00 00 00 00  // ................   0040: 04 18 00 00 00 00 00 00 50 18 00 00 08 18 00 00  // ........P.......   0050: 80 18 00 00 00 00 00 00 04 02 01 04 20 00 10 00  // ............ ...   0060: 65 00 39 00 00 04 10 00 00 00 0D 00 32 12 00 00  // e.9.........2...   0070: A5 86 03 00 01 08 00 01 F9 0C 00 00 00 00 00 00  // ................   0080: 06 00 00 00 00 00 00 00 00 00 00 00 10 42 EE 36  // .............B.6   0090: 00 00 00 00 01 20 00 02 00 18 00 00 00 00 00 00  // ..... ..........   00A0: 01 00 00 02 00 00 00 00 00 00 00 00 01 10 00 02  // ................   00B0: 04 18 00 00 00 00 00 00 01 00 00 02 00 00 00 00  // ................   00C0: 00 00 00 00 01 08 00 01 50 18 00 00 00 00 00 00  // ........P.......   00D0: 01 20 00 03 08 18 00 00 00 00 00 00 01 80 00 01  // . ..............   00E0: 80 18 00 00 00 00 00 00 01 00 00 01 00 00 00 00  // ................   00F0: 00 00 00 00 01 08 00 03 04 18 00 00 00 00 00 00  // ................   0100: 01 08 00 03 00 18 00 00 00 00 00 00              // ............ 

The line /**** ACPI table terminates in the middle of a data structure! (dump table) */ causes me concern.

The full output starts out ok but I’ll show you some of the errors:

Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20160108-64 Copyright (c) 2000 - 2016 Intel Corporation  Input file /var/tmp/apic.dat, Length 0xBC (188) bytes ACPI: APIC 0x0000000000000000 0000BC (v03 ALWARE ALIENWRE 01072009 AMI  00010013) Acpi Data Table [APIC] decoded Formatted output:  /var/tmp/apic.dsl - 8729 bytes Input file /var/tmp/bgrt.dat, Length 0x38 (56) bytes ACPI: BGRT 0x0000000000000000 000038 (v01 ALWARE ALIENWRE 01072009 AMI  00010013) Acpi Data Table [BGRT] decoded Formatted output:  /var/tmp/bgrt.dsl - 1495 bytes Input file /var/tmp/dbg2.dat, Length 0x54 (84) bytes  (... SNIP ...)  Pass 1 parse of [DSDT] Pass 2 parse of [DSDT] Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)  Parsing completed ACPI Error: External method arg count mismatch _SB_.PCI0.GFX0.ATPX: Current 7, attempted 4 (20160108/dmextern-822) ACPI Error: External method arg count mismatch _SB_.PCI0.GFX0.ATPX: Current 7, attempted 1 (20160108/dmextern-822)  Found 20 external control methods, reparsing with new information Pass 1 parse of [DSDT] Pass 2 parse of [DSDT] Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)  Parsing completed Disassembly completed ASL Output:    dsdt.dsl - 1135146 bytes  iASL Warning: There were 20 external control methods found during disassembly, but additional ACPI tables to resolve these externals were not specified. The resulting disassembler output file may not compile because the disassembler did not know how many arguments to assign to these methods. To specify the tables needed to resolve external control method references, the -e option can be used to specify the filenames. Note: SSDTs can be dynamically loaded at runtime and may or may not be available via the host OS. Example iASL invocations:     iasl -e ssdt1.aml ssdt2.aml ssdt3.aml -d dsdt.aml     iasl -e dsdt.aml ssdt2.aml -d ssdt1.aml     iasl -e ssdt*.aml -d dsdt.aml  In addition, the -fe option can be used to specify a file containing control method external declarations with the associated method argument counts. Each line of the file must be of the form:     External (<method pathname>, MethodObj, <argument count>) Invocation:     iasl -fe refs.txt -d dsdt.aml  (... SNIP ...)  ACPI Error: External method arg count mismatch _SB_.GGOV: Current 4, attempted 2 (20160108/dmextern-822) ACPI Error: External method arg count mismatch _SB_.GGOV: Current 4, attempted 2 (20160108/dmextern-822) ACPI Error: External method arg count mismatch _SB_.GGOV: Current 4, attempted 2 (20160108/dmextern-822)  (... SNIP ...)  ACPI Error: External method arg count mismatch _SB_.PCI0.LPCB.H_EC.ECWT: Current 6, attempted 7 (20160108/dmextern-822) ACPI Error: External method arg count mismatch _SB_.PCI0.LPCB.H_EC.ECWT: Current 6, attempted 4 (20160108/dmextern-822)  (... SNIP ...)  ACPI Error: External method arg count mismatch P8XH: Current 2, attempted 5 (20160108/dmextern-822) ACPI Error: External method arg count mismatch P8XH: Current 2, attempted 5 (20160108/dmextern-822) (... REPEATS 9 TIMES ...)  (... SNIP ...)  ACPI Error: External method arg count mismatch _SB_.SGOV: Current 5, attempted 2 (20160108/dmextern-822)  (... SNIP ...)  ACPI Error: External method arg count mismatch _SB_.SGOV: Current 7, attempted 2 (20160108/dmextern-822)  (... SNIP ...)  Etc., etc., etc. 

I’ve searched on github.com for tools to analyze ACPI in Linux and sure enough there are a lot of them. But I’m wondering if someone has had similar experience and what tool(s) they used?

How to simulate ACPI events in virtual machine?

I’m intending to work on a Python script that will poll ACPI events, specifically – the lid close event. Of course, flipping lid on and off on my laptop isn’t the best approach, and essentially impossible on desktop setups. At the same time, I do have to use Virtual Box since my host system has different desktop than what I intend to target ( Ubuntu 18.04 with GNOME ). Hence the question – how do I trigger ACPI events in Virtual Box guest OS ?

I can not install any linux with kernel 4. It freezes even in the installer. “ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl]”

Trying to install linux desktop with kernel 4, it freezes. The desktop (or sometimes even the installer) responds every 3 seconds, I mean, I can move the mouse for 3 seconds and it freezes, I use it for 3 seconds and it freezes for another 3 seconds. When I do alt+ctrl+F6, on the terminal I see these lines running and not stoping to showing command lines. My notebook is a Acer aspire 3620-32 bits and 2Gb of Ram. Ubuntu 14.04 with kernel version 3.19 runs perfectly, but any ubuntu 14 or 16.04 with kernel 4 and on, do not. So what´s the problem?

This is what terminal shows:

user@pc:~$   [ 3241.500016] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20150619/evregion-297) [3241.500041] ACPI Error: Method parse/execution failed [\_SE_.AMWO.WMCA] Node f44894e0), AE_TIME (20150619/psparse-536) [ 3245.500018] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20150619/evregion-297) [3245.500038] ACPI Error: Method parse/execution failed [\_SE_.AMWO.WMCA] Node f44894e0), AE_TIME (20150619/psparse-536) 

… and the lines go on.

enter image description here

ACPI BIOS Error (bug): Could noy resolve [^^^RP09.PEGP], AE_NOT_FOUND (20180531/psparse-330)

ACPI BIOS Error (bug): Could noy resolve [^^^RP09.PEGP], AE_NOT_FOUND (20180531/psparse-330) ACPI Error: Method parse/execution failed _SB.PC10.LPCB.EC._QD1, AE_NOT_FOUND (20180531/psparse-516)

Everytime I try to boot my laptop, these two lines error appear three times and won’t let my laptop boot.

The last thing I was doing was trying to install atk.

LAPTOP: MSI Prestige PS42 Modern 8MO-i5 OS: Ubuntu 18.04