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  2023  <20242025  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  2023  <20242025 
<== Date ==> <== Thread ==>

Subject: Warning on Linux kernel < 2.6.31 (Re: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL)
From: Shuei YAMADA via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sat, 14 Sep 2024 13:39:59 +0900
Dear colleagues,

I'm testing EPICS R7.0.8.1 on an embedded linux system (Yokogawa
F3RP61),  whose linux kernel is 2.6.26. When I start IOC on it I get
following message:

Warning: Unable to clear IP_MULTICAST_ALL (err=92). This may cause
problems on multi-homed hosts

The same applies when I run caget or camonitor on F3RP61.

I found that EPICS Base #defines IP_MULTICAST_ALL if the kernel header
does not #defines it.

This results to calling setsockopt() with IP_MULTICAST_ALL on those
old linux kernels which do not support this option, which definitely
fails and results in the warning.

Is there no way to avoid this warning other than upgrading kernel>=
2.6.31? - which means replacing 15-Years-old F3RP61 with something
else. It is unlikely that Yokogawa provides an up-to-date kernel for
such an old product.

# Of course I can patch the EPICS base installed on our site, but ...

regards,
Shuei

> Hello,
>
>
> I'm testing the current softIoc (EPICS R7.0.7.1-DEV Rev. R7.0.7-194-g7a65c001ce178f2547fa) on a Windows subsystem for Linux (WSL). The subsystem is Ubuntu 22.04.3.
> When I start the softIoc I always get the following message:
>
> Warning: Unable to clear IP_MULTICAST_ALL (err=92). This may cause problems on multi-homed hosts
>
> Apart from this warning, everything seems to work fine.
>
> Is this a WSl thing or a misconfiguration? How can I fix this?
>
> Best,
> Carsten

--
                 ----------------------------------------------------
                 Shuei Yamada,
                 High Energy Accelerator Research Organization (KEK)
                 mailto:shuei at post.kek.jp
                 ----------------------------------------------------

Navigate by Date:
Prev: Re: HTTP PUT Request - StreamDevice Kyle Hesse via Tech-talk
Next: Re: Help with rtems nfs mounting Chris Johns 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  2023  <20242025 
Navigate by Thread:
Prev: Re: HTTP PUT Request - StreamDevice Zimoch Dirk via Tech-talk
Next: Initializing lsi or waveform with long string in 3.15.9 Barrett (US), Patrick E 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  2023  <20242025 
ANJ, 17 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·