Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932226AbYCSXJJ (ORCPT ); Wed, 19 Mar 2008 19:09:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932887AbYCSVeO (ORCPT ); Wed, 19 Mar 2008 17:34:14 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:47504 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932807AbYCSVeH (ORCPT ); Wed, 19 Mar 2008 17:34:07 -0400 Date: Wed, 19 Mar 2008 22:33:43 +0100 From: Ingo Molnar To: Jeremy Fitzhardinge Cc: LKML , Ian Campbell Subject: Re: [PATCH 00 of 31] x86: unification and xen updates Message-ID: <20080319213343.GA2195@elte.hu> References: <20080319190536.GA11432@elte.hu> <20080319194648.GA20088@elte.hu> <47E17171.9090108@goop.org> <20080319200931.GA24828@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080319200931.GA24828@elte.hu> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5508 Lines: 106 kernel crash for sale ;-) bisected it down to: | commit aaa7d17e66bc0990d7bee8db5d37e12ae087e206 | Author: Jeremy Fitzhardinge | Date: Mon Mar 17 16:37:16 2008 -0700 | | x86: only enable interrupts when kernel state has been set up the bug is that you leak irqs off state into C code... which crashes in the block layer. Crash log below. For now i've disabled this patch. I suspect you can reproduce this by running a DEBUG_PAGEALLOC+PROVE_LOCKING kernel. Ingo ------------> [ 66.336389] PM: Adding info for No Bus:vcsa1 [ 66.344927] device: 'vcs1': device_unregister [ 66.348200] PM: Removing info for No Bus:vcs1 [ 66.353463] device: 'vcs1': device_create_release [ 66.356305] device: 'vcsa1': device_unregister [ 66.360244] PM: Removing info for No Bus:vcsa1 [ 66.365345] device: 'vcsa1': device_create_release [ 66.392837] BUG: sleeping function called from invalid context at include/linux/pagemap.h:169 [ 66.396173] in_atomic():0, irqs_disabled():1 [ 66.396173] 1 lock held by init/1772: [ 66.396173] #0: (&mm->mmap_sem){....}, at: [] do_page_fault+0x93/0x7c0 [ 66.396173] Pid: 1772, comm: init Not tainted 2.6.25-rc6-x86-latest.git #11 [ 66.396173] [] __might_sleep+0xc2/0xe0 [ 66.396173] [] __do_fault+0x3f6/0x490 [ 66.396173] [] handle_mm_fault+0x151/0x570 [ 66.396173] [] ? down_read_trylock+0x56/0x60 [ 66.396173] [] do_page_fault+0xf1/0x7c0 [ 66.396173] [] ? do_page_fault+0x0/0x7c0 [ 66.396173] [] ? error_code+0x6a/0x70 [ 66.396173] [] ? __put_user_4+0x12/0x18 [ 66.396173] [] ? do_page_fault+0x0/0x7c0 [ 66.396173] [] error_code+0x6a/0x70 [ 66.396173] ======================= [ 66.397045] device: 'vcs1': device_add [ 66.400497] PM: Adding info for No Bus:vcs1 [ 66.411267] device: 'vcsa1': device_add [ 66.412445] PM: Adding info for No Bus:vcsa1 [ 66.481137] ------------[ cut here ]------------ [ 66.484179] kernel BUG at fs/buffer.c:1274! [ 66.484179] invalid opcode: 0000 [#1] PREEMPT DEBUG_PAGEALLOC [ 66.484179] [ 66.484179] Pid: 1775, comm: rc.sysinit Not tainted (2.6.25-rc6-x86-latest.git #11) [ 66.484179] EIP: 0060:[] EFLAGS: 00010046 CPU: 0 [ 66.484179] EIP is at __find_get_block+0x185/0x1b0 [ 66.484179] EAX: 00000096 EBX: 00000000 ECX: 00000000 EDX: 00212800 [ 66.484179] ESI: 00212800 EDI: 00000000 EBP: f71a6b40 ESP: f71a6b0c [ 66.484179] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 66.484179] Process rc.sysinit (pid: 1775, ti=f71a6000 task=f7190000 task.ti=f71a6000) [ 66.484179] Stack: f7802300 c0141f68 c050595b 00000000 00000280 00000000 f7190000 f71a6b48 [ 66.484179] 0000030f 00000000 00000000 00000000 f784b424 f71a6ba8 c0197a80 00001000 [ 66.484179] c0141f68 c0a965a0 f7693ae4 00000286 00212800 00000000 f7802300 f7190000 [ 66.484179] Call Trace: [ 66.484179] [] ? __lock_acquire+0x168/0x730 [ 66.484179] [] ? ata_bmdma_start+0x1b/0x20 [ 66.484179] [] ? __getblk+0x20/0x2b0 [ 66.484179] [] ? __lock_acquire+0x168/0x730 [ 66.484179] [] ? ext3_getblk+0xb4/0x1c0 [ 66.484179] [] ? __generic_unplug_device+0x1d/0x30 [ 66.484179] [] ? ext3_bread+0x1a/0x80 [ 66.484179] [] ? dx_probe+0x40/0x2f0 [ 66.484179] [] ? common_interrupt+0x23/0x28 [ 66.484179] [] ? ext3_find_entry+0x252/0x680 [ 66.484179] [] ? _spin_unlock_irq+0x20/0x40 [ 66.484179] [] ? check_bytes_and_report+0x21/0xc0 [ 66.484179] [] ? __lock_acquire+0x168/0x730 [ 66.484179] [] ? ext3_lookup+0x3a/0xd0 [ 66.484179] [] ? do_lookup+0x138/0x180 [ 66.484179] [] ? __link_path_walk+0x6bc/0xd00 [ 66.484179] [] ? check_bytes_and_report+0x21/0xc0 [ 66.484179] [] ? do_IRQ+0x81/0xc0 [ 66.484179] [] ? link_path_walk+0x40/0xa0 [ 66.484179] [] ? _spin_unlock+0x1d/0x40 [ 66.484179] [] ? get_unused_fd_flags+0xc0/0xe0 [ 66.484179] [] ? path_walk+0x18/0x20 [ 66.484179] [] ? do_path_lookup+0x6e/0x180 [ 66.484179] [] ? __path_lookup_intent_open+0x4d/0x90 [ 66.484179] [] ? path_lookup_open+0x1f/0x30 [ 66.484179] [] ? open_namei+0x5b/0x5e0 [ 66.484179] [] ? __lock_acquire+0x168/0x730 [ 66.484179] [] ? do_filp_open+0x2c/0x50 [ 66.484179] [] ? _spin_unlock+0x1d/0x40 [ 66.484179] [] ? get_unused_fd_flags+0xc0/0xe0 [ 66.484179] [] ? do_sys_open+0x45/0x80 [ 66.484179] [] ? sys_open+0x1c/0x20 [ 66.484179] [] ? syscall_call+0x7/0xb [ 66.484179] ======================= [ 66.484179] Code: 40 08 04 75 3b 8b 7d d0 85 ff 0f 84 30 ff ff ff 8b 45 d0 e8 3e f4 ff ff e9 23 ff ff ff 89 d8 e8 32 f4 ff ff 89 f6 e9 78 ff ff ff <0f> 0b eb fe 8d b4 26 00 00 00 00 e8 db 57 69 00 e9 fc fe ff ff [ 66.484179] EIP: [] __find_get_block+0x185/0x1b0 SS:ESP 0068:f71a6b0c [ 66.484179] ---[ end trace f33d03609d276480 ]--- [ 66.493421] device: 'vcs1': device_unregister -- 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/