You are not logged in.

#1 2016-09-16 09:59:11

Diggo
Member
Registered: 2013-05-29
Posts: 13

KVM/QEMU: NMI received for unknown reason 20 / 30

Hi folks,

since some time i really seem to get into some trouble.
Since i changed my AMD 8350 for a Intel System (i can observe this behavior on 3 Intel Machines) i regularly get NMI Events inside VMs.

It seems like this one introduced itself around the early 4.xx Kernels. Nearly all my VMs have this Issue, when some modern Kernel is used inside also. Currently I am on Kernel 4.7 - a Debian VM with 3.16 seems not affected.

Every 30 Seconds i get a fresh one, spamming my dmesg:

[ 1371.922992] Do you have a strange power saving mode enabled?
[ 1371.923659] Dazed and confused, but trying to continue
[ 1401.927377] Uhhuh. NMI received for unknown reason 30 on CPU 0.
[ 1401.928800] Do you have a strange power saving mode enabled?
[ 1401.930056] Dazed and confused, but trying to continue
[ 1431.932549] Uhhuh. NMI received for unknown reason 20 on CPU 0.
[ 1431.933579] Do you have a strange power saving mode enabled?
[ 1431.934548] Dazed and confused, but trying to continue
[ 1461.937750] Uhhuh. NMI received for unknown reason 30 on CPU 0.
[ 1461.938851] Do you have a strange power saving mode enabled?
[ 1461.939947] Dazed and confused, but trying to continue

I have googled a lot, but i can´t find useful hints for this. Just 2 people on the internet seem to have the same issue, popping up around some months after i observed this behavior (like: https://lime-technology.com/forum/index … ic=48256.0 , but I didn´t want to register there).
-> Disabling NMI Watchdog does not help
I even tried to downgrade all the CPUs to KVM-64 Models.
After a (long) while my VMs start to hang, and i suspect the NMIs causing them to crash.

Has anyone had the same stuff or any idea?

My Intel machines are mainly IvyBridges, but i´ve seen this on current Skylake Xeons, too.

Thanks in advance smile

Last edited by Diggo (2016-09-16 13:03:40)

Offline

#2 2016-10-08 10:19:04

Diggo
Member
Registered: 2013-05-29
Posts: 13

Re: KVM/QEMU: NMI received for unknown reason 20 / 30

Seems like i am having this also on a AMD machine. So i guess this must be either Kernel related (because i have not seen this before kernel versions around 4 or 3.x - i do not remember hmm) or i have some mistakes in my cofiguration. My Dom0 is a Arch-Linux, my DomU is also (made by libvirtd):

/usr/sbin/qemu-system-x86_64 -name guest=Arch-VDR,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-17-Arch-VDR/master-key.aes -machine pc-q35-2.7,accel=kvm,usb=off,vmport=off,dump-guest-core=off -cpu Opteron_G3 -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 790e2621-9c58-40e8-87d0-8fd50f86fb6f -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-17-Arch-VDR/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x0 -device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x1d.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x1d -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x1d.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x1d.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x2 -drive file=/var/lib/libvirt/images/VDR-root.img,format=raw,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.2,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/var/lib/libvirt/images/Arch-VDR.qcow2,format=qcow2,if=none,id=drive-virtio-disk1 -device virtio-blk-pci,scsi=off,bus=pci.2,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,fd=26,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:b8:6e:0d,bus=pci.2,addr=0x1 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x1 -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.2,addr=0x6 -device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x5 -msg timestamp=on

Last edited by Diggo (2016-10-08 10:20:39)

Offline

#3 2017-01-25 13:36:54

pLu
Member
Registered: 2017-01-25
Posts: 1

Re: KVM/QEMU: NMI received for unknown reason 20 / 30

I'm also seeing it on an Intel Avoton with CPU Model "host-passthrough" with kernels 4.7-4.9 but not every time. My current 'solution' is to restart the VM to get rid of it.

Offline

Board footer

Powered by FluxBB