Problem with custom rm-service

David Werner wernerd at ...389...
Mon Feb 8 15:26:17 CET 2016


Hi Genode mailing list,

the last few days I wrote a server component (called proxy_server) which 
offers a custom RM-service called "PRM" (Proxy_RM).

Under the hood the component maintains a Rm_connection within each 
Prm_session_component in order to use the original core rm_service. My 
aim is to intercept all attach and detach operations.

Compiling and linking works perfectly but when I run my system scenario 
(on foc_x86_64) I get the following output:


Genode 15.11-71-g2e0e767
int main(): --- create local services ---
int main(): --- start init ---
int main(): transferred 112 MB to init
int main(): --- init created, waiting for exit condition ---
[init] Could not open ROM session for module "ld.lib.so"
[init -> proxy_server] 
Proxy::Prm_root::Prm_root(Genode::Rpc_entrypoint*, 
Genode::Allocator*):Creating PRM_root_component...
[init -> proxy_server] int main(): PRM_root created and back in main!
[init -> proxy_server] virtual Proxy::Prm_session_component* 
Proxy::Prm_root::_create_session(const char*): Creating 
Prm_session_component...
[init -> proxy_server] int main(): PRM service announced -> going to 
sleep...
Genode::Signal_session_component::submit(Genode::Signal_context_capability, 
unsigned int)::<lambda(Genode::Signal_context_component*)>: invalid 
signal-context capability
Genode::Pager_entrypoint::entry()::<lambda(Genode::Pager_object*)>: 
Could not resolve pf=401feff8 ip=100b9af
Error: Test execution timed out
make: *** [run/proxy] Fehler 254


I do not understand where the output:

Genode::Signal_session_component::submit(Genode::Signal_context_capability, 
unsigned int)::<lambda(Genode::Signal_context_component*)>: invalid 
signal-context capability
Genode::Pager_entrypoint::entry()::<lambda(Genode::Pager_object*)>: 
Could not resolve pf=401feff8 ip=100b9af

comes from.

Is there anyone who can help me with this or who has an idea what I can try?

If needed I can post my code here.

Best Regards,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20160208/cc2b064b/attachment.html>


More information about the users mailing list