Re: [Linuxptp-users] ptp4l stop with ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES message.
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2012-03-13 05:19:05
|
On Tue, Mar 13, 2012 at 08:58:36AM +0900, Takahiro Shimizu wrote: > > Wireshark places the MAC into promiscuous mode. Maybe your MAC is > > dropping UDP multicasts? > > > > > Yes, EG20T MAC drops UDP multicast in the situation. I think linuxptp seems > starting with promiscuous mode and leaves the promiscuous mode in the > situation. > However I can not see the any code about promiscuous mode in the linuxptp > source code. The ptp4l program calls setsockopt(IP_ADD_MEMBERSHIP), and this makes the networking stack do what it needs to (eg. set the multicast filter) in order to make it happen at the Ethernet level. > I want that linuxptp re-start automatically getting new announce message > after ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES. Well, if the master stops transmitting, then there is nothing linuxptp can do about it. You have a hardware (or driver) bug. Richard |