Interrupt fires when module is unloaded

Rajat Sharma fs.rajat at gmail.com
Mon Jan 6 19:27:23 EST 2014


It would be nice to post the code when asking for debugging help. Looks
like your interrupts are in masked state but when you unload the driver
they are getting unmasked and hence you are receiving them on unload.

-Rajat


On Mon, Jan 6, 2014 at 4:09 PM, Eric Fowler <eric.fowler at gmail.com> wrote:

> I am trying to figure out interrupts by writing a shadow of Rubini's
> 'short' program. Recall that Rubini tells us to enable parallel port
> interrupts by wiring pins 9&10 together, then writing binary data to the
> parallel port's address.
>
> I am doing that, but:
> - I don't see interrupts when I write to the port
> - I do see one interrupt when I unload the driver (in the fop's .release
> method)
> - This happens whether or not the pins are wired up.
>
> What is going on here?
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140106/098c2797/attachment.html 


More information about the Kernelnewbies mailing list