<div dir="ltr"><div dir="ltr"><div>Dear Genodians,</div><div><br></div><div>I have been successfully playing around with Networking in the 16.XX releases using<br> the linux_x86 platform as a target.<br>
My genode instance used to run in a Ubuntu 14.04 LTS VM with a  Windows host.

</div><div>Despite the "creative" setup, the tun/tap setup bridged with one of the VM's adapters<br>worked like a charm.<br><br></div><div>After a jump to 18.11, using the linux platform as a target, I am experiencing troubles <br>with the linux_nic_drv:<br></div><div>The creation the driver component seems to fail during the creation of the file descriptors for its dataspaces: lx_mmap in _map_local fails with 22 (EINVAL) (see attached console output from the lwip_lx example).<br></div><div><br></div><div>I tested under Ubuntu 14.04 LTS in my old build environment as well as on a vanilla 16.04 LTS with a freshly installed genode toolchain & the current master.<br></div><div>Other examples, such as the demo scenario, run without any problems.<br></div><div><br></div><div>
<div>I have found an older discussion on the list from 2014 about failed memory mappings, but the <br></div><div>thread ended without coming to a real conclusion.</div>

I'd be more than glad for any idea what where to look for possible reasons for this behavior.<br></div><div><br></div><div>Best regards,<br></div><div>Chris<br><br></div><div>======= console log, for run/lwip_lx ===========<br></div><div><br></div><div>using 'core-linux' as 'core'<br>using 'linux_timer_drv' as 'timer'<br>using '<a href="http://ld-linux.lib.so">ld-linux.lib.so</a>' as '<a href="http://ld.lib.so">ld.lib.so</a>'<br>spawn ./core<br>Genode 18.11-117-ged65267 <local changes><br>17592186044415 MiB RAM and 8998 caps assigned to init<br>[init] parent provides<br>[init]   service "ROM"<br>[init]   service "IRQ"<br>[init]   service "IO_MEM"<br>[init]   service "IO_PORT"<br>[init]   service "PD"<br>[init]   service "RM"<br>[init]   service "CPU"<br>[init]   service "LOG"<br>[init] child "timer"<br>[init]   RAM quota:  776K<br>[init]   cap quota:  68<br>[init]   ELF binary: timer<br>[init]   priority:   0<br>[init]   provides service Timer<br>[init] child "linux_nic_drv"<br>[init]   RAM quota:  3848K<br>[init]   cap quota:  68<br>[init]   ELF binary: linux_nic_drv<br>[init]   priority:   0<br>[init]   provides service Nic<br>[init] child "test-lwip_httpsrv"<br>[init]   RAM quota:  4872K<br>[init]   cap quota:  68<br>[init]   ELF binary: test-lwip_httpsrv<br>[init]   priority:   0<br>[init -> linux_nic_drv] Error: _map_local: lx_mmap failed(addr_in=0x0, addr_out=0xffffffffffffffea/-22) overmap=0<br>[init -> linux_nic_drv] Error: LD: exception during program load: 'Genode::Region_map::Region_conflict'<br>[init -> linux_nic_drv] Error: Uncaught exception of type 'Genode::Region_map::Region_conflict'<br>[init -> linux_nic_drv] Warning: abort called - thread: ep<br>Warning: blocking canceled in entrypoint constructor<br>[init] child "linux_nic_drv" exited with exit value 1<br>[init -> test-lwip_httpsrv] Error: LD: symbol not found: '_nsyyin'<br>[init -> test-lwip_httpsrv] Error: Uncaught exception of type 'Linker::Not_found'<br>[init -> test-lwip_httpsrv] Warning: abort called - thread: ep<br>[init] child "test-lwip_httpsrv" exited with exit value 1<br>[init] child "timer" announces service "Timer"<br><br></div></div></div>