Help on running the Hello code in Genode.
Pramod Herath
pramoduh at ...9...
Sun Apr 7 07:53:47 CEST 2013
hi,
Thanks for the reply and sorry for taking so long to respond.
Really sorry for my carelessness and asking you for help. It did work out
but now I have a new problem. (This time I made sure I did no mistake ) Now
I get the message:
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] Could not open file "ld.lib.so"
Quota exceeded! amount=4096, size=4096, consumed=4096
[init] upgrading quota donation for SIGNAL session
[init] timer: no route to service "CAP"
[init] hello_server: no route to service "CAP"
[init] timer: no route to service "LOG"
[init] hello_server: no route to service "LOG"
[init] hello_client: no route to service "Hello"
[init] hello_client: no route to service "LOG"
So I took a look around in Genode site and decided to add few more lines to
the config file. The lines I added were:
<route>
<any-service> <parent/> <any-child/> </any-service>
</route>
I added this to each process in config file. Then I get a different error
message:
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] Could not open file "ld.lib.so"
Quota exceeded! amount=4096, size=4096, consumed=4096
[init] upgrading quota donation for SIGNAL session
Quota exceeded: timer
memory for slab: 1024
used quota: 66968
ds_size: 32768
sizeof(Ram_session_component): 408
quota_limit: 94208
Quota exceeded: hello_server
memory for slab: 2048
used quota: 72088
ds_size: 167936
sizeof(Ram_session_component): 408
quota_limit: 94208
[init -> timer] C++ runtime: Genode::Thread_base::Stack_alloc_failed
[init -> timer] void* abort(): abort called
Sorry for troubling you so much. But I'd appreciate any help. Thank you.
On Thu, Apr 4, 2013 at 11:03 PM, Christian Helmuth <
christian.helmuth at ...1...> wrote:
> Hello Pramod,
>
> welcome to the list :-)
>
> On Thu, Apr 04, 2013 at 09:58:31PM -0700, Pramod Herath wrote:
> > [init] Could not open file "config"
> > [init] Could not obtain config file
> > [init] C++ runtime: Genode::Config::Invalid
> > [init] void* abort(): abort called
> >
> > and the system seems to be waiting indefinitely.
> > Is there anything wrong I've done? Am I missing anything?
>
> The log output states that you are missing the file "config" and also
> that "init" could not obtain its configuration. The config file is
> essential to bootstrap the Genode system. Otherwise, init (which is
> the first process comparable to Linux's init) does not know which
> processes to start and how to configure resources. So in your case, it
> just throws an exception (Genode::Config::Invalid) which is not
> catched and, therefore, just aborts.
>
> You need to write the config file and put it into the bin/ directory
>
>
> http://genode.org/documentation/developer-resources/client_server_tutorial#Making_it_fly
>
> Then, the following should work
>
> cd bin; ./core
>
> Have fun
> --
> 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
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20130406/87c55313/attachment.html>
More information about the users
mailing list