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 ESMTP id 8D80C6B0184 for ; Thu, 14 May 2009 04:23:02 -0400 (EDT) Subject: Re: kernel BUG at mm/slqb.c:1411! From: Pekka Enberg In-Reply-To: <20090513163826.7232.A69D9226@jp.fujitsu.com> References: <20090513163826.7232.A69D9226@jp.fujitsu.com> Date: Thu, 14 May 2009 11:23:20 +0300 Message-Id: <1242289400.21646.2.camel@penberg-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: linux-mm , LKML , Nick Piggin List-ID: On Wed, 2009-05-13 at 16:42 +0900, KOSAKI Motohiro wrote: > Todays test (repeated large file copy) hit kernel panic. mm/slqb.c:1411! mean Can you post your .config, please? I assume this is with CONFIG_NUMA? > > ---------------------------------------------------------------- > static noinline void *__slab_alloc_page(struct kmem_cache *s, > gfp_t gfpflags, int node) > { > (snip) > > } else { > #ifdef CONFIG_NUMA > struct kmem_cache_node *n; > > n = s->node_slab[slqb_page_to_nid(page)]; > l = &n->list; > page->list = l; > > spin_lock(&n->list_lock); > l->nr_slabs++; > l->nr_partial++; > list_add(&page->lru, &l->partial); > slqb_stat_inc(l, ALLOC); > slqb_stat_inc(l, ALLOC_SLAB_NEW); > object = __cache_list_get_page(s, l); > spin_unlock(&n->list_lock); > #endif > } > VM_BUG_ON(!object); // here > return object; > } > ---------------------------------------------------------------- > > > Who have any suggestions? > > > > ------------------------------------------------------------------- > kernel BUG at mm/slqb.c:1411! > pdflush[324]: bugcheck! 0 [1] > Modules linked in: binfmt_misc nls_iso8859_1 nls_cp437 dm_multipath scsi_dh fan sg processor button container thermal e100 mii dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod lpfc mptspi mptscsih mptbase ehci_hcd ohci_hcd uhci_hcd usbcore > > Pid: 324, CPU 1, comm: pdflush > psr : 00001010085a2010 ifs : 8000000000000916 ip : [] Not tainted (2.6.30-rc4-mm1-g384655e-dirty) > ip is at __slab_alloc_page+0x800/0x9e0 > unat: 0000000000000000 pfs : 0000000000000916 rsc : 0000000000000003 > rnat: 0000000000000001 bsps: a000000100d5b880 pr : 005599aa55559599 > ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70433f > csd : 0000000000000000 ssd : 0000000000000000 > b0 : a0000001001bb960 b6 : a0000001005a78e0 b7 : a00000010048bac0 > f6 : 1003e000005cef074293b f7 : 1003e0000000000000190 > f8 : 1003e000005cef07427ab f9 : 1003e0000000000000001 > f10 : 1003e0000000000000100 f11 : 1003e0000000000000100 > r1 : a000000100f52d40 r2 : a000000100d263a0 r3 : a000000100d53708 > r8 : 0000000000000021 r9 : 0000000000000001 r10 : e000000001110000 > r11 : ffffffffffff0420 r12 : e0000040c1ccfc20 r13 : e0000040c1cc0000 > r14 : a000000100d263b8 r15 : e00001600b91fe18 r16 : ffffffffffff5538 > r17 : 00000000dead4ead r18 : a000000100cd222c r19 : a000000100d5b850 > r20 : a0000001005a78e0 r21 : a000000101144ae0 r22 : 0000000000099a63 > r23 : 00000000000fffff r24 : 0000000000100000 r25 : a0000001009e7a68 > r26 : a00000010048bb60 r27 : 0000000000000100 r28 : 0000000000000001 > r29 : e0000040c1cc0de4 r30 : a00000010048bac0 r31 : 0000000000000000 > > Call Trace: > [] show_stack+0x80/0xa0 > sp=e0000040c1ccf7f0 bsp=e0000040c1cc1730 > [] show_regs+0x890/0x8c0 > sp=e0000040c1ccf9c0 bsp=e0000040c1cc16d8 > [] die+0x1b0/0x2e0 > sp=e0000040c1ccf9c0 bsp=e0000040c1cc1690 > [] die_if_kernel+0x50/0x80 > sp=e0000040c1ccf9c0 bsp=e0000040c1cc1660 > [] ia64_bad_break+0x4b0/0x700 > sp=e0000040c1ccf9c0 bsp=e0000040c1cc1638 > [] ia64_native_leave_kernel+0x0/0x270 > sp=e0000040c1ccfa50 bsp=e0000040c1cc1638 > [] __slab_alloc_page+0x800/0x9e0 > sp=e0000040c1ccfc20 bsp=e0000040c1cc1580 > [] kmem_cache_alloc+0x510/0x700 > sp=e0000040c1ccfc20 bsp=e0000040c1cc14f0 > [] mempool_alloc_slab+0x30/0x60 > sp=e0000040c1ccfc20 bsp=e0000040c1cc14c8 > [] mempool_alloc+0xc0/0x360 > sp=e0000040c1ccfc20 bsp=e0000040c1cc1440 > [] bio_alloc_bioset+0x50/0x240 > sp=e0000040c1ccfc50 bsp=e0000040c1cc13f0 > [] bio_alloc+0x30/0x80 > sp=e0000040c1ccfc60 bsp=e0000040c1cc13c8 > [] submit_bh+0x130/0x3e0 > sp=e0000040c1ccfc60 bsp=e0000040c1cc1398 > [] __block_write_full_page+0x510/0xbc0 > sp=e0000040c1ccfc60 bsp=e0000040c1cc1310 > [] block_write_full_page_endio+0x1b0/0x220 > sp=e0000040c1ccfc60 bsp=e0000040c1cc12d0 > [] block_write_full_page+0x30/0x60 > sp=e0000040c1ccfc60 bsp=e0000040c1cc12a0 > [] ext3_writeback_writepage+0x190/0x380 > sp=e0000040c1ccfc60 bsp=e0000040c1cc1260 > [] __writepage+0x50/0x1a0 > sp=e0000040c1ccfc60 bsp=e0000040c1cc1230 > [] write_cache_pages+0x530/0x940 > sp=e0000040c1ccfc60 bsp=e0000040c1cc1140 > [] generic_writepages+0x60/0x80 > sp=e0000040c1ccfcf0 bsp=e0000040c1cc1118 > [] do_writepages+0x110/0x140 > sp=e0000040c1ccfcf0 bsp=e0000040c1cc10e8 > [] __writeback_single_inode+0x160/0x9a0 > sp=e0000040c1ccfcf0 bsp=e0000040c1cc1088 > [] generic_sync_sb_inodes+0x3c0/0xa00 > sp=e0000040c1ccfd30 bsp=e0000040c1cc1018 > [] sync_sb_inodes+0xa0/0xc0 > sp=e0000040c1ccfd30 bsp=e0000040c1cc0fe8 > [] writeback_inodes+0x1e0/0x280 > sp=e0000040c1ccfd30 bsp=e0000040c1cc0f98 > [] background_writeout+0x160/0x240 > sp=e0000040c1ccfd30 bsp=e0000040c1cc0f30 > [] pdflush+0x290/0x500 > sp=e0000040c1ccfd80 bsp=e0000040c1cc0ec0 > [] kthread+0x100/0x140 > sp=e0000040c1ccfdf0 bsp=e0000040c1cc0e88 > [] kernel_thread_helper+0xd0/0x100 > sp=e0000040c1ccfe30 bsp=e0000040c1cc0e60 > [] start_kernel_thread+0x20/0x40 > sp=e0000040c1ccfe30 bsp=e0000040c1cc0e60 > Disabling lock debugging due to kernel taint > Kernel panic - not syncing: Fatal exception > Rebooting in 1 seconds.. > > > > > -- 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