From: Julien Stephan Message-ID: <3aafa6c7-d201-bc14-d32c-48480e56bf2a@smile.fr> Date: Thu, 15 Dec 2016 10:59:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Xenomai] __map_umm return NULL List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xenomai@xenomai.org Hello, 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? Julien -- Logo 14 rue Génissieu 38000 GRENOBLE www.smile.fr *Julien STEPHAN* Ingénieur étude et développement Email : julien.stephan@smile.fr Tel : +33 (0)4.58.00.19.59 bandeaux_mail eco Pour la planète, n'imprimez ce mail que si c'est nécessaire