Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751884Ab1F3L2W (ORCPT ); Thu, 30 Jun 2011 07:28:22 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:55049 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551Ab1F3L2R (ORCPT ); Thu, 30 Jun 2011 07:28:17 -0400 Date: Thu, 30 Jun 2011 12:28:04 +0100 From: Russell King To: Qin Dehua Cc: linux-kernel@vger.kernel.org, santosh.shilimkar@ti.com, dan.j.williams@intel.com, neilb@suse.de Subject: Re: PROBLEM: ARM-dma-mapping-fix-for-speculative-prefetching cause OOPS Message-ID: <20110630112804.GA21481@flint.arm.linux.org.uk> References: <20110630074301.GC27959@flint.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1190 Lines: 29 On Thu, Jun 30, 2011 at 07:16:24PM +0800, Qin Dehua wrote: > Commit 2ffe2da3e follows v2.6.32, the message is from kernel build on > commit 2ffe2da3e. > > The config has CONFIG_BUG=y and CONFIG_DEBUG_BUGVERBOSE=y, but the > message is Oops, not BUG() macro, so they don't have line number. In that case, the raid5 code contains an explicit NULL pointer dereference which isn't a BUG() - the code line disassembles to: 0: ebfff1bc bl 0xffffc6f8 4: e28dd044 add sp, sp, #68 ; 0x44 8: e8bd8ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, pc} c: e3a03000 mov r3, #0 ; 0x0 10: e5833000 str r3, [r3] <=== faulting instruction So, if you're saying that's not a BUG(), then I don't know what it is and I'm afraid I can't help because the oops doesn't make any sense to me. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/