Return-path: Received: from ebiederm.dsl.xmission.com ([166.70.28.69]) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1IIt4p-0001yg-HB for kexec@lists.infradead.org; Wed, 08 Aug 2007 17:28:26 -0400 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: PATCH/RFC: [kdump] fix APIC shutdown sequence References: <46B73955.2080007@fujitsu-siemens.com> <20070808113834.GA26145@in.ibm.com> <46BA0651.5010708@fujitsu-siemens.com> Date: Wed, 08 Aug 2007 15:25:53 -0600 In-Reply-To: <46BA0651.5010708@fujitsu-siemens.com> (Martin Wilck's message of "Wed, 08 Aug 2007 20:07:13 +0200") Message-ID: MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: Martin Wilck Cc: Haren Myneni , "vgoyal@in.ibm.com" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" Martin Wilck writes: > Vivek Goyal wrote: > >> Got this oops while testing your patch when I did >> "echo c > /proc/sysrq-trigger" > > That's bad :-( > > ... >> Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP: > [<0000000000000000>] >> [] handle_edge_irq+0x5c/0x127 >> [] do_IRQ+0xf1/0x15f >> [] ret_from_intr+0x0/0xa >> [] __delay+0x6/0x10 >> [] crash_nmi_callback+0x4b/0x77 > > Obviously, it the oops occurs after the IRQs are re-enabled in > crash_nmi_callback(). > It appears that desc->chip->mask (in mask_ack_irq(), kernel/irq/chip.c:462) was > NULL. > I have no idea how my patch could cause that. > > This proves that re-enabling IRQs in this situation is too dangerous :-(. > I really did hundreds of dumps in different ways (echo c>/proc/sysrq-trigger, > forcing Oops and panic(), actually hititng Alt-Sysrq) and this never happened to > me. This reminds me. There is currently an issue that no has finished converting the lapic to the new generic irq way. Which can have this effect. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec