[etherlab-users] Working counter changed to 0/113

pier perlsoft at bluewin.ch
Wed Apr 9 15:21:22 CEST 2014


On 09/04/14 14:49, Martin Troxler wrote:
> On 09.04.2014 14:02, pier wrote:
>> Dear helper
>>
>> Sometimes in a couple of hours or more we receive this messages in
>>
>> the syslog :
>>
>> Apr 7 07:31:33 (none) kernel:  EtherCAT 0: Domain 0: Working counter 
>> changed to 0/113.
>>
> Hi Pier
>
> If your realtime tasks runs as in a usermode thread and access the 
> ethernet device through the generic device, then you have to make sure 
> that the priorities of the IRQ threads are higher than the priority of 
> the realtime thread.
>
> Show the pids of the IRQ threads of a eth device
> >$ NETDEVNAME=eth1
> >$ ps -A | awk "/irq\/[0-9]+-${NETDEVNAME}/ { print \$1 }" | xargs 
> --no-run-if-empty
> 1512 1513 1514
> Show the realtime priority of a process
> >$ chrt -p 1512
> pid 1512's current scheduling policy: SCHED_FIFO
> pid 1512's current scheduling priority: 80
>
> The priority must be higher than the priority of your realtime task 
> thread.
>
> In addition, disable interrupt throttling on your eth device.
>
> >$ ethtool --coalesce $NETDEVNAME adaptive-rx off adaptive-tx off 
> rx-usecs 0 rx-frames 0 rx-usecs-irq 0 rx-frames-irq 0 tx-usecs 0 
> tx-frames 0 tx-usecs-irq 0 tx-frames-irq 0 pkt-rate-low 0 pkt-rate-high 0
>
> Regards
> Martin
>
>
> Note:
> This e-mail is for the named person's use only. It may contain 
> confidential and/or privileged information. If you have received this 
> e-mail in error, please notify the sender immediately and delete the 
> material from any system. Any unauthorized copying, disclosure, 
> distribution or other use of this information by persons or entities 
> other than the intended recipient is prohibited.
> Thank You

> . 
Dear Martin

I have tried this :

 >$ NETDEVNAME=eth1
 >$ ps -A | awk "/irq\/[0-9]+-${NETDEVNAME}/ { print \$1 }" | xargs 
--no-run-if-empty

But the answer in empty.... nothing...

The Operating system is a Ubuntu 12.04

Best Regards

Pier

-- 

Perlsoft GmbH
Sennereigasse 27
3900 Brig
Switzerland

Tel. +41977022933

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20140409/1b2f99ae/attachment-0003.htm>


More information about the Etherlab-users mailing list