[Xenomai] __map_umm return NULL
rpm at xenomai.org
Thu Dec 15 15:14:28 CET 2016
On 12/15/2016 10:59 AM, Julien Stephan wrote:
> As explained in my previous question "TIP_HEAD bit during Xenomai
> initialization" I am porting xenomai 3 on a new architecture.
> My problem here is that the function __map_umm return NULL. This cause a
> SEGV in cobalt_commit_memory.
> I step into __map_umm with gdb and noticed that there is an open on
> /dev/rtdm/memdev-private which return fd = 0 : I think this is not
> normal ....
> Then there is the ioctl command, which does not return an error and
> finally, the mmap function that return NULL. I am pretty sure that this
> is not normal too.
> So what could be the cause?
The code implementing the syscall interception by the pipeline seems
broken. Since you did not mention which architecture you are porting to,
I can't comment further.
More information about the Xenomai