EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  2025  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  2025 
<== Date ==> <== Thread ==>

Subject: Don't use epics-base with WSL 1 (Re: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL)
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Carsten Winkler <carsten.winkler at helmholtz-berlin.de>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 24 Nov 2023 12:51:38 -0800
On 11/24/23 00:29, Carsten Winkler via Tech-talk wrote:
Hi Ralph!


This means that we cannot use Docker under Windows with a SoftIOC.

To clarify.  "WSL" is slightly ambiguous.  There is the WSL 1 series,
and the 2 series.

https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

WSL 1 is imo. practically unable to support PVA and CA.

WSL 2 can work (as Ralph shows) after the usual "guest" to host
virtual networking configuration is understood.

tldr...

Both PVA and CA protocols depend on less common features of TCP/IP
stacks which behave slightly differently on Linux vs. Windows vs. BSD.
Over the years, we have identified a set of workarounds for these
"quirks".  Of course this depend on being able to identify which TCP/IP
stack implementation is actually *running*.  A build time check is
not sufficient.

With WSL 1, I was not able to find a reliable way to identify that
this "Linux" host actually has Windows IP stack quirks.

The opposite situation exists with WINE where a "Windows" host
actually has Linux IP stack quirks.  Unlike WSL 1, this situation
can be detected at runtime.

https://github.com/mdavidsaver/pvxs/blob/0bddf561eb2bfdef673476b5398365f83f8e3ead/src/os/WIN32/osdSockExt.cpp#L25-L30


Replies:
Re: Don't use epics-base with WSL 1 (Re: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL) J. Lewis Muir via Tech-talk
References:
Re: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL Carsten Winkler via Tech-talk

Navigate by Date:
Prev: Re: Beckhoff ADS to EPICS Torsten Bögershausen via Tech-talk
Next: Re: Beckhoff ADS to EPICS Lesley via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  2025 
Navigate by Thread:
Prev: Re: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL Ralph Lange via Tech-talk
Next: Re: Don't use epics-base with WSL 1 (Re: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL) J. Lewis Muir via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  2025 
ANJ, 28 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·