Re: 3.1-rc3 fails to boot on my pandaboard

From: Sebastian Andrzej Siewior
Date: Thu Aug 25 2011 - 07:04:32 EST


* Luciano Coelho | 2011-08-25 13:39:29 [+0300]:

>Hi,
Hi,

>Any ideas what may be going wrong?

I think my commit was identified as bogus and tglx is going to revert
it. The problem is that I force ONESHOT mode for all threaded IRQs but
there are also others without the flag which is not allowed.

I was trying to check something but I don't get my board to boot. Could
you please try to boot with the patch reverted and paste me the
the output of
cat /proc/interrupts | grep 74 ?

I *think* that the flow handler is level (I can't find evidence of it
beeing edge, and omap_alloc_gc() is the place installing it).

So could you please gather additional debug info with this patch?

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 2e94258..eda25a0 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1327,6 +1327,9 @@ int request_threaded_irq(unsigned int irq, irq_handler_t handler,
if (!irq_settings_can_request(desc))
return -EINVAL;

+ if (irq == 74)
+ printk(KERN_ERR "%s() h %pS th %pS f %lx dev %s flow %pS\n", __func__,
+ handler, thread_fn, irqflags, devname, desc->handle_irq);
if (!handler) {
if (!thread_fn)
return -EINVAL;


%pS should resolve the function names.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/