Messages in this thread | | | Date | Thu, 26 Feb 2004 14:18:31 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: kernel disables interrupts |
| |
On Thu, 26 Feb 2004, Jim Deas wrote:
> I am trouble shooting a new driver and have found a new > kernel item that makes trouble shooting a bit harder. > When I unload my test driver and before I can reload it > (reseting the interrut controls)the Kernerl disables > the chattering interrupt. > Once the kernel has disable a spurious interrupt is there > a way to get it back? > > JD
Linux version 2.4.24 doesn't "disable" a spurious interrupt! When you unload the driver, you deallocate the interrupt you are using (I sure hope so). When you load the driver again, you reallocate the interrupt. If you FAILED to release the IRQ when you unloaded the module, guess what? It's still allocated and you can't have it anymore. That's probably what's happening.
Cheers, Dick Johnson Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips). Note 96.31% of all statistics are fiction.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |