* [RTnet] RTcfg: error -11
@ 2020-03-09 14:58 Benji
2020-03-09 18:53 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: Benji @ 2020-03-09 14:58 UTC (permalink / raw)
To: xenomai
Hi,
i try to get RTnet up and running, but there are some issues with setup.
Two system are connected via a switch. Both have 2 network interface,
Intel i210 and Intel 82574L. Only Intel i210 is used by Xenomai/ RTnet.
One system is configured as master in 'rtnet.conf', the other one as a
slave. If 'rtnet start' is executed following outputs appears.
Master:
> Waiting for all slaves...
Slave:
> Stage 1: searching for master...
RT interface came up as 'rtifconfig' is shown, but both hang on there stages.
At master the dmesg output are floated with messages like:
> [ 323.903321] rt_igb: rteth0: Reset adapter
> [ 323.905082] TDMA: Failed to transmit sync frame!
> [ 323.910082] TDMA: Failed to transmit sync frame!
> [ 323.915083] TDMA: Failed to transmit sync frame!
> [ 323.920083] TDMA: Failed to transmit sync frame!
> [ 323.932087] RTcfg: error -11 while sending stage 1 frame
Anybody knows that error -11 means? I can't find any information on
this error code.
Thanks
Benji
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RTnet] RTcfg: error -11
2020-03-09 14:58 [RTnet] RTcfg: error -11 Benji
@ 2020-03-09 18:53 ` Jan Kiszka
2020-03-10 8:09 ` Benji
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2020-03-09 18:53 UTC (permalink / raw)
To: Benji, xenomai
On 09.03.20 15:58, Benji via Xenomai wrote:
> Hi,
>
> i try to get RTnet up and running, but there are some issues with setup.
>
> Two system are connected via a switch. Both have 2 network interface,
> Intel i210 and Intel 82574L. Only Intel i210 is used by Xenomai/ RTnet.
> One system is configured as master in 'rtnet.conf', the other one as a
> slave. If 'rtnet start' is executed following outputs appears.
>
> Master:
>
>> Waiting for all slaves...
>
> Slave:
>
>> Stage 1: searching for master...
>
> RT interface came up as 'rtifconfig' is shown, but both hang on there
> stages.
>
> At master the dmesg output are floated with messages like:
>
>> [ 323.903321] rt_igb: rteth0: Reset adapter
>> [ 323.905082] TDMA: Failed to transmit sync frame!
>> [ 323.910082] TDMA: Failed to transmit sync frame!
>> [ 323.915083] TDMA: Failed to transmit sync frame!
>> [ 323.920083] TDMA: Failed to transmit sync frame!
>> [ 323.932087] RTcfg: error -11 while sending stage 1 frame
>
> Anybody knows that error -11 means? I can't find any information on
> this error code.
EAGAIN - the tx queue is filled up, no packets go out, eventually the
sender is out of (statically allocated) resources. Does transmission
work fine without RTmac/TDMA? Might be that interrupt are not coming
(/proc/xenomai/irq).
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RTnet] RTcfg: error -11
2020-03-09 18:53 ` Jan Kiszka
@ 2020-03-10 8:09 ` Benji
2020-03-10 9:23 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: Benji @ 2020-03-10 8:09 UTC (permalink / raw)
To: Jan Kiszka, xenomai
On 3/9/20 7:53 PM, Jan Kiszka wrote:
> On 09.03.20 15:58, Benji via Xenomai wrote:
>> Hi,
>>
>> i try to get RTnet up and running, but there are some issues with setup.
>>
>> Two system are connected via a switch. Both have 2 network interface,
>> Intel i210 and Intel 82574L. Only Intel i210 is used by Xenomai/ RTnet.
>> One system is configured as master in 'rtnet.conf', the other one as a
>> slave. If 'rtnet start' is executed following outputs appears.
>>
>> Master:
>>
>>> Waiting for all slaves...
>>
>> Slave:
>>
>>> Stage 1: searching for master...
>>
>> RT interface came up as 'rtifconfig' is shown, but both hang on there
>> stages.
>>
>> At master the dmesg output are floated with messages like:
>>
>>> [ 323.903321] rt_igb: rteth0: Reset adapter
>>> [ 323.905082] TDMA: Failed to transmit sync frame!
>>> [ 323.910082] TDMA: Failed to transmit sync frame!
>>> [ 323.915083] TDMA: Failed to transmit sync frame!
>>> [ 323.920083] TDMA: Failed to transmit sync frame!
>>> [ 323.932087] RTcfg: error -11 while sending stage 1 frame
>>
>> Anybody knows that error -11 means? I can't find any information on
>> this error code.
>
> EAGAIN - the tx queue is filled up, no packets go out, eventually the
> sender is out of (statically allocated) resources. Does transmission
> work fine without RTmac/TDMA? Might be that interrupt are not coming
> (/proc/xenomai/irq).
>
> Jan
>
Hi,
i doesn't try yet without TDMA.
/proc/xenomai/irq:
> cat /proc/xenomai/irq
IRQ CPU0 [sync]
353: 0 [reschedule]
4354: 0 [timer-ipi]4355: 9995614 [timer/0]
4419: 65 [virtual]
Benji
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RTnet] RTcfg: error -11
2020-03-10 8:09 ` Benji
@ 2020-03-10 9:23 ` Jan Kiszka
2020-05-06 13:17 ` Benji
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2020-03-10 9:23 UTC (permalink / raw)
To: Benji, xenomai
On 10.03.20 09:09, Benji wrote:
> On 3/9/20 7:53 PM, Jan Kiszka wrote:
>> On 09.03.20 15:58, Benji via Xenomai wrote:
>>> Hi,
>>>
>>> i try to get RTnet up and running, but there are some issues with setup.
>>>
>>> Two system are connected via a switch. Both have 2 network interface,
>>> Intel i210 and Intel 82574L. Only Intel i210 is used by Xenomai/ RTnet.
>>> One system is configured as master in 'rtnet.conf', the other one as a
>>> slave. If 'rtnet start' is executed following outputs appears.
>>>
>>> Master:
>>>
>>>> Waiting for all slaves...
>>>
>>> Slave:
>>>
>>>> Stage 1: searching for master...
>>>
>>> RT interface came up as 'rtifconfig' is shown, but both hang on there
>>> stages.
>>>
>>> At master the dmesg output are floated with messages like:
>>>
>>>> [ 323.903321] rt_igb: rteth0: Reset adapter
>>>> [ 323.905082] TDMA: Failed to transmit sync frame!
>>>> [ 323.910082] TDMA: Failed to transmit sync frame!
>>>> [ 323.915083] TDMA: Failed to transmit sync frame!
>>>> [ 323.920083] TDMA: Failed to transmit sync frame!
>>>> [ 323.932087] RTcfg: error -11 while sending stage 1 frame
>>>
>>> Anybody knows that error -11 means? I can't find any information on
>>> this error code.
>>
>> EAGAIN - the tx queue is filled up, no packets go out, eventually the
>> sender is out of (statically allocated) resources. Does transmission
>> work fine without RTmac/TDMA? Might be that interrupt are not coming
>> (/proc/xenomai/irq).
>>
>> Jan
>>
>
> Hi,
>
> i doesn't try yet without TDMA.
>
> /proc/xenomai/irq:
>
>> cat /proc/xenomai/irq
> IRQ CPU0 [sync]
> 353: 0 [reschedule]
> 4354: 0 [timer-ipi]4355: 9995614 [timer/0]
> 4419: 65 [virtual]
>
Either the rteth0 is down at this point, or you have an even more
fundamental problem with the rt_igb. But I suspect the former.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RTnet] RTcfg: error -11
2020-03-10 9:23 ` Jan Kiszka
@ 2020-05-06 13:17 ` Benji
0 siblings, 0 replies; 6+ messages in thread
From: Benji @ 2020-05-06 13:17 UTC (permalink / raw)
To: xenomai
On 3/10/20 10:23 AM, Jan Kiszka wrote:
> On 10.03.20 09:09, Benji wrote:
>> On 3/9/20 7:53 PM, Jan Kiszka wrote:
>>> On 09.03.20 15:58, Benji via Xenomai wrote:
>>>> Hi,
>>>>
>>>> i try to get RTnet up and running, but there are some issues with
>>>> setup.
>>>>
>>>> Two system are connected via a switch. Both have 2 network interface,
>>>> Intel i210 and Intel 82574L. Only Intel i210 is used by Xenomai/ RTnet.
>>>> One system is configured as master in 'rtnet.conf', the other one as a
>>>> slave. If 'rtnet start' is executed following outputs appears.
>>>>
>>>> Master:
>>>>
>>>>> Waiting for all slaves...
>>>>
>>>> Slave:
>>>>
>>>>> Stage 1: searching for master...
>>>>
>>>> RT interface came up as 'rtifconfig' is shown, but both hang on there
>>>> stages.
>>>>
>>>> At master the dmesg output are floated with messages like:
>>>>
>>>>> [ 323.903321] rt_igb: rteth0: Reset adapter
>>>>> [ 323.905082] TDMA: Failed to transmit sync frame!
>>>>> [ 323.910082] TDMA: Failed to transmit sync frame!
>>>>> [ 323.915083] TDMA: Failed to transmit sync frame!
>>>>> [ 323.920083] TDMA: Failed to transmit sync frame!
>>>>> [ 323.932087] RTcfg: error -11 while sending stage 1 frame
>>>>
>>>> Anybody knows that error -11 means? I can't find any information on
>>>> this error code.
>>>
>>> EAGAIN - the tx queue is filled up, no packets go out, eventually the
>>> sender is out of (statically allocated) resources. Does transmission
>>> work fine without RTmac/TDMA? Might be that interrupt are not coming
>>> (/proc/xenomai/irq).
>>>
>>> Jan
>>>
>>
>> Hi,
>>
>> i doesn't try yet without TDMA.
>>
>> /proc/xenomai/irq:
>>
>>> cat /proc/xenomai/irq
>> IRQ CPU0 [sync]
>> 353: 0 [reschedule]
>> 4354: 0 [timer-ipi]4355: 9995614 [timer/0]
>> 4419: 65 [virtual]
>>
>
> Either the rteth0 is down at this point, or you have an even more
> fundamental problem with the rt_igb. But I suspect the former.
>
> Jan
>
Thanks for the advice. Comment out all TDMA config option in
'rtnet.conf'. Now rtnet interface started and has configured IP address.
DMESG output:
> [615946.741951] RTnet: registered rteth0
> [615946.741953] rt_igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
> [615946.741955] rt_igb 0000:04:00.0: rteth0: (PCIe:2.5Gb/s:Width x1) 68:05:ca:93:80:d7
> [615946.742120] rt_igb 0000:04:00.0: rteth0: PBA No: G65055-011
> [615946.742121] rt_igb 0000:04:00.0: Using MSI interrupts. 1 rx queue(s), 1 tx queue(s)
> [615946.754648] rt_loopback: initializing loopback interface...
> [615946.754671] RTnet: registered rtlo
> [615946.761782] RTcfg: init real-time configuration distribution protocol
> [615946.766091] RTmac: init realtime media access control
> [615946.770150] RTmac/TDMA: init time division multiple access control mechanism
> [615946.988039] RTcfg: rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_CLIENT, state=RTCFG_MAIN_OFF
> [615946.988040] RTcfg: next main state=RTCFG_MAIN_CLIENT_0
> [615950.657035] rt_igb: rteth0: igb: rteth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
Interface
> sudo ./sbin/rtifconfig
> rteth0 Medium: Ethernet Hardware address: 68:05:CA:93:80:D7
> IP address: 10.0.0.1 Broadcast address: 10.0.0.255
> UP BROADCAST RUNNING MTU: 1500
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> rtlo Medium: Local Loopback
> IP address: 127.0.0.1
> UP LOOPBACK RUNNING MTU: 1500
Interupts are working
> cat /proc/xenomai/irq
> IRQ CPU0
> 31: 425 rteth0
> 4352: 0 [sync]
> 4353: 0 [reschedule]
> 4354: 0 [timer-ipi]
> 4355: 639826598 [timer/0]
> 4419: 43 [virtual]
But both systems can't be reached each other via rtping? Is there
something else i'm missing?
Thanks
Benji
^ permalink raw reply [flat|nested] 6+ messages in thread
* [RTnet] RTcfg: error -11
@ 2020-03-09 14:49 Benji Miethke
0 siblings, 0 replies; 6+ messages in thread
From: Benji Miethke @ 2020-03-09 14:49 UTC (permalink / raw)
To: xenomai
Hi,
i try to get RTnet up and running, but there are some issues with setup.
Two system are connected via a switch. Both have 2 network interface,
Intel i210 and Intel 82574L. Only Intel i210 is used by Xenomai/ RTnet.
One system is configured as master in 'rtnet.conf', the other one as a
slave. If 'rtnet start' is executed following outputs appears.
Master:
> Waiting for all slaves...
Slave:
> Stage 1: searching for master...
RT interface came up as 'rtifconfig' is shown, but both hang on there stages.
At master the dmesg output are floated with messages like:
> [ 323.903321] rt_igb: rteth0: Reset adapter
> [ 323.905082] TDMA: Failed to transmit sync frame!
> [ 323.910082] TDMA: Failed to transmit sync frame!
> [ 323.915083] TDMA: Failed to transmit sync frame!
> [ 323.920083] TDMA: Failed to transmit sync frame!
> [ 323.932087] RTcfg: error -11 while sending stage 1 frame
Anybody knows that error -11 means? I can't find any information on
this error code.
Thanks
Benji
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-05-06 13:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09 14:58 [RTnet] RTcfg: error -11 Benji
2020-03-09 18:53 ` Jan Kiszka
2020-03-10 8:09 ` Benji
2020-03-10 9:23 ` Jan Kiszka
2020-05-06 13:17 ` Benji
-- strict thread matches above, loose matches on Subject: below --
2020-03-09 14:49 Benji Miethke
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.