knxd / knxd

GNU General Public License v2.0
540 stars 201 forks source link

IP Routing Multicast ETS --> no multiple request and device programming #152

Open mycroft2k opened 8 years ago

mycroft2k commented 8 years ago

i have a problem with Multicast IP Routing, no multiple request possible and no device programming on ETS with Multicast IP Routing, on IP it works.

ETS Gruppmonitor knxd_failed

TraceLog

root@raspberrypi:~# knxd -e 0.0.0.10 -t1 -i -DRTS -b ft12:/dev/ttyAMA0 Layer 0(01D157B0,57BE5503) Open Layer 0(01D157B0,57BE5503) Openend Layer 0(01D26180,57BE5503) Open Layer 0(01D26180,57BE5503) Openend Layer 0(01D570D0,57BE5503) Send(004): 10 40 40 16 Layer 0(01D570D0,57BE5503) Recv(001): E5 Layer 0(01D570D0,57BE5503) Send(014): 68 08 08 68 73 A9 1E 12 34 56 78 9A E8 16 Layer 0(01D570D0,57BE5503) Recv(001): E5 Layer 0(01D570D0,57BE5503) Send(014): 68 08 08 68 53 A9 00 18 34 56 78 0A 20 16 Layer 0(01D570D0,57BE5503) Recv(001): E5 W00000020: EIBD should not run as root Layer 0(01D26180,57BE5507) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D570D0,57BE5507) Send(016): 68 0A 0A 68 73 11 0C 00 00 13 14 C1 00 00 78 16 Layer 0(01D570D0,57BE5507) Recv(001): E5 Layer 0(01D570D0,57BE5507) Recv(008): 68 0A 0A 68 F3 2E BC 00 Layer 0(01D570D0,57BE5508) Recv(008): 0A 13 14 C1 00 00 CF 16 Layer 0(01D570D0,57BE5508) Send Ack(001): E5 Layer 0(01D570D0,57BE5508) Recv(008): 68 0C 0C 68 D3 29 BC 21 Layer 0(01D570D0,57BE5508) Recv(008): 0D 13 14 E3 00 40 0C 8D Layer 0(01D570D0,57BE5508) Recv(002): C9 16 Layer 0(01D570D0,57BE5508) Send Ack(001): E5 Layer 0(01D157B0,57BE5508) Send(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C 8D Layer 0(01D26180,57BE5508) Dropped(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C 8D Layer 0(01D26180,57BE5509) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE5509) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE550A) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE550A) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE550B) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE550B) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D570D0,57BE5510) Recv(008): 68 0A 0A 68 F3 29 BC 21 Layer 0(01D570D0,57BE5510) Recv(008): 0D 13 0A E1 00 81 85 16 Layer 0(01D570D0,57BE5510) Send Ack(001): E5 Layer 0(01D157B0,57BE5510) Send(017): 06 10 05 30 00 11 29 00 BC D0 21 0D 13 0A 01 00 81 Layer 0(01D26180,57BE5510) Dropped(017): 06 10 05 30 00 11 29 00 BC D0 21 0D 13 0A 01 00 81 Layer 0(01D570D0,57BE5510) Recv(008): 68 0A 0A 68 D3 29 BC 21 Layer 0(01D570D0,57BE5510) Recv(008): 0F 13 6E E1 00 81 CB 16 Layer 0(01D570D0,57BE5510) Send Ack(001): E5 Layer 0(01D157B0,57BE5510) Send(017): 06 10 05 30 00 11 29 00 BC D0 21 0F 13 6E 01 00 81 Layer 0(01D26180,57BE5510) Dropped(017): 06 10 05 30 00 11 29 00 BC D0 21 0F 13 6E 01 00 81 Layer 0(01D26180,57BE5512) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D570D0,57BE5512) Send(016): 68 0A 0A 68 53 11 0C 00 00 13 14 C1 00 00 58 16 Layer 0(01D570D0,57BE5512) Recv(001): E5 Layer 0(01D570D0,57BE5512) Recv(008): 68 0A 0A 68 F3 2E BC 00 Layer 0(01D570D0,57BE5512) Recv(008): 0A 13 14 C1 00 00 CF 16 Layer 0(01D570D0,57BE5512) Send Ack(001): E5 Layer 0(01D570D0,57BE5512) Recv(008): 68 0C 0C 68 D3 29 BC 21 Layer 0(01D570D0,57BE5512) Recv(008): 0D 13 14 E3 00 40 0C 8D Layer 0(01D570D0,57BE5512) Recv(002): C9 16 Layer 0(01D570D0,57BE5512) Send Ack(001): E5 Layer 0(01D157B0,57BE5512) Send(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C 8D Layer 0(01D26180,57BE5512) Dropped(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C 8D Layer 0(01D26180,57BE5513) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE5513) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE5514) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE5515) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D570D0,57BE5518) Recv(008): 68 0C 0C 68 F3 29 BC 21 Layer 0(01D570D0,57BE5518) Recv(008): 0D 13 14 E3 00 80 0C 90 Layer 0(01D570D0,57BE5518) Recv(002): 2C 16 Layer 0(01D570D0,57BE5518) Send Ack(001): E5 Layer 0(01D157B0,57BE5518) Send(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 80 0C 90 Layer 0(01D26180,57BE5518) Dropped(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 80 0C 90 Layer 0(01D570D0,57BE551A) Recv(008): 68 0A 0A 68 D3 29 BC 21 Layer 0(01D570D0,57BE551A) Recv(008): 0D 13 0A E1 00 80 64 16 Layer 0(01D570D0,57BE551A) Send Ack(001): E5 Layer 0(01D157B0,57BE551A) Send(017): 06 10 05 30 00 11 29 00 BC D0 21 0D 13 0A 01 00 80 Layer 0(01D26180,57BE551A) Dropped(017): 06 10 05 30 00 11 29 00 BC D0 21 0D 13 0A 01 00 80 Layer 0(01D570D0,57BE551B) Recv(008): 68 0A 0A 68 F3 29 BC 21 Layer 0(01D570D0,57BE551B) Recv(008): 0F 13 6E E1 00 80 EA 16 Layer 0(01D570D0,57BE551B) Send Ack(001): E5 Layer 0(01D157B0,57BE551B) Send(017): 06 10 05 30 00 11 29 00 BC D0 21 0F 13 6E 01 00 80 Layer 0(01D26180,57BE551B) Dropped(017): 06 10 05 30 00 11 29 00 BC D0 21 0F 13 6E 01 00 80 Layer 0(01D26180,57BE551C) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D570D0,57BE551C) Send(016): 68 0A 0A 68 73 11 0C 00 00 13 14 C1 00 00 78 16 Layer 0(01D570D0,57BE551C) Recv(001): E5 Layer 0(01D570D0,57BE551C) Recv(008): 68 0A 0A 68 D3 2E BC 00 Layer 0(01D570D0,57BE551C) Recv(008): 0A 13 14 C1 00 00 AF 16 Layer 0(01D570D0,57BE551C) Send Ack(001): E5 Layer 0(01D570D0,57BE551C) Recv(008): 68 0C 0C 68 F3 29 BC 21 Layer 0(01D570D0,57BE551C) Recv(008): 0D 13 14 E3 00 40 0C 90 Layer 0(01D570D0,57BE551D) Recv(002): EC 16 Layer 0(01D570D0,57BE551D) Send Ack(001): E5 Layer 0(01D157B0,57BE551D) Send(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C 90 Layer 0(01D26180,57BE551D) Dropped(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C 90 Layer 0(01D26180,57BE551D) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE551D) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 0(01D26180,57BE551E) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00

