From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, apw@shadowen.org,
linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [BUG] 2.6.26-rc5-mm1- kernel BUG at arch/x86/kernel/io_apic_64.c:355!
Date: Tue, 10 Jun 2008 17:53:55 +0530 [thread overview]
Message-ID: <484E725B.6070309@linux.vnet.ibm.com> (raw)
In-Reply-To: <20080609145504.6cdfc886.akpm@linux-foundation.org>
Andrew Morton wrote:
> On Mon, 09 Jun 2008 23:01:36 +0530
> Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> wrote:
>
>> Hi Andrew,
>>
>> The 2.6.26-rc5-mm1 kernel panics while bootup on 32 way, x86_64 machine.
>> passing noapic as the command line parameter, boots up
>> the machine fine.
>>
>> kernel BUG at arch/x86/kernel/io_apic_64.c:355!
>> invalid opcode: 0000 [1] SMP
>> last sysfs file:
>> CPU 24
>> Modules linked in:
>> Pid: 1, comm: swapper Not tainted 2.6.26-rc5-mm1-autotest #1
>> RIP: 0010:[<ffffffff8021b9da>] [<ffffffff8021b9da>] add_pin_to_irq+0x7a/0x90
>> RSP: 0018:ffff81061e4cbb60 EFLAGS: 00010216
>> RAX: 00000000000000f0 RBX: 00000000000000f0 RCX: 0000000000000001
>> RDX: 0000000000000018 RSI: 0000000000000006 RDI: 00000000000000f0
>> RBP: 0000000000000006 R08: 0000000000000018 R09: 0000000000000006
>> R10: 0000000000000008 R11: ffffffff803948e6 R12: 0000000000000001
>> R13: 0000000000000001 R14: 0000000000000018 R15: ffff81061e4cbc04
>> FS: 0000000000000000(0000) GS:ffff810bfe7be5c0(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 ffff81061e4ca000, task ffff81032e4b96d0)
>> Stack: 0000000000000006 ffffffff8021ba6e 00000000000000f0 0000000000000001
>> 0000000000000000 0000000000000000 ffff81061e4cbc00 ffffffff80218991
>> 00000000000000f0 0000000000000000 0000000000000001 ffffffff80218a1a
>> Call Trace:
>> [<ffffffff8021ba6e>] io_apic_set_pci_routing+0x7e/0xb0
>> [<ffffffff80218991>] mp_register_gsi+0xb1/0xd0
>> [<ffffffff80218a1a>] acpi_register_gsi+0x6a/0x70
>> [<ffffffff80394b20>] acpi_pci_irq_enable+0x14f/0x220
>> [<ffffffff803948e6>] acpi_pci_allocate_irq+0x0/0x4c
>> [<ffffffff8036e14a>] do_pci_enable_device+0x4a/0x70
>> [<ffffffff8036e1c1>] __pci_enable_device_flags+0x51/0x60
>> [<ffffffff804f1608>] tg3_init_one+0x58/0x1640
>> [<ffffffff80229790>] default_wake_function+0x0/0x10
>> [<ffffffff8022e942>] set_cpus_allowed_ptr+0xc2/0xf0
>> [<ffffffff803703b7>] pci_device_probe+0xe7/0x130
>> [<ffffffff803c38b6>] driver_probe_device+0x96/0x1a0
>> [<ffffffff803c3a49>] __driver_attach+0x89/0x90
>> [<ffffffff803c39c0>] __driver_attach+0x0/0x90
>> [<ffffffff803c2dbd>] bus_for_each_dev+0x4d/0x80
>> [<ffffffff8028f708>] kmem_cache_alloc+0xc8/0xf0
>> [<ffffffff803c341e>] bus_add_driver+0xae/0x220
>> [<ffffffff803c3cd6>] driver_register+0x56/0x130
>> [<ffffffff80370678>] __pci_register_driver+0x68/0xb0
>> [<ffffffff806e5060>] tg3_init+0x0/0x20
>> [<ffffffff806c8a63>] kernel_init+0x153/0x320
>> [<ffffffff8020c378>] child_rip+0xa/0x12
>> [<ffffffff806c8910>] kernel_init+0x0/0x320
>> [<ffffffff8020c36e>] child_rip+0x0/0x12
>>
>>
>> Code: 89 05 27 88 43 00 7f 29 48 0f bf c1 48 8d 14 00 48 c1 e0 03 48 29 d0 48 8d 90 00 44 74 80 66 89 32 66 44 89 42 02 48 83 c4 08 c3 <0f> 0b eb fe 66 90 48 c7 c7 08 7d 5e 80 31 c0 e8 72 7b 01 00 66
>> RIP [<ffffffff8021b9da>] add_pin_to_irq+0x7a/0x90
>> RSP <ffff81061e4cbb60>
>> ---[ end trace 5a53b6247c28d358 ]---
>
> Here:
>
> static void add_pin_to_irq(unsigned int irq, int apic, int pin)
> {
> static int first_free_entry = NR_IRQS;
> struct irq_pin_list *entry = irq_2_pin + irq;
>
> BUG_ON(irq >= NR_IRQS);
>
>
> There are massive changes to tg3, massive changes in the relevant x86
> ACPI code and massive changes everywhere else.
>
> So I don't have a clue who broke it, but it wasn't me!
>
> You're testing linux-next, aren't you. Did you test the June 6 tree,
> upon which 2.6.26-rc5-mm1 was based?
>
This panic was seen in linux-next tree of may 19/20/21/22/23 kernels
and was reported (http://lkml.org/lkml/2008/5/21/285). It was not visible
in any June linux-next kernels. I will try and bisect the panic.
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
next prev parent reply other threads:[~2008-06-10 12:24 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 12:39 2.6.26-rc5-mm1 Andrew Morton
[not found] ` <484D6671.302@linux.vnet.ibm.com>
2008-06-09 17:22 ` 2.6.26-rc5-mm1 Balbir Singh
2008-06-09 17:27 ` 2.6.26-rc5-mm1 Balbir Singh
2008-06-09 19:14 ` 2.6.26-rc5-mm1 Mariusz Kozlowski
2008-06-09 21:48 ` 2.6.26-rc5-mm1 Andrew Morton
2008-06-10 4:57 ` 2.6.26-rc5-mm1 Mariusz Kozlowski
2008-06-10 5:01 ` 2.6.26-rc5-mm1 Andrew Morton
2008-06-10 8:39 ` 2.6.26-rc5-mm1 Peter 1 Oberparleiter
2008-06-17 22:26 ` 2.6.26-rc5-mm1 Mariusz Kozlowski
2008-06-18 8:35 ` 2.6.26-rc5-mm1 Peter Oberparleiter
2008-06-09 17:31 ` [BUG] 2.6.26-rc5-mm1- kernel BUG at arch/x86/kernel/io_apic_64.c:355! Kamalesh Babulal
2008-06-09 21:55 ` Andrew Morton
2008-06-10 12:23 ` Kamalesh Babulal [this message]
2008-06-15 17:16 ` Kamalesh Babulal
2008-06-09 19:20 ` [PATCH] Re: 2.6.26-rc5-mm1 - fix parenthesis in drivers/net/smc911x.h Mariusz Kozlowski
2008-06-09 20:45 ` 2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575! Alexey Dobriyan
2008-06-09 21:40 ` Alexey Dobriyan
2008-06-09 22:37 ` Andrew Morton
2008-06-10 2:21 ` Nick Piggin
2008-06-09 22:11 ` 2.6.26-rc5-mm1 Byron Bradley
2008-06-11 11:04 ` [patch] UWB: make UWB selectable on all archs with USB support David Vrabel
2008-06-11 22:26 ` Byron Bradley
2008-06-09 22:33 ` sock lockup -> process in D state [Was: 2.6.26-rc5-mm1] Jiri Slaby
2008-06-09 23:01 ` Andrew Morton
2008-06-10 6:19 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=484E725B.6070309@linux.vnet.ibm.com \
--to=kamalesh@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=apw@shadowen.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox