Re: Networking Support in VirtualBox

2017-06-23 Thread Nobody III
Would it work to get logging output over LAN using terminal_log and tcp_terminal? On Fri, Jun 23, 2017 at 3:54 AM, Alexander Boettcher < alexander.boettc...@genode-labs.com> wrote: > Hello, > > On 22.06.2017 20:29, Chris Rothrock wrote: > > Here is what I tried to fix this: > > I have increased

Re: Genode on i.MX6Q Sabre Lite

2017-06-23 Thread Hinnerk van Bruinehsen
On Fri, Jun 23, 2017 at 12:00:42PM +0200, Norman Feske wrote: > Hello Yevgeny, > > On 23.06.2017 05:31, Yevgeny Lavrov wrote: > > Running the image on board gave no result, apart from msg: ## Starting > > application at 0x10001000 ... > > I wonder, how exactly are you running the image on the

Re: Query regarding extracting instruction which caused a data-abort exception

2017-06-23 Thread rijurekha
Why do you say you do not save DFAR in the assembler path? Isn't DFAR saved in lines 15. and 27. below, while other registers are saved in line 3. in base-hw/src/core/spec/arm_v7/trustzone/mode_transition.s? This is where control will come for csu abort with _mon_dab_entry: _nonsecure_to_secure

Re: Query regarding extracting instruction which caused a data-abort exception

2017-06-23 Thread Stefan Kalkowski
Hi, On 06/23/2017 11:10 AM, rijure...@mpi-sws.org wrote: > Why do you say you do not save DFAR in the assembler path? Isn't DFAR > saved in lines 15. and 27. below, while other registers are saved in line > 3. in base-hw/src/core/spec/arm_v7/trustzone/mode_transition.s? This is > where control

Re: Networking Support in VirtualBox

2017-06-23 Thread Alexander Boettcher
Hello, On 22.06.2017 20:29, Chris Rothrock wrote: > Here is what I tried to fix this: > I have increased the caps on the nic_bridge to 200 > increased the caps on the vbox1 and vbox2 to 500 > I removed the nic bridge from the config for one vbox in the virtualbox.run > (to see if I can get video

Re: Genode on i.MX6Q Sabre Lite

2017-06-23 Thread Norman Feske
Hello Yevgeny, On 23.06.2017 05:31, Yevgeny Lavrov wrote: > Running the image on board gave no result, apart from msg: ## Starting > application at 0x10001000 ... I wonder, how exactly are you running the image on the board? In particular, how is the image created? I am asking because the boot

Re: Query regarding extracting instruction which caused a data-abort exception

2017-06-23 Thread Stefan Kalkowski
Hi, On 06/22/2017 07:02 PM, rijure...@mpi-sws.org wrote: > Thanks a lot Stefan! base-hw/src/core/spec/arm_v7/trustzone/kernel/vm.cc > and base-hw/src/core/spec/arm_v7/trustzone/mode_transition.s makes the > memory sharing and register read/write between vmm and vm clearer. > > Further doubts: >

libc blocking functions/with_libc inside thread

2017-06-23 Thread Boris Mulder
Hi all, We are trying to get openVPN to work under 17.05 again. One issue we encountered was that lwip sockets seem to function incorrectly; so we tried switching to lxip sockets. However, sockets in lxip require the use of the with_libc() function. When I put this around the openvpn_main() call

Re: libc blocking functions/with_libc inside thread

2017-06-23 Thread Christian Helmuth
Hello Boris, On Fri, Jun 23, 2017 at 02:24:01PM +0200, Boris Mulder wrote: > However, sockets in lxip require the use of the with_libc() function. > When I put this around the openvpn_main() call it gives me the error: > > Error: void Libc::Kernel::run(Libc::Application_code&) called from >

Re: libc blocking functions/with_libc inside thread

2017-06-23 Thread Boris Mulder
Hello, > How does socket() fail if you do not wrap the call with with_libc()? > I'd expect the thread to open a socket_fs file and maybe block for the > I/O operation to complete. Also, is there any reason to use a > Genode::Thread which uses POSIX interfaces only (beside the admittedly > more

Re: libc blocking functions/with_libc inside thread

2017-06-23 Thread Christian Helmuth
Hey, On Fri, Jun 23, 2017 at 03:21:28PM +0200, Boris Mulder wrote: > Basically if I do not use with_libc, the call to socket() will hang > forever inside the first read() call to the socket file. So, which code does your initial entrypoint execute? As I wrote before, the initial entrypoint is

Re: Query regarding extracting instruction which caused a data-abort exception

2017-06-23 Thread rijurekha
Thanks Stefan! We completely missed DFAR and DFSR are **banked** across secure and non-secure worlds and the assembler path and the ::read are seeing two separate copies of these registers. We verified that we hit .macro _nonsecure_to_secure in monitor handler with the csu abort exception. We

Re: libc blocking functions/with_libc inside thread

2017-06-23 Thread Boris Mulder
Hello, > How does socket() fail if you do not wrap the call with with_libc()? > I'd expect the thread to open a socket_fs file and maybe block for the > I/O operation to complete. Also, is there any reason to use a > Genode::Thread which uses POSIX interfaces only (beside the admittedly > more

Re: libc blocking functions/with_libc inside thread

2017-06-23 Thread Boris Mulder
The entrypoint creates the root component, spawns the thread and returns. It will then handle RPC requests, as entrypoints do IIRC. The program acts as a server (serving Nic sessions asynchronously) and as a client to lxip vfs with libc. the code can be found in [1]. How can I have the