From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Ry9XR-0001xA-5s for kexec@lists.infradead.org; Thu, 16 Feb 2012 22:10:54 +0000 Date: Thu, 16 Feb 2012 16:56:03 -0500 From: Don Zickus Subject: Re: [tip:x86/debug] x86/kdump: No need to disable ioapic/ lapic in crash path Message-ID: <20120216215603.GH9751@redhat.com> References: <20120216172735.GX9751@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Yinghai Lu Cc: linux-tip-commits@vger.kernel.org, mingo@elte.hu, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, mingo@redhat.com, "Eric W. Biederman" , hpa@zytor.com, akpm@linux-foundation.org, torvalds@linux-foundation.org, tglx@linutronix.de, vgoyal@redhat.com On Thu, Feb 16, 2012 at 01:53:29PM -0800, Yinghai Lu wrote: > On Thu, Feb 16, 2012 at 9:27 AM, Don Zickus wrote: > = > > So I think I figured it out. =A0I went through and commented out code in > > disable_local_APIC until I narrowed it down to the piece of code that > > needs to be disabled for it to work. > > > > Surprise, surprise... its LVTPC or perf! :-) =A0Actually it is the > > nmi_watchdog which uses perf. =A0My theory is NMIs are not disabled and= one > > is generated by the local apic during decompression (just bad timing) a= nd > > *splat*. > > > > Yinghai, you can probably prove this by > > > > echo 0 > /proc/sys/kernel/nmi_watchdog > > > > then do your kdump crash test. > = > yes. that will make kdump crash working. Cool. Thanks. Eric, Just let me know how you want to handle disabling NMIs in the kexec in panic shutdown case. Cheers, Don _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec