Re: Threaded interrupt handlers broken?

Michael Buesch
2009-09-04T18:56:07Z

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

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.