From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753610Ab2BPVxc (ORCPT ); Thu, 16 Feb 2012 16:53:32 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:53875 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752127Ab2BPVxa convert rfc822-to-8bit (ORCPT ); Thu, 16 Feb 2012 16:53:30 -0500 MIME-Version: 1.0 In-Reply-To: <20120216172735.GX9751@redhat.com> References: <20120216172735.GX9751@redhat.com> Date: Thu, 16 Feb 2012 13:53:29 -0800 X-Google-Sender-Auth: cI5N0PKB5GjKeVGwwrZb3JY8w5w Message-ID: Subject: Re: [tip:x86/debug] x86/kdump: No need to disable ioapic/ lapic in crash path From: Yinghai Lu To: Don Zickus Cc: "Eric W. Biederman" , linux-kernel@vger.kernel.org, mingo@redhat.com, hpa@zytor.com, torvalds@linux-foundation.org, kexec@lists.infradead.org, vgoyal@redhat.com, akpm@linux-foundation.org, tglx@linutronix.de, mingo@elte.hu, linux-tip-commits@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 16, 2012 at 9:27 AM, Don Zickus wrote: > So I think I figured it out.  I 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! :-)  Actually it is the > nmi_watchdog which uses perf.  My theory is NMIs are not disabled and one > is generated by the local apic during decompression (just bad timing) and > *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. Yinghai