[ELDK] [Xenomai-help] shm_open returns errno 38 - function not implemented
gilles.chanteperdrix at xenomai.org
Sat Oct 17 17:42:25 CEST 2009
Yigal Goldberger wrote:
> Hi Again Gilles,
> I've also sent this mail to the DENX mailing list , since the toolchain is suplied by DENX.
> Our board was ported some two months ago by DENX software based on the MPC8272 (freescale) .
> I'd like to add the support for shared memory , but as I said I'd like to keep the system as untouched as possible - as I said It's been tested and is running stable and with good performance .
> Since I know that these things are delicate, I'd appreciate your guidance as to which files I need replaced (by which files) , and which configurations need be changed .
> Best Regards,
> Yigal Goldberger .
Could you show me the config.log file extracted from xenomai build
directory? After all, your glibc may support posix shared memories, but
something prevent them from working. In order for the posix shared
memories to work you must have:
- tmpfs support in the kernel configuration
- something like a script or a line in /etc/fstab which mounts a tmpfs
filesystem on /dev/shm (a drectory that must exist, too).
Otherwise, to enable shared memories in xenomai posix skin, you simply
have to enable the option in the kernel configuration, menu "Real-time
subsystem", Nucleus, Interfaces, POSIX API, then Option "shared memory".
More information about the eldk