-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: libevent Warn: epoll_wait: Function not implemented #96
Comments
workaroundAdding the code below import os
os.environ['EVENT_NOEPOLL'] = '1' |
@konosubakonoakua Can you say more about your environment? Is there emulation? Also, which version of the Linux kernel are you running? Did you build this kernel yourself? I have encountered this error when running libevent based applications, including PVXS, in the valgrind analyzer. The workaround is as you describe. I recall this as a known issue with valgrind handling the epoll() syscalls, although I can not find a good reference just now... I run successfully PVXS on raspbian 11 without any workaround. You should confirm that $ sudo modprobe configs
$ zgrep EPOLL /proc/config.gz
CONFIG_EPOLL=y |
@mdavidsaver I'm running softioc on a raspberry-pi-like SBC (radxa zero 3e) with dietpi os installed which is actually a debian bookworm distribution. |
I found something: Line 260 in ff1d651
epoll_pwait2 was introduced in Linux 5.11, so maybe I need to install a newer kernel |
How are you getting, or building, the binaries you test? eg. where/how is the pvxslibs wheel built?
Or alternately, rebuild the wheels on your host, or one with the same or older set of kernel headers. fyi. One reason why the Linux wheels uploaded to pypi.org are built on older container images is to take advantage of this backwords compatibility. |
I install the python lib: softioc by |
If only the Internet could be so simple :) So far no aarch64 wheels are published to pypi.org for pvxslibs. So where is are the wheels you use coming from? A raspbian install defaults to using pre-built wheels from
fyi. $ virtualenv junk
$ ./junk/bin/pip install -v --only-binary :all: softioc
...
https://www.piwheels.org:443 "GET /simple/numpy/numpy-2.0.2-cp39-cp39-linux_armv7l.whl HTTP/1.1" 200 5849369
... |
Piwheels only support 32bit version of arm SoCs. |
It may be helpful to see the full |
ok, I'll do it tomorrow |
Describe the bug
libevent Warn: epoll_wait: Function not implemented when using pythonsoftioc
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Information (please complete the following):
Alternately, from a successful build, include the output of
pvxinfo -D
.Network configuration
Values of any
$EPICS_PVA*
environment variables.Mention if host(s) have more than one network interface, or on different subnets.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: