Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758795AbZABR7P (ORCPT ); Fri, 2 Jan 2009 12:59:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757443AbZABR66 (ORCPT ); Fri, 2 Jan 2009 12:58:58 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:45509 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757125AbZABR65 (ORCPT ); Fri, 2 Jan 2009 12:58:57 -0500 Date: Fri, 2 Jan 2009 09:58:53 -0800 From: "Paul E. McKenney" To: Eric Sesterhenn Cc: linux-kernel@vger.kernel.org, josh@freedesktop.org, dipankar@in.ibm.com, kamalesh@linux.vnet.ibm.com Subject: Re: [BUG] NULL pointer deref with rcutorture Message-ID: <20090102175853.GC6842@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20090102111819.GC6088@alice> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090102111819.GC6088@alice> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3658 Lines: 76 On Fri, Jan 02, 2009 at 12:18:19PM +0100, Eric Sesterhenn wrote: > Hi, > > modprobing rcutorture and removing it again gives me the following oops: This looks similar to something that Kamalesh ran into a few weeks ago. Kamalesh, did the fixes for that make it to 2.6.28? Thanx, Paul > [ 122.873859] rcu-torture:--- Start of test: nreaders=2 nfakewriters=4 stat_interval=0 verbose=0 test_no_idle_hz=0 shuffle_interval=3 stutter=5 irqreader=1 > [ 162.987060] BUG: unable to handle kernel NULL pointer dereference at 00000000 > [ 162.987194] IP: [<00000000>] 0x0 > [ 162.987268] *pde = 00000000 > [ 162.987339] Oops: 0000 [#1] PREEMPT DEBUG_PAGEALLOC > [ 162.987499] last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/resource > [ 162.987534] Modules linked in: [last unloaded: rcutorture] > [ 162.987667] > [ 162.987699] Pid: 5091, comm: udevd Tainted: G W (2.6.28-04980-gb58602a-dirty #154) System Name > [ 162.987732] EIP: 0060:[<00000000>] EFLAGS: 00010246 CPU: 0 > [ 162.987761] EIP is at 0x0 > [ 162.987849] EAX: d0afcbf0 EBX: 00000000 ECX: c0160f5a EDX: 00000006 > [ 162.987880] ESI: d0afcbf0 EDI: 0000001c EBP: c0b01fe0 ESP: c0b01fd4 > [ 162.987910] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 > [ 162.987941] Process udevd (pid: 5091, ti=c0b01000 task=c8cc4100 task.ti=c8d20000) > [ 162.988027] Stack: > [ 162.988027] c0160f61 00000200 00000001 c0b01ff8 c012a723 0000000a c8d20e4c 00000046 > [ 162.988027] c012a6b4 c8d20e5c c01042ce > [ 162.988027] Call Trace: > [ 162.988027] [] ? rcu_process_callbacks+0x65/0x79 > [ 162.988027] [] ? __do_softirq+0x6f/0xf6 > [ 162.988027] [] ? __do_softirq+0x0/0xf6 > [ 162.988027] <0> [] ? irq_exit+0x40/0x7c > [ 162.988027] [] ? smp_apic_timer_interrupt+0x68/0x73 > [ 162.988027] [] ? apic_timer_interrupt+0x2d/0x34 > [ 162.988027] [] ? unmap_vmas+0x308/0x47f > [ 162.988027] [] ? unmap_vmas+0x339/0x47f > [ 162.988027] [] ? trace_hardirqs_on_caller+0x17/0x15a > [ 162.988027] [] ? exit_mmap+0x83/0x104 > [ 162.988027] [] ? mmput+0x39/0x89 > [ 162.988027] [] ? exit_mm+0xc3/0xcb > [ 162.988027] [] ? do_exit+0x199/0x6d5 > [ 162.988027] [] ? trace_hardirqs_on_thunk+0xc/0x10 > [ 162.988027] [] ? do_group_exit+0x62/0x88 > [ 162.988027] [] ? sys_exit_group+0x14/0x16 > [ 162.988027] [] ? sysenter_do_call+0x12/0x31 > [ 162.988027] Code: Bad EIP value. > [ 162.988027] EIP: [<00000000>] 0x0 SS:ESP 0068:c0b01fd4 > [ 162.990524] ---[ end trace 4eaa2a86a8e2da22 ]--- > [ 162.990555] Kernel panic - not syncing: Fatal exception in interrupt > > > Kernel is current -git with a unrelated > networking patch (http://marc.info/?l=linux-netdev&m=123088641023335&w=2) > > root@whiterabbit:/usr/src/linux# grep RCU .config > # CONFIG_CLASSIC_RCU is not set > # CONFIG_TREE_RCU is not set > CONFIG_PREEMPT_RCU=y > CONFIG_RCU_TRACE=y > # CONFIG_TREE_RCU_TRACE is not set > CONFIG_PREEMPT_RCU_TRACE=y > CONFIG_RCU_TORTURE_TEST=m > > Greetings, Eric > -- > 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/ -- 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/