On 03/02/2016 06:15 PM, Andrew Johnson wrote:
> Ok, it's called 3 times by rsrv_build_addr_lists() at iocInit, and it's
> the middle time (beaconAddrList) that squawks:
The call to osiSockDiscoverBroadcastAddresses() is adding the address to
its output list twice. Cygwin uses the
libCom/osi/os/default/osdNetIntf.c implementation, so I rebuilt that
file with DEBUG to enable messages:
> Starting iocInit
> ############################################################################
> ## EPICS R3.15.3-DEV $$Date$$
> ## EPICS Base built Mar 2 2016
> ############################################################################
> ifreqNext() pifreq 0x600104c30, size 0x50, ifr 0x0x600104c80
> osiSockDiscoverBroadcastAddresses(): found IFACE: {6D740D7B-7CB5-4E95-8082-3858A0463BF0} len: 0x2c current_ifreqsize: 0x50
> found broadcast addr = a43616ff
> osiSockDiscoverBroadcastAddresses(): net intf "{6D740D7B-7CB5-4E95-8082-3858A0463BF0}" found
> ifreqNext() pifreq 0x600104c80, size 0x50, ifr 0x0x600104cd0
> osiSockDiscoverBroadcastAddresses(): found IFACE: {2BC35C5D-5E9B-44D1-844B-3E58710347AC} len: 0x2c current_ifreqsize: 0x50
> found broadcast addr = a43616ff
> osiSockDiscoverBroadcastAddresses(): net intf "{2BC35C5D-5E9B-44D1-844B-3E58710347AC}" found
> ifreqNext() pifreq 0x600104cd0, size 0x50, ifr 0x0x600104d20
> osiSockDiscoverBroadcastAddresses(): found IFACE: {846EE342-7039-11DE-9D20-806E6F6E6963} len: 0x2c current_ifreqsize: 0x50
> osiSockDiscoverBroadcastAddresses(): net intf "{846EE342-7039-11DE-9D20-806E6F6E6963}": not point to point or bcast?
> Warning: Duplicate EPICS CA Address list entry "164.54.22.255:5065" discarded
> iocRun: All initialization complete
With display of the IFFLAGS parameter added there is a difference in the
flags:
> osiSockDiscoverBroadcastAddresses(): found IFACE: {6D740D7B-7CB5-4E95-8082-3858A0463BF0} len: 0x2c current_ifreqsize: 0x50
> osiSockDiscoverBroadcastAddresses(): net intf "{6D740D7B-7CB5-4E95-8082-3858A0463BF0}" flags: 11043
> found broadcast addr = a43616ff
> osiSockDiscoverBroadcastAddresses(): net intf "{6D740D7B-7CB5-4E95-8082-3858A0463BF0}" found
> ifreqNext() pifreq 0x600104c80, size 0x50, ifr 0x0x600104cd0
> osiSockDiscoverBroadcastAddresses(): found IFACE: {2BC35C5D-5E9B-44D1-844B-3E58710347AC} len: 0x2c current_ifreqsize: 0x50
> osiSockDiscoverBroadcastAddresses(): net intf "{2BC35C5D-5E9B-44D1-844B-3E58710347AC}" flags: 11003
> found broadcast addr = a43616ff
> osiSockDiscoverBroadcastAddresses(): net intf "{2BC35C5D-5E9B-44D1-844B-3E58710347AC}" found
> ifreqNext() pifreq 0x600104cd0, size 0x50, ifr 0x0x600104d20
> osiSockDiscoverBroadcastAddresses(): found IFACE: {846EE342-7039-11DE-9D20-806E6F6E6963} len: 0x2c current_ifreqsize: 0x50
> osiSockDiscoverBroadcastAddresses(): net intf "{846EE342-7039-11DE-9D20-806E6F6E6963}" flags: 11049
> osiSockDiscoverBroadcastAddresses(): net intf "{846EE342-7039-11DE-9D20-806E6F6E6963}": not point to point or bcast?
> Warning: Duplicate EPICS CA Address list entry "164.54.22.255:5065" discarded
...
- Andrew
--
There are only two hard problems in distributed systems:
2. Exactly-once delivery
1. Guaranteed order of messages
2. Exactly-once delivery
-- Mathias Verraes
- References:
- Base R3.16.0.1 ? Andrew Johnson
- Re: Base R3.16.0.1 ? Michael Davidsaver
- Re: Base R3.16.0.1 ? Johnson, Andrew N.
- Re: Base R3.16.0.1 ? Michael Davidsaver
- Re: Base R3.16.0.1 ? Andrew Johnson
- Navigate by Date:
- Prev:
Re: Base R3.16.0.1 ? Andrew Johnson
- Next:
Build failed in Jenkins: epics-base-3.16-linux32-test #29 APS Jenkins
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Base R3.16.0.1 ? Andrew Johnson
- Next:
Build failed in Jenkins: epics-base-3.15-win32-test #33 APS Jenkins
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|