And if you start the slave before the master, this does not happen?

yes, it is!

What versions are you using: RTnet, Xenomai or RTAI, kernel & I-pipe
patch?

I use RTNet 0.8.3 and RTAi 3.1



2007/2/13, Jan Kiszka <[EMAIL PROTECTED]>:

Leonardo Pappagallo wrote:

> Hi Jan,
>
> I have this problem:
>
> I have a two PC with realtek 8139too ethernet card.
>
> If I start up the master before the slave, when the slave rtnet script
runs,
>
> it calls "rtifconfig
>
> rteth0 up x.y.z.w" and I have this message: "Too much work at interrupt,
>
> IntrStatus= 0x0001".
>
And if you start the slave before the master, this does not happen?


> The IRQ of network card is not shared by other devices.
>
> Do you have an idea about this strange behaviour? What can I do to avoid
>
> this problem?
What versions are you using: RTnet, Xenomai or RTAI, kernel & I-pipe
patch?

Let's try something new (at least when it comes to remote-diagnosis of
RTnet):

--- drivers/rt_8139too.c        (Revision 1106)
+++ drivers/rt_8139too.c        (Arbeitskopie)
@@ -1722,6 +1722,7 @@ static int rtl8139_interrupt(rtdm_irq_t
                boguscnt--;
        } while (boguscnt > 0);
        if (boguscnt <= 0) {
+                ipipe_trace_freeze(0);
                rtdm_printk(KERN_WARNING "%s: Too much work at interrupt,
"
                           "IntrStatus=0x%4.4x.\n", rtdev->name, status);
                /* Clear all interrupt sources. */


Apply this patch to the driver, switch on CONFIG_IPIPE_TRACE (=> Kernel
hacking), and rebuild both kernel and RTnet. When the driver is about
the complain, a backtrace will be captured. You can obtain it later via
/proc/ipipe/trace/frozen. Do an "echo 1 > /proc/ipipe/trace/verbose" and
"echo 10000 > /proc/ipipe/trace/back_trace_points" to enhance the
reported trace. Pack the result and post it.

The tracer will definitely work with Xenomai (kernel <= 2.6.19, tracer
fixes for 2.6.20 are pending), but RTAI /should/ be fine as well (but
I haven't tried for a year or so).

Jan




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to