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

Christian Helmuth christian.helmuth at ...1...
Mon Apr 7 16:09:40 CEST 2014


Hello Wolfgang,

please try to answer my questions below (I already posted to answer
your previous email). Currently, I have no idea what may cause the
"lx_mmap failed".

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

On Sun, Mar 30, 2014 at 04:06:22PM +0200, w_schmidt at ...181... wrote:
> Hello,
> 
> I tried to run the genode tutorial.
> 
> I first installed it on an AMD Athlon x64 with nForce4- Mainboard.
> run/demo stopped there after init -> nitpicker] create session with args: label="launchpad", ram_quota=12288
> 
> I made a second try on 
> a) a virtualBox machine with brand new installation of Unbuntu 12.04 x64 (git)
> and
> b) an old Evo N610c Pentium 4 with Ubuntu 12.04 x86 (14.02 from tar.gz of latest releases)
> 
> I think a few Steps are missing within the Step-By-Step tutorial http://genode.org/documentation/developer-resources/client_server_tutorial
> 
> As a prestep for “Setting up the build environment” i created a new build directory with './tool/create_builddir linux_x86 BUILD_DIR=build.hello'.
> As i did not have a lot of files in it, I tried a first ‘make’. 
> In build/etc/build.conf I added 
> REPOSITORIES += $(GENODE_DIR)/hello_testIn the bin directory i created a new config directory with config file.
> 
> The server section seems to have only one .h file, I put the three listings in one main.cc file (as later in the document it is mentioned that in target.mk SCR_CC = main.cc an obviously no includes to the other files are given).
> 
> Afterwards i tried ‘make hello’ which returned no error.
> 
> With ‘cd run’, ‘./core’ only the following output appered:
> 
> |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
> 
> 
> If i try to run it again with dmesg the follwoing output appears:
> [ 4774.659901] core[12189]: segfault at 7f2ed162e068 ip 00000000010310c9 sp 00000000400ffce0 error 4 in core[1000000+5b000]
> (equal if i try git verison or archive version)
> 
> I also tried to point the repository to the already existing hello_tutorial, but get the same result.
> 
> What am I doing wrong?
> 
> Best regards
> Wolfgang

> ------------------------------------------------------------------------------

> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main




More information about the users mailing list