smurfix commented 8 years ago

On 25.08.2016 04:41, mycroft2k wrote:

root@raspberrypi:~# knxd -e 0.0.0.10 -t1 -i -DRTS -b ft12:/dev/ttyAMA0 That -e address looks strange, three dots??

Also, which version is this?

Please repeat with -t1023.

-- Matthias Urlichs

mycroft2k commented 8 years ago

i have compile 'master' and 'conn_sep' but the 'knxd -V' show only 0.10.0

ETS Groupmonitor knxd_failed_2

root@raspberrypi:~# knxd -e 0.0.10 -t1023 -i -DRTS -b ft12:/dev/ttyAMA0 Layer 3(0187DC70,57BEC4B3) Open Layer 8(0188E1F8,57BEC4B3) OpenInetSocket 6720 Layer 8(0188E1F8,57BEC4B3) InetSocket opened Layer 3(0187DC70,57BEC4B3) registerLayer2 0188E21C Layer 3(0187DC70,57BEC4B3) registerLayer2 0188E21C = 1 Layer 8(0189E710,57BEC4B3) Open Layer 0(0189E7B0,57BEC4B3) Open Layer 0(0189E7B0,57BEC4B3) Openend Layer 8(0189E890,57BEC4B3) OpenD Layer 0(018AF180,57BEC4B3) Open Layer 0(018AF180,57BEC4B3) Openend Layer 8(0189E890,57BEC4B3) OpenedD Layer 8(0189E710,57BEC4B3) Opened Layer 3(0187DC70,57BEC4B3) registerLayer2 0189E738 Layer 3(0187DC70,57BEC4B3) registerLayer2 0189E738 = 1 Layer 1(018E00D0,57BEC4B3) Open Layer 1(018E00D0,57BEC4B3) Opened Layer 2(018F06E8,57BEC4B3) Open Layer 2(018F06E8,57BEC4B3) Opened Layer 3(0187DC70,57BEC4B3) registerLayer2 018F06E8 Layer 2(018F06E8,57BEC4B3) OpenL2 Layer 1(018E00D0,57BEC4B3) SendReset Layer 3(0187DC70,57BEC4B3) L3 started Layer 1(018E00D0,57BEC4B3) Send(007): A9 1E 12 34 56 78 9A Layer 0(018E00D0,57BEC4B3) Send(004): 10 40 40 16 Layer 1(018E00D0,57BEC4B3) Send(007): A9 00 18 34 56 78 0A Layer 0(018E00D0,57BEC4B3) Recv(001): E5 Layer 0(018E00D0,57BEC4B3) Send(014): 68 08 08 68 73 A9 1E 12 34 56 78 9A E8 16 Layer 0(018E00D0,57BEC4B3) Recv(001): E5 Layer 0(018E00D0,57BEC4B3) Send(014): 68 08 08 68 53 A9 00 18 34 56 78 0A 20 16 Layer 0(018E00D0,57BEC4B3) Recv(001): E5 Layer 3(0187DC70,57BEC4B3) registerLayer2 018F06E8 = 1 W00000020: EIBD should not run as root Layer 0(018AF180,57BEC4B9) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4B9) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4B9) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4B9) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4B9) RecvData L_Data low from 0.0.1 to 2/3/20 hops: 04 T_DATA_XXX_REQ A_GroupValue_Read Layer 2(018F06E8,57BEC4B9) Send L_Data low from 0.0.1 to 2/3/20 hops: 04 T_DATA_XXX_REQ A_GroupValue_Read Layer 1(018F06E8,57BEC4B9) Send L_Data low from 0.0.1 to 2/3/20 hops: 04 T_DATA_XXX_REQ A_GroupValue_Read Layer 1(018E00D0,57BEC4B9) Send(009): 11 0C 00 00 13 14 C1 00 00 Layer 0(018E00D0,57BEC4B9) Send(016): 68 0A 0A 68 73 11 0C 00 00 13 14 C1 00 00 78 16 Layer 0(018E00D0,57BEC4B9) Recv(001): E5 Layer 0(018E00D0,57BEC4B9) Recv(008): 68 0A 0A 68 F3 2E BC 00 Layer 0(018E00D0,57BEC4B9) Recv(008): 0A 13 14 C1 00 00 CF 16 Layer 0(018E00D0,57BEC4B9) Send Ack(001): E5 Layer 1(018E00D0,57BEC4B9) Recv(009): 2E BC 00 0A 13 14 C1 00 00 Layer 0(018E00D0,57BEC4B9) Recv(008): 68 0C 0C 68 D3 29 BC 21 Layer 0(018E00D0,57BEC4B9) Recv(008): 0D 13 14 E3 00 40 0C AC Layer 0(018E00D0,57BEC4B9) Recv(002): E8 16 Layer 0(018E00D0,57BEC4B9) Send Ack(001): E5 Layer 1(018E00D0,57BEC4B9) Recv(011): 29 BC 21 0D 13 14 E3 00 40 0C AC Layer 2(018F06E8,57BEC4B9) Recv L_Data low from 2.1.13 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Response 0C AC Layer 3(0187DC70,57BEC4B9) Enqueue L_Data low from 2.1.13 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Response 0C AC Layer 3(0187DC70,57BEC4B9) RecvData L_Data low from 2.1.13 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Response 0C AC Layer 8(0189E710,57BEC4B9) Send_Route L_Data low from 2.1.13 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Response 0C AC Layer 1(0189E7B0,57BEC4B9) Send(013): 29 00 BC D0 21 0D 13 14 03 00 40 0C AC Layer 0(0189E7B0,57BEC4B9) Send(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C AC Layer 0(018AF180,57BEC4B9) Dropped(019): 06 10 05 30 00 13 29 00 BC D0 21 0D 13 14 03 00 40 0C AC Layer 0(018AF180,57BEC4BB) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BB) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BB) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BB) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BB) Repeated discareded Layer 0(018AF180,57BEC4BC) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BC) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BC) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BC) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BC) Repeated discareded Layer 0(018AF180,57BEC4BD) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BD) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BD) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BD) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BD) Repeated discareded Layer 0(018AF180,57BEC4BD) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BD) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BD) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BD) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BD) Repeated discareded Layer 0(018AF180,57BEC4BD) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BD) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BD) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BD) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BD) Repeated discareded Layer 0(018AF180,57BEC4BE) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BE) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BE) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BE) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BE) Repeated discareded Layer 0(018AF180,57BEC4BE) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BE) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BE) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BE) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BE) Repeated discareded Layer 0(018AF180,57BEC4BF) Recv(017): 06 10 05 30 00 11 29 00 8C E0 00 01 13 14 01 00 00 Layer 1(018AF180,57BEC4BF) Recv(011): 29 00 8C E0 00 01 13 14 01 00 00 Layer 8(0189E710,57BEC4BF) Recv_Route L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BF) Enqueue L_Data (repeated) low from 0.0.1 to 2/3/20 hops: 05 T_DATA_XXX_REQ A_GroupValue_Read Layer 3(0187DC70,57BEC4BF) Repeated discareded ^CLayer 3(0187DC70,57BEC4CA) Close Layer 3(0187DC70,57BEC4CA) L3 stopping Layer 2(018F06E8,57BEC4CA) Destroy Layer 1(018E00D0,57BEC4CA) Close Layer 8(0189E710,57BEC4CA) Close Layer 0(0189E7B0,57BEC4CA) Close Layer 8(0189E890,57BEC4CA) CloseD Layer 0(018AF180,57BEC4CA) Close Layer 8(0188E1F8,57BEC4CA) StopServer Layer 8(0188E1F8,57BEC4CA) StopBaseServer Layer 3(0187DC70,57BEC4CA) deregisterServer 0188E1F8 = 0 root@raspberrypi:~#

smurfix commented 7 years ago

The current master branch should work. Please test.

mycroft2k commented 7 years ago

with knxd 0.13.0:40742d6 not working

smurfix commented 7 years ago

Sorry … it's been some time. Please test the stable branch instead. I have also updated master to reflect the current stable branch, but it's not considered to be stable.

mycroft2k commented 7 years ago

with knxd 0.12.9-2 the same problem