Re: Threaded interrupt handlers broken?

From: Michael Buesch
Date: Fri Sep 04 2009 - 14:56:14 EST


On Monday 17 August 2009 14:30:31 Michael Buesch wrote:
> Also works. Thanks.
>
> Tested-by: Michael Buesch <mb@xxxxxxxxx>

Hm, I've got a strange problem here related to threaded IRQs and rmmod.

If I do this sequence, it crashes the machine:
request_threaded_irq();
free_irq();
rmmod module
modprobe module
request_threaded_irq();
*boom*

Here are some oops messages. These are almost always different, so I
guess it crashes in IRQ context at random places when the IRQ triggers.
http://bu3sch.de/misc/irq_crash1.JPG
http://bu3sch.de/misc/irq_crash2.JPG

It seems to be a NULL pointer dereference somewhere, but I can't locate it.
Note that it does not happen, if I omit the rmmod.

--
Greetings, Michael.
--
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/