Creating your first Genode application - Build succesful, but execution fails

Christian Helmuth christian.helmuth at ...1...
Mon Mar 31 08:47:53 CEST 2014


Hello Wolfgang,

welcome to the list.

On Sun, Mar 30, 2014 at 04:06:22PM +0200, w_schmidt at ...181... wrote:
> |int main(): --- create local services ---
> |int main(): --- start init ---
> |int main(): transferred 17592186044415 MB to init
> |int main(): --- init created, waiting for exit condition ---
> |[init] _map_local: lx_mmap failed (addr_in=0,addr_out=ffffffffffffffed/-19) 
> overmap=0
> |[init] C++ runtime: Genode::Rm_session::Region_conflict
> |[init] void* abort(): abort called

This looks rather strange and if my interpretation is correct your
Linux kernel answers an mmap request with ENODEV (-19 in the lof
above). From the manpage of mmap:

  ERRORS
    ...
    ENODEV The underlying file system of the specified file does not
           support memory mapping.
    ...

Currently, I have no idea how this may happen. Genode creates files for
RAM dataspaces in the directory /tmp/genode-<uid> and uses mmap to
attach the RAM dataspaces to process address spaces. Could you please
post the output of

  grep "/tmp" /etc/mtab

For my system it looks like

  tmpfs /tmp tmpfs rw,noatime,mode=1777 0 0

Does Genode create the /tmp/genode-<uid> directory? If yes, please
post the contents of the directory.

Greets
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




More information about the users mailing list