From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 39B5B6B02A4 for ; Wed, 28 Jul 2010 23:35:21 -0400 (EDT) Received: by wwf26 with SMTP id 26so52154wwf.26 for ; Wed, 28 Jul 2010 20:35:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 29 Jul 2010 00:35:17 -0300 Message-ID: Subject: [BUG] 2.6.34 - unable to handle kernel paging request From: Felipe W Damasio Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: linux-mm@kvack.org List-ID: Hi, I sent this to lkml yesterday, but I think the bug is related to mm, so I'm hoping you guys can help me. I'm running a 2.6.34 on a I7 processor, using as a webcache machine. The machine stopped responding after a while, and after a reboot I hada few of these: Pid: 11333, comm: free Not tainted 2.6.34 #6 MB-X58I-CH19/Thurley RIP: 0010:[] =A0[] kmem_cache_alloc+0x4= 5/0x88 RSP: 0018:ffff88018804b618 =A0EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000008010 RCX: 0000000000000000 RDX: ffff8800018d8718 RSI: ffff8a101d6b40f0 RDI: ffff88021ffb5500 RBP: 0000000000000246 R08: 0000000000000000 R09: 0000000000000400 R10: 0000000000000000 R11: ffff8801b9441680 R12: ffff88021ffb5500 R13: ffffffff811d3c60 R14: 0000000000000010 R15: 0000000000000000 FS: =A00000000000000000(0000) GS:ffff8800018c0000(0000) knlGS:0000000000000= 000 CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffff8a101d6b40f0 CR3: 00000001d5ee4000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process free (pid: 11333, threadinfo ffff88018804a000, task ffff88008ce6c1a= 0) Stack: 0000000000000001 ffff88021ee21340 0000000000000000 0000000000000000 <0> ffff88021ee21000 ffffffff811d3c60 0000001000008010 0000000000000003 <0> ffff8800dc0870c0 01ffffff811dad49 ffff88021ee21030 0000000000000000 Call Trace: [] ? cfq_get_queue+0x10f/0x223 [] ? cfq_set_request+0x264/0x371 [] ? get_request+0x1e8/0x282 [] ? get_request_wait+0x20/0x140 [] ? bio_alloc_bioset+0x45/0xb7 [] ? __make_request+0x290/0x3b6 [] ? generic_make_request+0x169/0x1ca [] ? xfs_get_blocks+0x0/0xe [] ? submit_bio+0xb6/0xbd [] ? mpage_bio_submit+0x22/0x26 [] ? mpage_readpages+0xfb/0x10f [] ? xfs_get_blocks+0x0/0xe [] ? get_page_from_freelist+0x3d2/0x48b [] ? __do_page_cache_readahead+0x129/0x1c1 [] ? ra_submit+0x1c/0x20 [] ? filemap_fault+0x17d/0x2f5 [] ? __do_fault+0x53/0x3ab [] ? handle_mm_fault+0x3ea/0x7c5 [] ? vma_prio_tree_insert+0x20/0xb1 [] ? do_page_fault+0x233/0x24b [] ? page_fault+0x1f/0x30 [] ? __clear_user+0x2e/0x50 [] ? __clear_user+0x12/0x50 [] ? load_elf_binary+0x935/0x18c9 [] ? search_binary_handler+0xb7/0x246 [] ? do_execve+0x1a4/0x283 [] ? sys_execve+0x35/0x4c [] ? stub_execve+0x6a/0xc0 Code: f6 c3 10 74 05 e8 e0 c3 38 00 9c 5d fa 65 48 8b 14 25 40 d1 00 00 49 8b 04 24 48 8d 14 10 48 8b 32 48 85 f6 74 0e 49 63 44 24 18 <48> 8b 04 06 48 89 02 eb 16 49 89 d0 89 de 4c 89 e9 83 ca ff 4c RIP =A0[] kmem_cache_alloc+0x45/0x88 RSP CR2: ffff8a101d6b40f0 ---[ end trace efb68e2c3ad8be03 ]--- BUG: unable to handle kernel paging request at ffff8a101d6b40f0 IP: [] kmem_cache_alloc+0x45/0x88 PGD 0 Oops: 0000 [#6] SMP last sysfs file: /sys/devices/platform/w83627ehf.2576/in8_max CPU 3 Modules linked in: Pid: 12048, comm: bash Tainted: G =A0 =A0 =A0D =A0 =A02.6.34 #6 MB-X58I-CH1= 9/Thurley RIP: 0010:[] =A0[] kmem_cache_alloc+0x4= 5/0x88 RSP: 0018:ffff88003b7857c8 =A0EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000008010 RCX: 0000000000000000 RDX: ffff8800018d8718 RSI: ffff8a101d6b40f0 RDI: ffff88021ffb5500 RBP: 0000000000000246 R08: 0000000000000001 R09: dead000000200200 R10: dead000000100100 R11: ffff880067d04b40 R12: ffff88021ffb5500 R13: ffffffff811d3c60 R14: 0000000000000010 R15: 0000000000000000 FS: =A000007fe5e96cc6f0(0000) GS:ffff8800018c0000(0000) knlGS:0000000000000= 000 CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffff8a101d6b40f0 CR3: 00000000d9ff1000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process bash (pid: 12048, threadinfo ffff88003b784000, task ffff88003750276= 0) Stack: 0000000000000001 ffff88021ee21340 0000000000000000 0000000000000000 <0> ffff88021ee21000 ffffffff811d3c60 0000001000008010 0000000000000003 <0> ffff8800802bc5c0 01ffffff811dad49 ffff88021ee21030 0000000000000000 Call Trace: [] ? cfq_get_queue+0x10f/0x223 [] ? cfq_set_request+0x264/0x371 [] ? get_request+0x1e8/0x282 [] ? get_request_wait+0x20/0x140 [] ? bio_alloc_bioset+0x45/0xb7 [] ? __make_request+0x290/0x3b6 [] ? generic_make_request+0x169/0x1ca [] ? xfs_get_blocks+0x0/0xe [] ? submit_bio+0xb6/0xbd [] ? mpage_bio_submit+0x22/0x26 [] ? mpage_readpages+0xfb/0x10f [] ? xfs_get_blocks+0x0/0xe [] ? __do_page_cache_readahead+0x129/0x1c1 [] ? ra_submit+0x1c/0x20 [] ? generic_file_aio_read+0x1f5/0x525 [] ? xfs_file_aio_read+0x17e/0x1d0 [] ? do_sync_read+0xb0/0xf2 [] ? avc_has_perm+0x4c/0x5e [] ? selinux_bprm_set_creds+0x11f/0x207 [] ? selinux_file_permission+0x4e/0xa5 [] ? vfs_read+0xa6/0xff [] ? kernel_read+0x3d/0x4c [] ? do_execve+0x11a/0x283 [] ? sys_execve+0x35/0x4c [] ? stub_execve+0x6a/0xc0 Code: f6 c3 10 74 05 e8 e0 c3 38 00 9c 5d fa 65 48 8b 14 25 40 d1 00 00 49 8b 04 24 48 8d 14 10 48 8b 32 48 85 f6 74 0e 49 63 44 24 18 <48> 8b 04 06 48 89 02 eb 16 49 89 d0 89 de 4c 89 e9 83 ca ff 4c RIP =A0[] kmem_cache_alloc+0x45/0x88 RSP CR2: ffff8a101d6b40f0 ---[ end trace efb68e2c3ad8be08 ]--- =A0BUG: unable to handle kernel paging request at ffff8a101d6b40f0 =A0IP: [] kmem_cache_alloc+0x45/0x88 =A0PGD 0 =A0Oops: 0000 [#7] SMP =A0last sysfs file: /sys/devices/platform/w83627ehf.2576/in8_max =A0CPU 3 =A0Modules linked in: =A0Pid: 12046, comm: bash Tainted: G =A0 =A0 =A0D =A0 =A02.6.34 #6 MB-X58I-= CH19/Thurley =A0RIP: 0010:[] =A0[] kmem_cache_alloc+= 0x45/0x88 =A0RSP: 0000:ffff8800cabaf858 =A0EFLAGS: 00010086 =A0RAX: 0000000000000000 RBX: 0000000000008010 RCX: 0000000000000000 =A0RDX: ffff8800018d8718 RSI: ffff8a101d6b40f0 RDI: ffff88021ffb5500 =A0RBP: 0000000000000246 R08: 0e190f613f5f2918 R09: ffff8800cabafcd8 =A0R10: 0000000000000000 R11: ffff880067d04c80 R12: ffff88021ffb5500 =A0R13: ffffffff811d3c60 R14: 0000000000000010 R15: 0000000000000000 =A0FS: =A000007fe5e96cc6f0(0000) GS:ffff8800018c0000(0000) knlGS:0000000000= 000000 =A0CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b =A0CR2: ffff8a101d6b40f0 CR3: 00000000b871a000 CR4: 00000000000006e0 =A0DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 =A0DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 =A0Process bash (pid: 12046, threadinfo ffff8800cabae000, task ffff88005f07= 8690) =A0Stack: =A00000000000000001 ffff88021ee21340 0000000000000000 0000000000000000 =A0<0> ffff88021ee21000 ffffffff811d3c60 0000001000008010 0000000000000003 =A0<0> ffff8800802bce00 01ffffff811dad49 ffff88021ee21030 0000000000000000 =A0Call Trace: =A0[] ? cfq_get_queue+0x10f/0x223 =A0[] ? cfq_set_request+0x264/0x371 =A0[] ? get_request+0x1e8/0x282 =A0[] ? get_request_wait+0x20/0x140 =A0[] ? mempool_alloc+0x55/0x106 =A0[] ? mempool_alloc+0x55/0x106 =A0[] ? __make_request+0x290/0x3b6 =A0[] ? generic_make_request+0x169/0x1ca =A0[] ? bvec_alloc_bs+0xc1/0xdc =A0[] ? submit_bio+0xb6/0xbd =A0[] ? mpage_alloc+0x22/0x78 =A0[] ? mpage_bio_submit+0x22/0x26 =A0[] ? do_mpage_readpage+0x2e9/0x417 =A0[] ? xfs_get_blocks+0x0/0xe =A0[] ? radix_tree_insert+0x16a/0x1a8 =A0[] ? xfs_get_blocks+0x0/0xe =A0[] ? add_to_page_cache_locked+0x76/0xb3 =A0[] ? xfs_get_blocks+0x0/0xe =A0[] ? mpage_readpages+0xcc/0x10f =A0[] ? xfs_get_blocks+0x0/0xe =A0[] ? enqueue_task_fair+0x3e/0xa1 =A0[] ? enqueue_task+0x5f/0x68 =A0[] ? current_fs_time+0x1e/0x24 =A0[] ? autoremove_wake_function+0x9/0x2e =A0[] ? __do_page_cache_readahead+0x129/0x1c1 =A0[] ? ra_submit+0x1c/0x20 =A0[] ? filemap_fault+0x17d/0x2f5 =A0[] ? __do_fault+0x53/0x3ab =A0[] ? handle_mm_fault+0x3ea/0x7c5 =A0[] ? do_page_fault+0x233/0x24b =A0[] ? page_fault+0x1f/0x30 =A0Code: f6 c3 10 74 05 e8 e0 c3 38 00 9c 5d fa 65 48 8b 14 25 40 d1 00 00 49 8b 04 24 48 8d 14 10 48 8b 32 48 85 f6 74 0e 49 63 44 24 18 <48> 8b 04 06 48 89 02 eb 16 49 89 d0 89 de 4c 89 e9 83 ca ff 4c =A0RIP =A0[] kmem_cache_alloc+0x45/0x88 =A0RSP =A0CR2: ffff8a101d6b40f0 =A0---[ end trace efb68e2c3ad8be09 ]--- And a few others like these. If you want, I can send you all other bug reports on my logs... Cheers, Felipe Damasio -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org