POSSIBLE ONLINE WORKAROUND:

Please observe the C-states from your CPUs using " powertop ".

# apt-get install powertop
# powertop
<tab><tab>

After observing that they might be oscilating between C-states (C0/C1E/C3/C6)...
please do execute the following script:

(save this script as "keepcstates.sh")

----- cut here -------

#!/bin/bash

# Workaround to keep CPU at C-states up to C1E
#
# Note: This script should be running all the time
# since the /dev/cpu_dma_latency file must be kept
# opened for it to have an effect.
#
# Lowest value to keep CPUs into C0/C1E state: \013
# You can also use value: \000\000\000\000 to
# completely deactive C-states for CPUs
#

exec 3>/dev/cpu_dma_latency
echo -ne '\013\000\000\000' >&3
while true; do sleep 2; done
exec 3>&-

----- cut here -------

and run, as root, the following command:

root@workstation:~# nohup ./keepcstates.sh &
[1] 28482

This script will run forever not consuming much CPU.

Observe powertop tool again.

In our labs, this script made sure that our CPUs were kept in between C0
and C1E states.

If you continue experiencing panics (with this script running) please
change the line:

echo -ne '\013\000\000\000' >&3

for

echo -ne '\000\000\000\000' >&3

and re-run the script.

With 013 your CPUs will probably oscilate between C0 and C1E states.
With 000 your CPUs will not oscilate and will be kept on C0 state (no power 
saving at all).

This might guarantee some stability to your system while you cannot
reboot servers to use acpi_idle (instead of intel_idle) module AND/OR
fix intel_idle code properly.

Looking forward to hear back from community (to confirm if, with the
script running, your CPU C-states were kept between C0 and C1E.. AND to
confirm systems became more stable).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1318551

Title:
  Kernel Panic - not syncing: An NMI occurred, please see the Integrated
  Management Log for details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1318551/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to