[EMAIL PROTECTED] schrieb:
Hello Ingo,

I had the very same problem and I found a "tricky" solution for it. You should (must?) have not shared interrupts with the realtime NICs,
in your case there is a interrupt sharing between the aic7xxx and
eth1. With the kernel 2.4.22 I was using (ACPI enabled), the
interrupts of the PCI adapters are assigned by the linux kernel. The
algorithm for that can be found in linux/drivers/acpi/pci_link.c One
table defines the "penalty" for reusing a certain IRQ assignment.

Mathias patch will only work if the PCI adapters do not *physically* share one of the few IRQ lines per PCI bus (namely A-D). Normally, they are rotated for each PCI slot, but there are often also conflicts with on-board peripherals (like USB etc., as you noticed). It can become even more problematic on embedded PC104 systems, where the stack order defines the IRQ line, and this is not always that easy to change (fortunately, some extension cards allow to rotate the line assignment by jumpers).


I proposed a solution on rtai-dev some time ago which will actually allow to share IRQs between real-time and Linux in such situations. Philippe is implementing it for ADEOS, and just yesterday he sent me the first version. As soon as I have the time to test it, and if it works as expected, it will probably make it soon into the next ADEOS version (and finally RTAI).

But it does not come for free: to preserve real-time guarantees (it only increases the worst-case latency slightly), the solution requires extended Linux drivers which are able to suppress their IRQ sources while the real-time part is running. The real-time driver will not require any modifications. If you are interested in details, you may have a look at my experimental patch for a Linux eepro100 driver which came with the concept proposal (https://mail.rtai.org/cgi-bin/mailman/private/rtai-dev/2003-December/000999.html).

Jan


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to