On Thu, 18 May 2000, Bojan Ramsak wrote:

> The module works fine, but sometimes (after 1 hour or more) the module
> (ISR) stops to work. I tried to remove the module and install it again,
> but nothing happens. The only way to make it work again is to reset the
> PC.
> 
> I also discovered, that if the mentioned stop happens I can still write
> to the UART, but the UART doesn't generate any IRQ to call my ISR.
> 
> What can be done?
> ( I am running RTLinux V2.2a on kernel 2.2.14. )

Loosing interrupts suddenly seems familiar to me. I have the problem with
3c509.c driver (ISA 3c509B network card) in SMP system in all 2.2.13-15
kernels (probably earlier have this bug as well). It may work even few
days and then stop. Resetting the driver (ifconfig down & up) restores
interrupts.

See also http://kernelnotes.org/lnxlists/linux-smp/lm_0005/msg00101.html

If this is not related bug, then may be in some conditions your driver does
not clear pending interrupt status, and if you use edge IRQ it stays high
without generating interrupts. But then complete resetting of UART (I hope
you reset it in init_module) should restore the operation.

Best regards,
--
Tomasz Motylewski

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to