From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759985AbYHTP2h (ORCPT ); Wed, 20 Aug 2008 11:28:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754365AbYHTP2Z (ORCPT ); Wed, 20 Aug 2008 11:28:25 -0400 Received: from py-out-1112.google.com ([64.233.166.176]:26532 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759913AbYHTP2W (ORCPT ); Wed, 20 Aug 2008 11:28:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=R6n+YBSj8v+FvElbnsySn2l2GKfhM5K6ek1rdqB/G/ge+RT1nuNgKaZ/iYhI5MWiFm dnUlXVB1C93u2KDwz8oYfRp1mmfGfdVhjBeeVlSgILLxbyFKm8jLpZfuaBtk6RdPY+Uw DTGeFKAonl+tn7HsN8LdEigTbotxypnyI9iV4= Message-ID: <19f34abd0808200828o6496cbeap75b7242845e96ef3@mail.gmail.com> Date: Wed, 20 Aug 2008 17:28:21 +0200 From: "Vegard Nossum" To: "the arch/x86 maintainers" Subject: latest -git: BUG: unable to handle kernel paging request (numaq_tsc_disable) Cc: "Linux Kernel Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This actually hardlocked my machine and I had to add an extra patch to get any output at all. Base version is latest git, commit 1fca25427482387689fa27594c992a961d98768f. Excerpt from config: CONFIG_X86_NUMAQ=y CONFIG_X86_SUMMIT_NUMA=y CONFIG_NUMA=y # CONFIG_ACPI_NUMA is not set My machine is of course no NUMA, just a plain P4 with HT. Crash happens when I try to online CPU1. Booting processor 1/1 ip 6000 <1>BUG: unable to handle kernel paging request at c08a45f0 <1>IP: [] numaq_tsc_disable+0x0/0x40 *pdpt = 0000000000a11001 *pde = 0000000036994163 *pte = 00000000008a4162 <0>Oops: 0010 [#1] PREEMPT SMP DEBUG_PAGEALLOC Pid: 0, comm: swapper Not tainted (2.6.27-rc3-00466-gbbcc4f1 #17) EIP: 0060:[] EFLAGS: 00010002 CPU: 1 EIP is at numaq_tsc_disable+0x0/0x40 EAX: 00000f00 EBX: f6889f08 ECX: 00000000 EDX: 00000f60 ESI: f6889f0c EDI: c12cef80 EBP: f6889f1c ESP: f6889ed4 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 <0>Process swapper (pid: 0, ti=f6888000 task=f686e800 task.ti=f6888000) <0>Stack: c0678676 f6889ef4 f6889f00 f6889ef0 00000005 22052489 00000000 0000000 0 <0> 00000000 00000800 00000000 00000000 0000001f 01c0003f 00000000 f6889f6 c <0> c12cef80 f6889f68 f6889f84 c067632f 0000001b c015b77d 00000000 0000000 0 <0>Call Trace: <0> [] ? init_intel+0x196/0x360 <0> [] ? identify_cpu+0xaf/0x430 <0> [] ? put_lock_stats+0xd/0x30 <0> [] ? printk+0x1b/0x20 <0> [] ? calibrate_delay+0x6a/0x2b0 <0> [] ? identify_secondary_cpu+0xf/0x30 <0> [] ? smp_store_cpu_info+0x57/0x100 <0> [] ? start_secondary+0xd4/0x1c0 <0> ======================= <0>Code: Bad EIP value. <0>EIP: [] numaq_tsc_disable+0x0/0x40 SS:ESP 0068:f6889ed4 <4>---[ end trace ce65afb4f347eec5 ]--- <0>Kernel panic - not syncing: Attempted to kill the idle task! <4>------------[ cut here ]------------ <4>WARNING: at /uio/arkimedes/s29/vegardno/git-working/linux-2.6/kernel/smp.c:32 8 smp_call_function_mask+0x194/0x1a0() Pid: 0, comm: swapper Tainted: G D 2.6.27-rc3-00466-gbbcc4f1 #17 [] warn_on_slowpath+0x4f/0x80 [] ? sprintf+0x1f/0x30 [] ? sprint_symbol+0x92/0xc0 [] ? vprintk+0x6d/0x350 [] ? search_exception_tables+0x14/0x20 [] ? fixup_exception+0xe/0x30 [] smp_call_function_mask+0x194/0x1a0 [] ? stop_this_cpu+0x0/0x50 [] ? mutex_unlock+0x8/0x10 [] ? trace_hardirqs_off+0xb/0x10 [] ? __mutex_unlock_slowpath+0xa4/0x160 [] ? mutex_unlock+0x8/0x10 [] ? crash_kexec+0x6d/0xc0 [] ? start_secondary+0xd4/0x1c0 [] ? vprintk+0x6d/0x350 [] ? stop_this_cpu+0x0/0x50 [] smp_call_function+0x30/0x60 [] native_smp_send_stop+0x1e/0x70 [] panic+0x69/0x120 [] do_exit+0x7e6/0x890 [] ? printk+0x1b/0x20 [] ? print_oops_end_marker+0x2a/0x30 [] oops_end+0xb1/0xc0 [] die+0x50/0x70 [] do_page_fault+0x1ef/0xa20 [] ? _spin_unlock+0x27/0x50 [] ? do_page_fault+0x0/0xa20 [] error_code+0x72/0x78 [] ? init_intel+0x196/0x360 [] identify_cpu+0xaf/0x430 [] ? put_lock_stats+0xd/0x30 [] ? printk+0x1b/0x20 [] ? calibrate_delay+0x6a/0x2b0 [] identify_secondary_cpu+0xf/0x30 [] smp_store_cpu_info+0x57/0x100 [] start_secondary+0xd4/0x1c0 ======================= <4>---[ end trace ce65afb4f347eec5 ]--- <4>------------[ cut here ]------------ <4>WARNING: at /uio/arkimedes/s29/vegardno/git-working/linux-2.6/kernel/smp.c:21 7 smp_call_function_single+0x10a/0x110() Pid: 0, comm: swapper Tainted: G D W 2.6.27-rc3-00466-gbbcc4f1 #17 [] warn_on_slowpath+0x4f/0x80 [] ? sprintf+0x1f/0x30 [] ? sprint_symbol+0x92/0xc0 [] ? vprintk+0x6d/0x350 [] smp_call_function_single+0x10a/0x110 [] ? stop_this_cpu+0x0/0x50 [] ? search_exception_tables+0x14/0x20 [] ? fixup_exception+0xe/0x30 [] smp_call_function_mask+0x142/0x1a0 [] ? stop_this_cpu+0x0/0x50 [] ? mutex_unlock+0x8/0x10 [] ? trace_hardirqs_off+0xb/0x10 [] ? __mutex_unlock_slowpath+0xa4/0x160 [] ? mutex_unlock+0x8/0x10 [] ? crash_kexec+0x6d/0xc0 [] ? start_secondary+0xd4/0x1c0 [] ? stop_this_cpu+0x0/0x50 [] smp_call_function+0x30/0x60 [] native_smp_send_stop+0x1e/0x70 [] panic+0x69/0x120 [] do_exit+0x7e6/0x890 [] ? printk+0x1b/0x20 [] ? print_oops_end_marker+0x2a/0x30 [] oops_end+0xb1/0xc0 [] die+0x50/0x70 [] do_page_fault+0x1ef/0xa20 [] ? _spin_unlock+0x27/0x50 [] ? do_page_fault+0x0/0xa20 [] error_code+0x72/0x78 [] ? init_intel+0x196/0x360 [] identify_cpu+0xaf/0x430 [] ? put_lock_stats+0xd/0x30 [] ? printk+0x1b/0x20 [] ? calibrate_delay+0x6a/0x2b0 [] identify_secondary_cpu+0xf/0x30 [] smp_store_cpu_info+0x57/0x100 [] start_secondary+0xd4/0x1c0 ======================= <4>---[ end trace ce65afb4f347eec5 ]--- Config is at http://master.kernel.org/~vegard/bugs/20080820-numaq/ already, but vmlinux is 122M so I guess it's better to ask if I should provide line numbers. Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036