Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Debian 8.4 VM: Uhhuh. NMI received for unknown reason 20 on CPU

Featured Replies

Same issue, running Debian 8. I've tried changing cores, and also tried changing CPU from passthrough to QEMU.

 

I've also tried changing the CPU governing mode from "Power Save" to "Performance" (using the Tips & Tweaks plugin).

 

No luck. I keep getting the error no matter what I do. Hope someone has an idea how to fix this!

  • 1 month later...

This has been driving me insane.

 

I read on another forum that modifying the xml and changing the clock will stop the errors:

<timer name='kvmclock' present='no'/>

 

I've added this to one of my debian vms and it's been running for 2hrs without any NMI errors, previously coming up every couple of minutes.

Edited by nicr4wks

I was having the same issue with Ryzen and Fedora 25 guest for the last couple days.  Symptoms similar to what others have experienced in this thread.  Went into host BIOS and  Disabled Cool n Quiet, enabled SR-IOV.  In Unraid I switched to CPU scaling governor Performance.  Have not had the issue all day.

Edited by Soulive

  • 5 weeks later...

Hi,

 

Since a few days I'm running BM unraid and no longer running unRAID in a VM on ESXi and unfortunately I'm seeing the same style of messages.

 

Message from syslogd@host at Sep 19 21:07:24 ...
 kernel:Uhhuh. NMI received for unknown reason 21 on CPU 0.

Message from syslogd@host at Sep 19 21:07:24 ...
 kernel:Do you have a strange power saving mode enabled?

Message from syslogd@host at Sep 19 21:07:24 ...
 kernel:Dazed and confused, but trying to continue

 

These messages seem to start exactly 10min after a 'warm' reboot of a centos 7 VM.  If I do a cold reboot, I do not get the messages.

 

I've already tried the following changes to the VM, but none helped.

 

- setting acpi_pcm=off
- nmi_watchdog=0
- chaning pc-q35-2.7 to pc-q35-2

 

unRAID hw is:

- supermicro x9scm-f

- xeon E3 1230

- 32GB ECC

- 2x m1015 in it mode

 

 

4 hours ago, themaxxz said:

Hi,

 

Since a few days I'm running BM unraid and no longer running unRAID in a VM on ESXi and unfortunately I'm seeing the same style of messages.

 

On 8/21/2017 at 4:35 PM, nicr4wks said:

I read on another forum that modifying the xml and changing the clock will stop the errors:

<timer name='kvmclock' present='no'/>

 

I've added this to one of my debian vms and it's been running for 2hrs without any NMI errors, previously coming up every couple of minutes.

 

8 hours ago, nicr4wks said:

 

 

Thanks for the tip, but I just tested this solution and it does not work for me.

Just to be sure that everybody understands what I mean with 'warm' and 'cold' reboot.

A 'warm' reboot is when I do a 'reboot' from inside the OS, without stopping the VM container.

A 'cold' reboot is the first boot after starting the VM container.

 

So I only have the issue when I 'warm' reboot my VM.

And the messages start after the system is booted for about 588 seconds and repeat about every 30 seconds.

 

But I do think the issue is indeed related to the 'clock' or 'timer' because I can consistently reproduce the issue as well as the consistent interval of the messages which in my opinion rules out a hardware issue.

 

Also see http://m.blog.itpub.net/35489/viewspace-84530/

"These messages occur because the kernel ignores the Advanced Configuration and Power Interface (ACPI) timer override for the system timer"

 

So adding to my previous list of already tried and failed tweaks:

- adding boot option clocksource=acpi_pm
- adding boot option acpi=off => results in unbootable VM
- adding <timer name='kvmclock' present='no'/> in kvm.xml

  • 1 month later...

Can confirm the same thing, apparently I had never rebooted a linux VM until today.

Adding the kvmclock line will stop the errors on a cold boot VM, if the VM is rebooted from within the OS (shutdown -r) then the errors return on boot.

 

My work around is to shutdown the guest then start the KVM back up.

  • 2 weeks later...
On 2017-10-22 at 6:36 PM, nicr4wks said:

Can confirm the same thing, apparently I had never rebooted a linux VM until today.

Adding the kvmclock line will stop the errors on a cold boot VM, if the VM is rebooted from within the OS (shutdown -r) then the errors return on boot.

 

My work around is to shutdown the guest then start the KVM back up.

 

I confirmed this works the same for me too:

- add <timer name='kvmclock' present='no'/> to the XML

- cold boot the VM

- future restarts require a hard shutdown

  • 2 months later...

I had this issue. For a short time i had solved it by assigning it a specific number of cores. Sorry to say i don't remember how many or which ones. But the issue for me is now resolved completely, despite the cores i select, since  i upgraded from v6.3.5 to v6.4.0.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.