Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
470 stars 290 forks source link

Issues on Simple talker and listener demo #167

Open velagapudisuresh12 opened 9 years ago

velagapudisuresh12 commented 9 years ago

Hi All,

I am compiled the open source code for "Open-avb-next" source code. I have done the h/w connections like below : [I210 NIC]<----------->[switch]<----------->[I210 NIC]

I am using Ubuntu 14.04LTS and kernel version : 3.13.0.40

Procedure for starting demo:

Compiled the open source code Installed the igb driver related to I210 nic card Running the gPTP daemons both PCs Running the mrpd daemons both PCs Running the simple talker example in PC1 Running the simple Listener example in PC2

I am facing below issues in talker side and packets are not received in Listener side which is not handled properly by mrpd.

Simple talker logs:

[sudo] password for builduser: attaching to 0000:03:00.0 detected domain Class A PRIO=3 VID=0002... advertising stream ... awaiting a listener ... VNE 0002 R=000000000000 VN/MT unhandled from mrpd VNE 0002 R=a0369f3ddaa0 QA/IN unhandled from mrpd VNE 0002 R=a0369f3ddaa0 AA/IN unhandled from mrpd VJO 0002 R=a0369f3ddaa0 VP/IN unhandled from mrpd VJO 0002 R=a0369f3ddaa0 VP/IN unhandled from mrpd VJO 0002 R=a0369f3ddaa0 VP/IN unhandled from mrpd VJO 0002 R=a0369f3ddaa0 QA/IN

Simple listener logs:

[sudo] password for builduser: Waiting for talker... Msg: VNE 0002 R=000000000000 VN/MT

Msg: VJO 0002 R=a0369f3dda84 QA/IN

Msg: SJO T:S=a0369f3dda840000,A=91e0f0000e80,V=0002,Z=84,I=1,P=96,L=3900 R=a0369f3dda84 VO/IN

Msg: SJO D:C=6,P=3,V=0002,N=3 R=a0369f3dda84 VP/IN

Msg: VJO 0002 R=a0369f3dda84 QA/IN

Msg: SJO T:S=a0369f3dda840000,A=91e0f0000e80,V=0002,Z=84,I=1,P=96,L=3900 R=a0369f3dda84 VO/IN

gPTP LOGS:

Using clock device: /dev/ptp0 Starting PDelay AsCapable: Enabled Switching to Slave New Grandmaster "A0:36:9F:FF:FE:3D:DA:84" (previous "00:00:00:00:00:00:00:00")

MRPD LOGS:

[sudo] password for builduser: process_events()

Kindly help me to solve the issue which is not receiving packets in listener side. Mrpd is not handled to connect from talker side which is not getting proper logs not seen in talker side which will give "got a new/join indication" of talker is getting expected logs below..

"attaching to 0000:02:00.0 detected domain Class A PRIO=3 VID=0002... advertising stream ... awaiting a listener ... EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication got a listener ... ml_phoffset = 0, ls_phoffset = -1373626286878862551 ml_freqffset = 0, ls_freqoffset = 0 EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication"

I am stuck with this issue "unhandled from mrpd"logs from simple talker side and not not able to capture the packets from listener side. Kindly let me know how to solve this issue to work on simple talker and listener demo. Thanks in advance.

Regards, Suresh.v

velagapudisuresh12 commented 9 years ago

Hi All,

I am stuck with Simple talker and listener demo.When I was running demo facing above logs and packets are not received on listener side.Kindly response to my above query and help to simple talker and listener demo run successfully.

Regards, Suresh.v

velagapudisuresh12 commented 9 years ago

Hi All,

I am stuck with the simple talker and listener demo. I have run the demo steps as mentioned above logs, I have captured the packets using wireshark in Listenr side.Packets are not seen listener side. Kindly help me on this query to working on the Simple talker and listener demo. Thanks in advance.

Regards, Suresh.v

intel-ethernet commented 9 years ago

Which packets are missing on the listener side – the M*RP packets or the actual AVB datapackets?

ekm

From: velagapudisuresh12 [mailto:notifications@github.com] Sent: Thursday, January 01, 2015 9:10 PM To: AVnu/Open-AVB Subject: Re: [Open-AVB] Issues on Simple talker and listener demo (#167)

Hi All,

I am stuck with the simple talker and listener demo. I have run the demo steps as mentioned above logs, I have captured the packets using wireshark in Listenr side.Packets are not seen listener side. Kindly help me on this query to working on the Simple talker and listener demo. Thanks in advance.

Regards, Suresh.v

— Reply to this email directly or view it on GitHubhttps://github.com/AVnu/Open-AVB/issues/167#issuecomment-68509221.

velagapudisuresh12 commented 9 years ago

Hi Ekm,

Thanks for reply to my query.I have used wireshark on both talker and listener side I am able to see only gPTP,MRPD packets on both sides and I am not seen any avb dapackets in listener side. Can you please let me know whether above daemon logs are correct behaviour for Simple talker and listener demo? Can help me to resolve this issue and how to receive avb data packets on listener side and Simple talker and listener demo works successfully. Kindly help on this issue and do the needful.Thanks in advance.

Regards, Suresh.v

intel-ethernet commented 9 years ago

A common problem is failing to enable the AVB VLAN on the listener side – a lot of LAN adapters filter out unrecognized VLANs and the host never sees the packets (including wireshark).

You can either hack on the base driver, or explicitly recreate a VLAN on the physical interface. This example assumes the AVB vlan as its default value (2).

vconfig add eth0 2 ifconfig eth0.2 up

ekm

From: velagapudisuresh12 [mailto:notifications@github.com] Sent: Sunday, January 04, 2015 10:05 PM To: AVnu/Open-AVB Cc: Mann, Eric Subject: Re: [Open-AVB] Issues on Simple talker and listener demo (#167)

Hi Ekm,

Thanks for reply to my query.I have used wireshark on both talker and listener side I am able to see only gPTP,MRPD packets on both sides and I am not seen any avb dapackets in listener side. Can you please let me know whether above daemon logs are correct behaviour for Simple talker and listener demo? Can help me to resolve this issue and how to receive avb data packets on listener side and Simple talker and listener demo works successfully. Thanks in advance.

Regards, Suresh.v

— Reply to this email directly or view it on GitHubhttps://github.com/AVnu/Open-AVB/issues/167#issuecomment-68671499.

intel-ethernet commented 8 years ago

Sounds like you don’t have a listener registered to receive the stream (?).

ekm