nic_drv crashes with resource request

Boris Mulder boris.mulder at ...434...
Mon May 22 10:24:32 CEST 2017


Hello,

When I try to run my scenario under the latest master branch, the
nic_drv stops working with the following message:

[init] child "nic_drv" announces service "Nic"
[init -> nic_drv] resource_request: ram_quota=1642496
[init -> nic_drv] used before freeing emergency=2478080
[init -> nic_drv] used after freeing emergency=2461696
[init] child "nic_drv" requests resources: ram_quota=1642496

I've tried giving it and its client (in this case vfs with lxip) more
RAM, but to no avail. Currently the config looks like this:

<start name="vfs">
        <resource name="RAM" quantum="36M"/>
        <provides> <service name="File_system"/> </provides>
        <config ld_verbose="yes">
            <vfs>
                <lxip ip_addr="$ip_addr" netmask="255.255.255.0"
                      gateway="$gateway_ip_addr" nameserver="8.8.8.8"/>
            </vfs>
            <libc/>
            <default-policy writeable="yes" />
        </config>
        <route>
            <service name="Nic">  <child name="nic_drv"/> </service>
            <any-service> <parent/> <any-child/> </any-service>
        </route>
</start>

<start name="nic_drv">
        <resource name="RAM" quantum="4M"/>
        <provides> <service name="Nic"/></provides>
        <config verbose="yes">
            <libc stdout="/dev/log" stderr="/dev/log"/>
            <vfs>
                <dir name="dev"> <log/> </dir>
            </vfs>
        </config>
</start>

What could I be doing wrong?

-- 

Met vriendelijke groet / kind regards,

Boris Mulder

Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands
+31 35 631 3253 (office)





More information about the users mailing list