Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Just experienced a system freeze (no touchpad, no keyboard, screen looked normal), Alt/SysRq/REISUB didn't work, had to press the start button.

In var/log/kern.log I find "ACPI: EC: GPE storm detected, transactions will use polling mode" around the time of the freeze. The next entry is the first action of the next reboot.

Could this be related, and what could it mean?

I'm also experiencing frequent program crashes, always Segfaults and/or SIGSEVs mentioned in the crash report, the programs this is happening too seem random (mplayer, clementine, gnome subtitles, openshot, ...), but these never damage the system, I can always continue my work. All this makes me a bit worried about the stability of my system...

Ubuntu 12.04, 64-bit, 3.2.0-25-generic Kernel, Intel® Core™ i5-2430M CPU @ 2.40GHz × 4

share|improve this question
    
I can see this as a good canonical question. –  hexafraction Jun 19 '12 at 11:42
    
What exactly do you mean? (btw I have a follow-up on this question here: askubuntu.com/questions/149028/…) –  Tinellus Jun 19 '12 at 12:27
    
It's a term on StackExchange that describes a question as well-written and possibly of value to other users.(Justification: Well written and Ubuntu hates some hardware with ACPI) –  hexafraction Jun 19 '12 at 20:04

1 Answer 1

up vote 6 down vote accepted

ACPI is the Advanced Configuration and Power Interface, which allows Ubuntu (or any OS) to communicate with your hardware in a standard manner. It's main function is power management, along with hardware device configuration.

A GPE in ACPI is a General Purpose Event. Think of it as an interrupt - the hardware is informing the OS (via ACPI) that something happened. The "something" usually includes things like plugging/unplugging your AC adapter, closing/opening the lid of your laptop, etc.

EC is the embedded controller which provides ACPI functions on your motherboard.

A GPE storm occurs when the EC starts sending hundreds or thousands of "events" per second to the OS -- these are either spurious (bogus), or due to some fault in the underlying hardware. e.g. a failure in your battery's charging controller leads the ACPI EC to think that the battery is being removed and reinserted hundreds of times per second.

Transactions will use polling mode means that to handle the storm, the OS will stop using GPEs/interrupts to be informed of ACPI events and will instead -- on its own schedule -- "poll" or proactively ask the ACPI EC if any events it should know of have occurred. This way, the OS can still effectively perform ACPI functions while not being overwhelmed with a "GPE storm".


As for your particular problem, yes, this error can certainly affect system stability and usually means something is wrong with your hardware and not Ubuntu/the kernel. If you experience frequent crashes, try running the Memory Test from the Ubuntu Live CD?

share|improve this answer
    
Thx, this helped. I wasn't plugging/unplugging or anything similar, but a couple of hours before I had to Alt/SysRq REISUB because the laptop wouldn't wake up after closing the lid and then (accidentally) unplugging. That could be related then.... And I'll certainly keep your suggestion of running the memory test in mind. Thanks –  Tinellus Jun 9 '12 at 21:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.