Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759253AbZDUSpx (ORCPT ); Tue, 21 Apr 2009 14:45:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758860AbZDUSnR (ORCPT ); Tue, 21 Apr 2009 14:43:17 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:50839 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758854AbZDUSnO (ORCPT ); Tue, 21 Apr 2009 14:43:14 -0400 Date: Wed, 22 Apr 2009 00:12:23 +0530 From: Balbir Singh To: Andrew Morton Cc: "linux-kernel@vger.kernel.org" , Wolfram Strepp Subject: [BUG] rbtree bug with mmotm 2009-04-14-17-24 Message-ID: <20090421184223.GP19637@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline 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: 3854 Lines: 76 Hi, Andrew, I did a quick check on lkml to see if someone reported this issue already, I could not find any reports. I am beginning to see several of these on my machine. I saw recent refactoring of rbtrees, I've cc'ed Wolfram Strepp. BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 IP: [] rb_erase+0x11f/0x2a7 PGD 77d1c067 PUD 77c96067 PMD 0 Oops: 0000 [#1] SMP last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map CPU 2 Modules linked in: coretemp hwmon kvm_intel kvm usbhid rtc_cmos rtc_core rtc_lib usb_storage ata_piix libata mptsas mptscsih mptbase scsi_transport_sas uhci_hcd ohci_hcd ehci_hcd usbcore Pid: 5379, comm: make Not tainted 2.6.30-rc1-mm1-dirty #163 IBM System x3250 -[436482A]- RIP: 0010:[] [] rb_erase+0x11f/0x2a7 RSP: 0018:ffff8800640f7838 EFLAGS: 00010006 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88007f1d3bf8 RDX: ffff88007f1d3bf8 RSI: ffff88007e0208c8 RDI: 0000000000000000 RBP: ffff8800640f7848 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88007dcbb480 R11: ffff88006408e978 R12: ffff88007e0208c8 R13: ffff88007e020890 R14: ffff88007e0208c8 R15: 0000000000000010 FS: 00002ae490d5c6f0(0000) GS:ffffc20000400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000010 CR3: 0000000077d8a000 CR4: 00000000000026e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process make (pid: 5379, threadinfo ffff8800640f6000, task ffff880077cc6630) Stack: ffff88007e0403d0 ffff88007e0403d0 ffff8800640f7868 ffffffff803b21ea ffff88007e020890 ffff88007e0403a0 ffff8800640f78a8 ffffffff803b2237 000000057e0208c8 ffff88007e0403a0 ffff88007e0403a0 ffff88007e020890 Call Trace: [] rb_erase_init+0x11/0x21 [] cfq_prio_tree_add+0x3d/0xab [] cfq_resort_rr_list+0x25/0x2a [] __cfq_slice_expired+0x54/0x94 [] cfq_insert_request+0x295/0x2d0 [] elv_insert+0x10f/0x1cd [] __elv_add_request+0x96/0x9e [] __make_request+0x3c2/0x402 [] generic_make_request+0x293/0x32d [] ? trace_hardirqs_on+0xd/0xf [] ? ext3_get_block+0x0/0xe5 [] submit_bio+0xc7/0xd0 [] mpage_bio_submit+0x22/0x26 [] mpage_readpages+0xe2/0xf6 [] ? ext3_get_block+0x0/0xe5 [] ext3_readpages+0x1a/0x1c [] __do_page_cache_readahead+0x158/0x1fa [] ? __do_page_cache_readahead+0x6c/0x1fa [] ra_submit+0x1c/0x20 [] ondemand_readahead+0x223/0x236 [] page_cache_async_readahead+0x78/0x84 [] generic_file_aio_read+0x295/0x5c8 [] do_sync_read+0xe2/0x126 [] ? __lock_acquire+0x76c/0x7d7 [] ? autoremove_wake_function+0x0/0x38 [] ? dnotify_parent+0x6c/0x74 [] vfs_read+0xab/0x154 [] sys_read+0x47/0x70 [] system_call_fastpath+0x16/0x1b Code: 89 01 48 85 d2 74 12 48 39 7a 10 75 06 48 89 4a 10 eb 0a 48 89 4a 08 eb 04 49 89 0c 24 41 ff c8 0f 85 88 01 00 00 e9 4b 01 00 00 <48> 8b 7b 10 48 39 cf 0f 85 a1 00 00 00 48 8b 7b 08 48 8b 07 a8 RIP [] rb_erase+0x11f/0x2a7 RSP CR2: 0000000000000010 -- Balbir -- 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/