ACPI daemon makes 100% CPU load

Bug #286604 reported by maestro on 2008-10-20
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
acpid (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: acpid

Using ACPI on Toshiba L40 laptop makes 100% CPU load by sy (even when booting from liveCD)
here:
 vmstat 1
 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r b swpd free buff cache si so bi bo in cs us sy id wa
 5 0 0 863888 20212 241612 0 0 158 9 477 4846 29 69 1 1
 4 0 0 863732 20212 241612 0 0 0 0 368 4717 30 70 0 0
 3 0 0 863748 20212 241612 0 0 0 0 398 4824 26 74 0 0
 2 0 0 863748 20212 241612 0 0 0 0 366 4722 27 73 0 0
 3 0 0 863732 20212 241612 0 0 0 52 400 4734 34 66 0 0
 3 0 0 863732 20212 241612 0 0 0 0 385 4810 32 68 0 0
 2 0 0 863748 20212 241612 0 0 0 0 388 4740 31 69 0 0
 2 0 0 863732 20212 241612 0 0 0 0 380 4764 21 79 0 0
 2 0 0 863788 20212 241612 0 0 0 0 400 4831 29 71 0 0
 3 0 0 863788 20212 241612 0 0 0 0 368 4733 27 73 0 0
 3 0 0 863788 20212 241612 0 0 0 0 402 4785 35 65 0 0
 1 0 0 863732 20212 241612 0 0 0 0 381 4747 22 78 0 0
 3 0 0 863740 20212 241612 0 0 0 0 387 4745 27 73 0 0
 3 0 0 863748 20212 241612 0 0 0 0 380 4806 28 72 0 0
 3 0 0 863692 20212 241612 0 0 0 0 405 4797 26 74 0 0

maestro@maestro-laptop:~$ dmesg | grep ACPI
[ 0.000000] BIOS-e820: 000000005f7a0000 - 000000005f7ae000 (ACPI data)
[ 0.000000] BIOS-e820: 000000005f7ae000 - 000000005f7f0000 (ACPI NVS)
[ 0.000000] ACPI: RSDP 000F8840, 0024 (r2 ACPIAM)
[ 0.000000] ACPI: XSDT 5F7A0100, 008C (r1 TOSASU TOSASU00 9000719 MSFT 97)
[ 0.000000] ACPI: FACP 5F7A0290, 00F4 (r3 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: DSDT 5F7A0680, C1A0 (r1 TOSASU TOSASU00 0 INTL 20051117)
[ 0.000000] ACPI: FACS 5F7AE000, 0040
[ 0.000000] ACPI: APIC 5F7A0390, 005C (r1 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: MCFG 5F7A0430, 003C (r1 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: SLIC 5F7A0470, 0176 (r1 TOSASU TOSASU00 9000719 MSFT 97)
[ 0.000000] ACPI: DBGP 5F7A03F0, 0034 (r1 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: BOOT 5F7A05F0, 0028 (r1 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: ECDT 5F7A0620, 0054 (r1 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: OEMB 5F7AE040, 0060 (r1 TOSASU T0SASU00 9000719 MSFT 97)
[ 0.000000] ACPI: HPET 5F7AC820, 0038 (r1 TOSASU TOSASU00 9000719 MSFT 97)
[ 0.000000] ACPI: GSCI 5F7AE0A0, 2024 (r1 TOSASU GMCHSCI 9000719 MSFT 97)
[ 0.000000] ACPI: ATKG 5F7B02D0, 8024 (r1 A_M_I_ OEMATKG 0 0)
[ 0.000000] ACPI: SSDT 5F7B8300, 060F (r1 PmRef Cpu0Cst 3001 INTL 20051117)
[ 0.000000] ACPI: SSDT 5F7B8910, 02CD (r1 PmRef CpuPm1 3000 INTL 20051117)
[ 0.000000] ACPI: DMI detected: Toshiba
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.018173] ACPI: Core revision 20080609
[ 0.023164] ACPI: Checking initramfs for custom DSDT
[ 0.460028] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.460028] ACPI: bus type pci registered
[ 0.460420] ACPI: EC: EC description table is found, configuring boot EC
[ 0.471807] ACPI: Interpreter enabled
[ 0.471811] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.471836] ACPI: Using IOAPIC for interrupt routing
[ 0.478361] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
[ 0.493305] ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
[ 0.493308] ACPI: EC: driver started in poll mode
[ 0.493538] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.494752] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
[ 0.495338] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.495720] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P2._PRT]
[ 0.495895] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P3._PRT]
[ 0.496123] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
[ 0.524818] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12)
[ 0.525072] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 12)
[ 0.525323] ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 7 10 12)
[ 0.525572] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 12)
[ 0.525822] ACPI: PCI Interrupt Link [LNKE] (IRQs *6)
[ 0.526067] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *7 10 12)
[ 0.526317] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 *4 5 6 7 10 12)
[ 0.526565] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 12)
[ 0.531072] ACPI Warning (tbutils-0217): Incorrect checksum in table [ATKG] - 32, should be 4A [20080609]
[ 0.531207] pnp: PnP ACPI init
[ 0.531217] ACPI: bus type pnp registered
[ 0.535819] pnp: PnP ACPI: found 13 devices
[ 0.535821] ACPI: ACPI bus type pnp unregistered
[ 0.535826] PnPBIOS: Disabled by ACPI PNP
[ 0.536263] PCI: Using ACPI for IRQ routing
[ 0.537852] ACPI: RTC can wake from S4
[ 2.460251] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 2.464292] processor ACPI0007:00: registered as cooling_device0
[ 2.464297] ACPI: Processor [P001] (supports 8 throttling states)
[ 2.481220] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 2.499680] ACPI: Expecting a [Reference] package element, found type C
[ 2.504972] ACPI: Thermal Zone [THRM] (61 C)
[ 4.745407] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
[ 4.745474] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 succeeded
[ 4.745477] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[ 5.082679] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
[ 5.082754] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 succeeded
[ 5.082757] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[ 10.165136] ACPI: Power Button (FF) [PWRF]
[ 10.178521] ACPI: Power Button (CM) [PWRB]
[ 10.192040] ACPI: Sleep Button (CM) [SLPB]
[ 10.193943] ACPI: Lid Switch [liD]
[ 10.794091] ACPI: AC Adapter [AC0] (on-line)
[ 10.996911] ACPI: Battery Slot [BAT0] (battery present)
[ 11.296039] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 23.790917] ACPI: WMI: Mapper loaded
maestro@maestro-laptop:~$

