From: Tejun Heo <tj@kernel.org>
To: "Brandeburg, Jesse" <jesse.brandeburg@intel.com>
Cc: Jesse Brandeburg <jesse.brandeburg@gmail.com>,
Frans Pop <elendil@planet.nl>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>, "hpa@zytor.com" <hpa@zytor.com>
Subject: Re: bisect results of MSI-X related panic (help!)
Date: Thu, 15 Oct 2009 16:30:25 +0900 [thread overview]
Message-ID: <4AD6CF91.8090203@kernel.org> (raw)
In-Reply-To: <alpine.WNT.2.00.0910141527550.3036@jbrandeb-desk1.amr.corp.intel.com>
Hello,
Brandeburg, Jesse wrote:
> On Mon, 12 Oct 2009, Tejun Heo wrote:
>> Can you please apply the following patch and try to retrigger the
>> panic?
>>
>> diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
>> index c166019..f5a1482 100644
>> --- a/kernel/irq/chip.c
>> +++ b/kernel/irq/chip.c
>> @@ -63,6 +63,9 @@ void dynamic_irq_cleanup(unsigned int irq)
>> struct irq_desc *desc = irq_to_desc(irq);
>> unsigned long flags;
>>
>> + printk("XXX dynamic_irq_cleanup() called on %u\n", irq);
>> + dump_stack();
>> +
>> if (!desc) {
>> WARN(1, KERN_ERR "Trying to cleanup invalid IRQ%d\n", irq);
>> return;
>
> I'm working on it, but now that I've added a bunch of debug including the
> above printk, my system panics (with a stack protector canary overwrite)
> when loading the first network adapter with 30+ MSI-X vectors. I can boot
> single user mode and bring up netconsole, but then as soon as I brought up
> the first port with lots of MSI-X vectors, the system hard locks, no panic
> message.
>
> I have a bit of a theory that the node = -1 (numa_node) stuff might be
> playing some havoc with the code in numa_migrate.c. I'm not sure if that
> is contributing, but the code in there doesn't seem written to handle node
> = - 1 very well. As in I never see it do an smp_processor_id at the
> bottom before accessing the node value.
>
> Not sure if that is relevant, but I wanted to mention it before I went
> home.
>
> What next? I made it worse so I guess that is something.
I don't know. At this point, I can't think of anything other than
sprinkling printks and dump_stacks around. :-(
Thanks.
--
tejun
prev parent reply other threads:[~2009-10-15 7:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-11 20:09 bisect results of MSI-X related panic (help!) Jesse Brandeburg
2009-09-11 21:05 ` Jesper Juhl
2009-09-12 4:23 ` Frans Pop
2009-09-14 9:40 ` Tejun Heo
2009-09-14 9:43 ` Tejun Heo
2009-10-10 0:24 ` Jesse Brandeburg
2009-10-11 9:24 ` Jarek Poplawski
2009-10-12 7:52 ` Tejun Heo
2009-10-12 18:00 ` Brandeburg, Jesse
2009-10-13 2:39 ` Tejun Heo
2009-10-14 22:30 ` Brandeburg, Jesse
2009-10-15 7:30 ` Tejun Heo [this message]
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=4AD6CF91.8090203@kernel.org \
--to=tj@kernel.org \
--cc=elendil@planet.nl \
--cc=hpa@zytor.com \
--cc=jesse.brandeburg@gmail.com \
--cc=jesse.brandeburg@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=netdev@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