Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934112AbXEVLBk (ORCPT ); Tue, 22 May 2007 07:01:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758464AbXEVLBd (ORCPT ); Tue, 22 May 2007 07:01:33 -0400 Received: from web52608.mail.re2.yahoo.com ([206.190.48.211]:30364 "HELO web52608.mail.re2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757476AbXEVLBc (ORCPT ); Tue, 22 May 2007 07:01:32 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=mzvG6EosfGlf0cxLuj0wBFml3tdw8n720ubzxpmTi495TiH7DndfhqsPwwHiitmTIPKcVxQfuM9haZxo2kfXF5MV4FCbyCIgX5qwuqRp7HPIkgl75SyXJ2OZ4yQJ0PD3TL6zrswrAPUVk/XOnjE4Y3ChBGAuUu1zAeKi35xrc7k=; X-YMail-OSG: y9bxu1MVM1nYFTH3YRiyjzJZTRYd7Y2ci8xwdUEvFsG457mW60N3ZZv6JQ9EBEaaVZ_OJVWtrfHxvkBadu4yMuYvPkMs6Q8JmvkipfsBo166bOAT8YCwENAxtvhr Date: Tue, 22 May 2007 21:01:31 +1000 (EST) From: Srihari Vijayaraghavan Subject: Re: [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub To: Ingo Molnar Cc: Christoph Lameter , Hugh Dickins , Oliver Xymoron , Andrew Morton , Jens Axboe , linux-kernel@vger.kernel.org In-Reply-To: <20070522092439.GA19895@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <559665.2852.qm@web52608.mail.re2.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3105 Lines: 82 --- Ingo Molnar wrote: > * Srihari Vijayaraghavan wrote: > > Yup, with CONFIG_SMP=n, I'm unable to reproduce the problem. It's > > quite stable actually (having completed a dozen kernel compile > > sessions so far). [...] > could you enable CONFIG_PROVE_LOCKING - does it spit out any warning > into the syslog? Compiled slub with SMP & CONFIG_PROVE_LOCKING. No luck. It still hangs solid after the second spinlock lockup call trace. Here's the relevant sections of the kernel logs: ... Freeing unused kernel memory: 228k freed BUG: spinlock bad magic on CPU#1, init/1 lock: ffff81011f5f1100, .magic: ffff8101, .owner: /-1, .owner_cpu: -1 Call Trace: [] _raw_spin_lock+0x22/0xf6 [] vma_adjust+0x21c/0x446 [] vma_adjust+0x21c/0x446 [] vma_merge+0x10c/0x195 [] do_mmap_pgoff+0x3f5/0x794 [] _spin_unlock_irq+0x24/0x27 [] sys_mmap+0xe5/0x110 [] system_call+0x7e/0x83 ... PM: Adding info for No Bus:vcsa1 BUG: spinlock lockup on CPU#1, hostname/369, ffff81011f5f1fc0 Call Trace: [] _raw_spin_lock+0xcf/0xf6 [] anon_vma_unlink+0x1c/0x68 [] anon_vma_unlink+0x1c/0x68 [] free_pgtables+0x69/0xc4 [] exit_mmap+0x91/0xeb [] mmput+0x2c/0x9f [] do_exit+0x22e/0x82e [] sys_exit_group+0x0/0xe [] system_call+0x7e/0x83 Surprisingly, with CONFIG_SMP=n, CONFIG_PROVE_LOCKING produces this with slub (then hangs solid): Freeing unused kernel memory: 188k freed BUG: spinlock lockup on CPU#0, init/1, ffff81011e9d3160 Call Trace: [] _raw_spin_lock+0xca/0xe8 [] vma_adjust+0x218/0x442 [] vma_adjust+0x218/0x442 [] vma_merge+0x10c/0x195 [] do_mmap_pgoff+0x3f5/0x790 [] _spin_unlock_irq+0x24/0x27 [] sys_mmap+0xe5/0x110 [] system_call+0x7e/0x83 To recap: 1. No problems with slub on CONFIG_SMP=n & CONFIG_PROVE_LOCKING=n 2. Problem with slub on CONFIG_SMP=n & CONFIG_PROVE_LOCKING=y (perhaps a. some locking issue when slub is activated or b. something is wrong with 'prove locking' mechanism when slub is activated or c. something else I don't see) 3. Problem with slub on CONFIG_SMP=y (even without CONFIG_PROVE_LOCKING=y) Thanks ___________________________________________________________________________________ How would you spend $50,000 to create a more sustainable environment in Australia? Go to Yahoo!7 Answers and share your idea. http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html - 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/