Linux kernel: Uhhuh. NMI received for unknown reason 30

by on January 16, 2008 · 3 comments· last updated at January 16, 2009

Q. I've upgrade my CentOS / RHEL (Red Hat Enterprise Linux) 4.7 on HP ProLiant DL580 G5 and it is showing unknown NMI errors in the logs:

Uhhuh. NMI received for unknown reason 30.
Dazed and confused, but trying to continue
Do you have a strange power saving mode enabled?

Uhhuh. NMI received for unknown reason 20.
Dazed and confused, but trying to continue
Do you have a strange power saving mode enabled?

How do I fix this error?
A. This is caused when the system is hanging under load. Add any one of the following to you /boot/grub.conf file:

  1. Disable the NMI watchdog by adding "nmi_watchdog=0"
  2. Disable the high precision event timer (HPET) by adding "nohpet"

Open grub.conf, type:
vi grub.conf
Make modification to kernel line as follows:

title Red Hat Enterprise Linux AS (2.6.9-78.0.8.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-78.0.8.EL ro nohpet root=/dev/VolGroup00/LogVol00 nohpet
        initrd /initrd-2.6.9-78.0.8.EL.img

Save and close the file. Reboot the server:
# reboot



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 3 comments… read them below or add one }

1 MiG December 1, 2011 at 2:35 pm

try also the “acpi=off” switch because on some cause it works better than the two ones proposed in this article

Reply

2 bob dobbs January 6, 2012 at 10:34 pm

So, you recommend turning off the nmi_watchdog, that listens for hardware throwing errors that may compromise your system? Probably not smart. Just out of curiosity why would you additionally suggest changing the kernel timer as a method to avoid a hardware device throwing kill signals? BTW, this is not caused by the system hanging under load.

http://en.wikipedia.org/wiki/Non-maskable_interrupt

even wikipedia knows better

Reply

3 Richard Parker March 21, 2012 at 9:03 pm

Well for one Virtual Machines cannot use NMI watchdog or HPET for that matter, so disabling will stop the errors and prevent possible problems.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: