Message-ID: Date: Tue, 14 Feb 2006 19:52:33 +0100 From: Jeroen Van den Keybus Subject: Re: [Xenomai-core] Handling PCI MSI interrupts In-Reply-To: <43F220D7.6040705@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9421_7703291.1139943153824" References: <43F21867.8070002@domain.hid> <43F21ED7.3030501@domain.hid> <43F220D7.6040705@domain.hid> List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: Jan Kiszka , xenomai-core ------=_Part_9421_7703291.1139943153824 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline In the meantime, I've located the rthal_irq_disable() and used it instead o= f the RTDM return value (which is now 0). The machine still hangs. More importantly, I noticed that the second (after the first) interrupt get= s lost (as is to be expected when the interrupt remains disabled). This cause= s the RTDM driver to timeout and the Xenomai program using the RTDM driver is actually able to gracefully shut down. It seems that, upon exiting, the machine hangs. I'll now try two new tests: 1. Turn off the cards's interrupts after the first IRQ has arrived. 2. Keep my program alive for a few secs using task_sleep() or so to see if cleanup code is going awry. Any other tests ? Jeroen. ------=_Part_9421_7703291.1139943153824 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline In the meantime, I've located the rthal_irq_disable() and used it instead o= f the RTDM return value (which is now 0).

The machine still hangs.

More importantly, I noticed that the second (after the first) interrupt gets lost (as is to be expected when the interrupt remains disabled). This causes the RTDM driver to timeout and the Xenomai program using the RTDM driver is actually able to gracefully shut down. It seems that, upon exiting, the machine hangs.

I'll now try two new tests:

1. Turn off the cards's interrupts after the first IRQ has arrived.
2. Keep my program alive for a few secs using task_sleep() or so to see if = cleanup code is going awry.

Any other tests ?

Jeroen.

------=_Part_9421_7703291.1139943153824--