setting option acpi=off works, but it's not that good)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/yelp
Package: yelp 2.24.0-0ubuntu1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: yelp
Uname: Linux 2.6.27-7-generic i686

maestro (lexx-maestro) wrote :
Nido Media (nido) wrote :

I have a Toshiba Satalite L40 as well. The specific model is L40-14N.

acpid seems to be the curlpit. It also seems that repeted starting and stopping will stop the problem (until reboot) though this may be a coincidence.

Attached is a log of acpid running for 10 seconds with the -d switch on. it seems the acpid has a virtually unlimited number of hotkey events to process once it's on; matching the asus-wireless-on and asus-wireless-2 rules.

These results are while running jaunty

maestro (lexx-maestro) wrote :

yeah, turning off acpid service solves the problem, but it is turning off ACPI functionality like suspend and sleep. it would not be that critical for desktops, but not for notebooks.

Nido Media (nido) wrote :

maestro;
I would recommend for the time being that you run `acpid -d` for a few moments and gather the results of that; and post them here. In my case; the laptop seems to emit asus wireless on signals until the end. I've removed /etc/acpi/events/asus-wireless-on and /etc/acpi/events/asus-wireless-2; and now I can run with the acpid running without stressing a processor.

This is, however; more a temporary fix then a real solution. I think there is a bug in the ACPI hardware or kernel modules which generate these superfluous events.

Michael Gefen (gefenm11) wrote :

i would like to confirm both the problem and the work around by Nido Media

Phillip Susi (psusi) wrote :

8.10 has reached end of life. Do you still have this problem on 12.04 or later?

Changed in acpid (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for acpid (Ubuntu) because there has been no activity for 60 days.]

Changed in acpid (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers