DebuggingACPI

Differences between revisions 18 and 19
Revision 18 as of 2008-02-23 12:38:57
Size: 3778
Editor: e177041046
Comment:
Revision 19 as of 2008-02-23 15:54:45
Size: 3806
Editor: c-71-59-213-167
Comment:
Deletions are marked like this. Additions are marked like this.
Line 41: Line 41:
 * Output of 'uname -a'
 * Output of 'sudo lspci -vvnn'
 * Output of 'sudo dmidecode'
 * Try to hibernate/suspend and then restart the system and attach /var/log/kern.log.0
 * Output of {{{uname -a}}}
 * Output of {{{sudo lspci -vvnn}}}
 * Output of {{{sudo dmidecode}}}
 * Try to hibernate/suspend and then restart the system and attach {{{/var/log/kern.log.0}}}
Line 46: Line 46:
   'cp /proc/acpi /tmp -r'
   'tar -cvjf ~/acpi.tar.bz /tmp/acpi'
  * {{{cp -r /proc/acpi /tmp}}}
  * {{{tar -cvjf ~/acpi.tar.bz /tmp/acpi}}}

Introduction

The Advanced Configuration and Power Interface (ACPI) is an open industry specification which establishes industry-standard interfaces enabling OS-directed configuration, power management, and thermal management of mobile, desktop, and server platforms. Support is often tough to get right. The following information can help with debugging ACPI related issues. For background information regarding ACPI, see [http://www.acpi.info/ www.acpi.info] and [http://en.wikipedia.org/wiki/Acpi Wikipedia].

Debugging procedure

  1. Make sure your BIOS is up to date.
    • To find the version of the BIOS you currently have, run 'sudo dmidecode'. The version of your BIOS should be listed in the BIOS Information section of the output.

Trouble Booting

  1. Try booting with the "acpi=off" kernel parameter
    • This will disable ACPI support. If the error is the same with acpi enabled and disabled, this may not be an ACPI issue.
  2. If "acpi=off" allows the system to boot, try to isolate the ACPI issue with the following boot parameters
    • Try booting with "acpi=ht"
      • This disables all of ACPI except just enough to enable Hyper Threading. If acpi=off works and acpi=ht fails, then the issue is in the ACPI table parsing code itself, or perhaps the SMP code.
    • Try booting with "pci=noacpi"
      • This disables ACPI for IRQ routing and PCI scanning.
    • Try booting with "acpi=noirq"
      • This disables ACPI for IRQ routing.
    • Try booting with "pnpacpi=off"
      • This disables the ACPI component of the Linux Plug and Play code.
    • Try booting with "noapic"
      • Disables the IO-APIC for IRQ routing or PCI scanning.
    • Try booting with "nolapic"
      • Disables the local APIC

Fan Issues

These usually relate to the fan spinning too much or too fast. Another indication may be that the temperature remains high even when the fans are spinning.

  1. Determine if the system has ACPI-based fan control
    • if /proc/acpi/fan is empty and /proc/acpi/thermal_zone/*/trip_points has no active trip points (those starting with "AC") then there is no ACPI-based fan control on your system
  2. If the system does have an ACPI-based fan control try booting with kernel parameter options listed above

Filing a Bug Report

When filing an ACPI related bug, please attach the following information to the bug report as _separate_ attachments:

  • Output of uname -a

  • Output of sudo lspci -vvnn

  • Output of sudo dmidecode

  • Try to hibernate/suspend and then restart the system and attach /var/log/kern.log.0

  • Tarball of /proc/acpi directory. You can't just tar all files because their content sometimes changes etc.
    • cp -r /proc/acpi /tmp

    • tar -cvjf ~/acpi.tar.bz /tmp/acpi

Such bugs should be reported against the appropriate linux-source-2.6.xx package. For example, the correct package in Malone for Dapper is linux-source-2.6.15, for Edgy is linux-source-2.6.17, for Feisty it is linux-source-2.6.20 and for Gutsy it is linux-source-2.6.22.

Sometimes, everything works except resume (that is, all ACPI functions work, the user can hibernate and restart their computer, etc.). In this case, the DebuggingKernelSuspend procedure can be useful. UnderstandingSuspend can also provide some useful information.

Also see


CategoryBugSquad

DebuggingACPI (last edited 2011-03-03 18:36:15 by c-98-246-63-231)