From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: kernel 3.10.1 - "NMI received for unknown reason" Date: Sun, 4 Aug 2013 15:44:12 +0300 Message-ID: <20130804124412.GN6042@redhat.com> References: <51F2BF0F.5060404@sp.consulting.lsexperts.de> <20130726183910.GC3482@redhat.com> <51F6315F.4050205@sp.consulting.lsexperts.de> <20130729091637.GA18009@redhat.com> <51F6D578.5030105@sp.consulting.lsexperts.de> <20130730053134.GG28372@redhat.com> <51F8D469.3050104@sp.consulting.lsexperts.de> <20130731092012.GC7484@redhat.com> <51FB50A6.3040504@sp.consulting.lsexperts.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Stefan Pietsch Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2625 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385Ab3HDMoS (ORCPT ); Sun, 4 Aug 2013 08:44:18 -0400 Content-Disposition: inline In-Reply-To: <51FB50A6.3040504@sp.consulting.lsexperts.de> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Aug 02, 2013 at 08:24:38AM +0200, Stefan Pietsch wrote: > On 31.07.2013 11:20, Gleb Natapov wrote: > > On Wed, Jul 31, 2013 at 11:10:01AM +0200, Stefan Pietsch wrote: > >> On 30.07.2013 07:31, Gleb Natapov wrote: > >> > >>> What happen if you run perf on your host (perf record -a)? > >>> Do you see same NMI messages? > >> > >> It seems that "perf record -a" triggers some delayed NMI messages. > >> They appear about 20 or 30 minutes after the command. This seems strange. > > Definitely strange. KVM guest is not running in parallel, correct? 20, 30 > > minutes after perf stopped running or it is running all of the time? > > No, the KVM guest ist not running in parallel. But I'm not able to > clearly reproduce the NMI messages with "perf record". > I start "perf record -a" and after some minutes I stop the recording. > > After that it seems NMI messages appear within a random period of time. > So, I cannot tell what triggers the messages. When you run KVM with coreduo cpu model it emulates PMU which basically make is perf front end. If you can reproduce the messages with perf too it probably means that the problem is not in the KVM itself. If you disabled NMI watchdog in the guest the messages may go away. Can you send your guest's dmesg when you boot it with coreduo mode? -- Gleb.