Any reason why you can't edit the makefile? On May 10, 2015 4:05 PM, "Aditya Kousik" <adit267.kousik@...9...> wrote:
So, my application has a libc_lxip dependency but I have yet to set up anything network related. It just links it because of LIBS += libc_lxip. But it tries to set up the entire network configuration which I haven't set up and it crashes looking for a Nic driver.
make[1]: Leaving directory `/media/adikou/work/proj/test/genode/build.linux' genode build completed spawn ./core Genode 15.02-295-g5d5e6d0 <local changes> int main(): --- create local services --- int main(): --- start init --- int main(): transferred 17592186044415 MB to init int main(): --- init created, waiting for exit condition --- [init -> handler] Could not open ROM session for module "config" [init -> handler] Could not obtain config file [init -> client_consumer] Could not open ROM session for module "config" [init -> client_consumer] Could not obtain config file [init -> client_consumer] no VFS configured [init -> handler] no VFS configured [init -> handler] pthread_key_create_exp: pthread_key_create called, not implemented [init -> client_consumer] pthread_key_create_exp: pthread_key_create called, not implemented [init -> handler] pthread_key_create_exp: pthread_key_create called, not implemented [init -> client_consumer] pthread_key_create_exp: pthread_key_create called, not implemented [init -> handler] Using DHCP for interface configuration. [init -> client_consumer] Using DHCP for interface configuration. [init -> handler] void init_libc_lxip(): init_libc_lxip() address config=dhcp [init -> client_consumer] void init_libc_lxip(): init_libc_lxip() address config=dhcp [init -> handler] INFO: NET: Registered protocol family 16 [init -> handler] INFO: NET: Registered protocol family 2 [init -> client_consumer] INFO: NET: Registered protocol family 16 [init -> client_consumer] INFO: NET: Registered protocol family 2 [init -> client_consumer] resource_request: ram_quota=8396800 [init -> handler] resource_request: ram_quota=8396800 [init] child "client_consumer" requests resources: ram_quota=8396800 [init] child "handler" requests resources: ram_quota=8396800 [init -> handler] INFO: Hash tables configured (established 524288 bind 524288) [init -> client_consumer] INFO: Hash tables configured (established 524288 bind 524288) [init -> client_consumer] INFO: reno registered [init -> handler] INFO: reno registered [init -> client_consumer] INFO: cubic registered [init -> handler] INFO: cubic registered [init] client_consumer: no route to service "Nic" [init] handler: no route to service "Nic" [init -> client_consumer] LD: Failed to load program [init -> handler] LD: Failed to load program [init -> client_consumer] Segmentation fault (signum=11), see Linux kernel log for details [init -> handler] Segmentation fault (signum=11), see Linux kernel log for details
My session does not use any major network calls at all. So, what causes this cascade of setup that ends with up the nic?
Thanks, Aditya.
On Sun, May 10, 2015 at 2:46 PM, Aditya Kousik <adit267.kousik@...9...> wrote:
Thanks. I saw exactly this in one of the run scripts of libports/run which adds the lib.so to the build_boot_image or boot_modules. My programs are continuously requesting for resources and core just seems to run out of it, and I'm running into segfaults on the way. But at, least I've got the ball rolling.
Cheers, Aditya
On Sun, May 10, 2015 at 2:42 PM, Nobody III <hungryninja101@...9...> wrote:
ld.lib.so is the dynamic linker. You need to include it in the boot modules. It looks like it's automatically build with core.
On Sun, May 10, 2015 at 8:43 PM, Aditya Kousik <adit267.kousik@...9...
wrote:
Oops. Apologies, message got sent before I finished. The error is this
genode build completed spawn ./core Genode 15.02-295-g5d5e6d0 int main(): --- create local services --- int main(): --- start init --- int main(): transferred 17592186044415 MB to init int main(): --- init created, waiting for exit condition --- [init] Could not open ROM session for module "ld.lib.so" [init] Dynamically linked file found, but no dynamic linker binary present [init] Dynamically linked file found, but no dynamic linker binary present
All shared objects are present in bin/ and I've added them to both boot_modules and build_boot_image. What's the dynamic linker binary that needs to be present? (ld is part of bin)
Thanks, Aditya
On Sun, May 10, 2015 at 1:41 PM, Aditya Kousik < adit267.kousik@...9...> wrote:
Hello,
I'm trying to run a modified version of the hello_tutorial to test some libraries that I've recently ported. While I am able to build the binaries, and the boot image, init gives me the following error:
One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main