Question about hello tutorial
stefan.kalkowski at ...1...
Wed Sep 15 11:43:33 CEST 2010
On Tuesday, 14. September 2010 22:25:22 Ruchith Fernando wrote:
> I'm very new to Genode :-).
that's fine, you're welcome!
> First I tried the quick start  and then I tried to setup the hello
> tutorial with the instructions available with the distribution (10.08)
> I ran into an issue when adding the entry to the /bin/config file
> where the given config entry seems to be incorrect in syntax.
You are totally right, we changed the configuration syntax of init in the last
release to something mightier, which is also a little bit more sophisticated.
The documentation of the hello_world example hasn't been fixed yet, thank you
for that hint! We will change that immediatly.
Now, if a child wants to announce its services, this has to be stated within
the start entry of that child. In the hello world example change the start
<resource name="RAM" quantum="1M"/>
> I added the following :
> <start name="hello_server">
> <resource name="RAM" quantum="1M"/>
> Now when I run ./core I get the following output :
> [init -> hello_server]
> Genode::Allocator*): Creating root component.
> [init] virtual bool Child::announce_service(const char*,
> Genode::Root_capability, Genode::Allocator*): hello_server: illegal
> announcement of service "Hello"
> Is it possible that I have missed something?
> I did look into the os/src/init/main.cc file (announce_service() )
> that reports the error and I found that after execution of :
> Genode::Service *s = _child_services->find(service_name,
> &_server); s is null.
> 1. http://genode.org/documentation/developer-resources/getting_started
> 2. hello_tutorial/doc/hello_tutorial.txt
>--- Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
http://www.genode-labs.com/ · http://genode.org/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users