From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757236AbYEEJpm (ORCPT ); Mon, 5 May 2008 05:45:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751800AbYEEJpf (ORCPT ); Mon, 5 May 2008 05:45:35 -0400 Received: from E23SMTP04.au.ibm.com ([202.81.18.173]:60255 "EHLO e23smtp04.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbYEEJpd (ORCPT ); Mon, 5 May 2008 05:45:33 -0400 Message-ID: <481ED722.1020804@linux.vnet.ibm.com> Date: Mon, 05 May 2008 15:15:06 +0530 From: Kamalesh Babulal User-Agent: Thunderbird 1.5.0.14ubu (X11/20080306) MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , Andy Whitcroft , Balbir Singh Subject: [BUG] linux-next: Tree for May 5 kernel bug at arch/x86/kernel/io_apic_64.c:353! References: <20080505151538.23eb89c5.sfr@canb.auug.org.au> In-Reply-To: <20080505151538.23eb89c5.sfr@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, This BUG_ON() with next-20080505 kernel is hit on x86_64 machine with 32 cpus. Kernel boots up when, passing noapic as boot parameter. kernel BUG at arch/x86/kernel/io_apic_64.c:353! invalid opcode: 0000 [1] SMP last sysfs file: CPU 24 Modules linked in: Pid: 1, comm: swapper Not tainted 2.6.26-rc1-next-20080505-autotest #1 RIP: 0010:[] [] add_pin_to_irq+0x7a/0x90 RSP: 0018:ffff81090e4cbb80 EFLAGS: 00010216 RAX: 00000000000000f0 RBX: 00000000000000f0 RCX: 0000000000000001 RDX: 0000000000000018 RSI: 0000000000000006 RDI: 00000000000000f0 RBP: 0000000000000006 R08: 0000000000000018 R09: 0000000000000006 R10: 0000000000000008 R11: ffffffff80394926 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000018 R15: ffff81090e4cbc24 FS: 0000000000000000(0000) GS:ffff810bfe7cf540(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000000 CR3: 0000000000201000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process swapper (pid: 1, threadinfo ffff81090e4ca000, task ffff81061e4ca050) Stack: 0000000000000006 ffffffff8021d04e 00000000000000f0 0000000000000001 0000000000000000 0000000000000000 ffff81090e4cbc20 ffffffff8021b290 00000000000000f0 0000000000000000 0000000000000001 ffffffff80219e8a Call Trace: [] io_apic_set_pci_routing+0x7e/0xb0 [] mp_register_gsi+0xc0/0xe0 [] acpi_register_gsi+0x6a/0x70 [] acpi_pci_irq_enable+0x14f/0x1f9 [] acpi_pci_allocate_irq+0x0/0x4c [] do_pci_enable_device+0x4a/0x70 [] __pci_enable_device_flags+0x51/0x60 [] tg3_init_one+0x58/0x15e0 [] default_wake_function+0x0/0x10 [] set_cpus_allowed_ptr+0xd0/0x100 [] pci_device_probe+0xdf/0x130 [] driver_probe_device+0x96/0x1a0 [] __driver_attach+0x89/0x90 [] __driver_attach+0x0/0x90 [] bus_for_each_dev+0x4d/0x80 [] kmem_cache_alloc+0xc8/0xf0 [] bus_add_driver+0xae/0x220 [] driver_register+0x56/0x130 [] __pci_register_driver+0x55/0xa0 [] kernel_init+0x154/0x2e0 [] child_rip+0xa/0x12 [] kernel_init+0x0/0x2e0 [] child_rip+0x0/0x12 Code: 89 05 07 86 41 00 7f 29 48 0f bf c1 48 8d 14 00 48 c1 e0 03 48 29 d0 48 8d 90 20 10 72 80 66 89 32 66 44 89 42 02 48 83 c4 08 c3 <0f> 0b eb fe 66 90 48 c7 c7 38 34 5c 80 31 c0 e8 d2 9f 01 00 66 RIP [] add_pin_to_irq+0x7a/0x90 RSP ---[ end trace d31308394cb604eb ]--- Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: swapper Tainted: G D 2.6.26-rc1-next-20080505-autotest #1 Call Trace: [] panic+0x86/0x170 [] printk+0x4e/0x60 [] do_exit+0x761/0x770 [] oops_end+0xc1/0xd0 [] do_invalid_op+0x86/0xa0 [] add_pin_to_irq+0x7a/0x90 [] vt_console_print+0x224/0x2f0 [] dummycon_dummy+0x0/0x10 [] error_exit+0x0/0x51 [] acpi_pci_allocate_irq+0x0/0x4c [] add_pin_to_irq+0x7a/0x90 [] io_apic_set_pci_routing+0x7e/0xb0 [] mp_register_gsi+0xc0/0xe0 [] acpi_register_gsi+0x6a/0x70 [] acpi_pci_irq_enable+0x14f/0x1f9 [] acpi_pci_allocate_irq+0x0/0x4c [] do_pci_enable_device+0x4a/0x70 [] __pci_enable_device_flags+0x51/0x60 [] tg3_init_one+0x58/0x15e0 [] default_wake_function+0x0/0x10 [] set_cpus_allowed_ptr+0xd0/0x100 [] pci_device_probe+0xdf/0x130 [] driver_probe_device+0x96/0x1a0 [] __driver_attach+0x89/0x90 [] __driver_attach+0x0/0x90 [] bus_for_each_dev+0x4d/0x80 [] kmem_cache_alloc+0xc8/0xf0 [] bus_add_driver+0xae/0x220 [] driver_register+0x56/0x130 [] __pci_register_driver+0x55/0xa0 [] kernel_init+0x154/0x2e0 [] child_rip+0xa/0x12 [] kernel_init+0x0/0x2e0 [] child_rip+0x0/0x12 -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.