Hi Christian, Thank you for your answers. it really helps me out a lot.
I am trying to test the techniques you mentioned about accessing a function of a Noux process from tz_vmm. I put a file in a ram_fs and allow access to both my noux process and tz_vmm. When i run the uImage, the file is accessed by the noux process successfully but the tz_vmm process can't access it. Instead i got the following log message. what is missing? init -> tz_vmm -> vmm: unresolved pagefault at ip=73930 sp=e01fcf28 core -> pager_ep: cannot submit unknown signal context thanks and best regards, On Tue, Oct 20, 2015 at 9:37 PM, Christian Helmuth < christian.helm...@genode-labs.com> wrote: > Hello Joseph, > > On Tue, Oct 20, 2015 at 05:15:29PM +0200, Joseph Lee wrote: > > Now i am trying implement the solution you have suggested me, but I have > an > > error. I place a file in a ram_fs file system and permit access to the > file > > system to a Noux process. I got the following log messages when I tried > to > > access the file from the Noux process. The name of the Noux process is > > test. Appreciate if someone can help. > > > > no RM attachment (READ pf_addr=0 pf_ip=84ad from b2cfd156 test) > > void Genode::Signal_transmitter::submit(unsigned int): failed - error > 4 > > static void Genode::Pager_object::_page_fault_handler(Genode::addr_t): > > page fault, thread 'test', cpu 0, ip=84ad, fault > > address=0x0 > > This means your test program is dereferencing a pointer to address 0, > i.e., a NULL pointer. The message represent what you may know as > "segmentation fault (SEGV)" from POSIX. So please check your program > why the pointer you're dereferencing points to 0. Does the program > work when compiled and executed on Linux? > > Regards > -- > 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 > > > ------------------------------------------------------------------------------ > _______________________________________________ > genode-main mailing list > genode-main@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/genode-main >
------------------------------------------------------------------------------
_______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main