native gcc and external image mount example

Christian Helmuth christian.helmuth at genode-labs.com
Thu Jan 13 09:22:40 CET 2022


Alexander,

I must admit I'm a bit confused by the information in your message.

On Wed, Jan 12, 2022 at 18:22:17 CET, Alexander Tormasov via users wrote:
> it helps to get rid of message, but does not help to solve the problem of attachment of bash to tcp_terminal (failed to create <terminal> VFS node below)
> I want something like
> nic(tcp with port 8888) -> tcp_terminal -> bash
[...]
> If I follow your suggestion then it seems that I mentioned 2 separate port:
>  <policy label_prefix="vfs" port=«8888»/>
>  <policy label_prefix=«/bin/bash" port="8888"/>
[...]
> [init -> vfs] Error: Terminal-session creation failed (ram_quota=10240, cap_quota=3, label="")
> [init -> vfs] Error: failed to create <terminal> VFS node
> [init -> terminal] Warning: read blocked until lwIP interface is ready
> [init -> terminal] lwIP Nic interface up address=10.0.3.2 netmask=255.255.255.0 gateway=10.0.3.1
> [init -> terminal] listening on port 8888...
[...]
> I am able to connect telnet localhost 5555 -but no command can be executed and log say that bind to port 8888 failed right after telnet.
> [init -> terminal] listening on port 8888...
> [init -> terminal] connection established
> [init -> /bin/bash] Error: no plugin found for fcntl(3)
> [init -> /bin/bash] Error: no plugin found for fcntl(4)
> [init -> /bin/bash] Error: no plugin found for fcntl(5)
> [init -> /bin/bash] Error: no plugin found for fcntl(6)
> [init -> /bin/bash] Error: no plugin found for fcntl(7)
> [init -> /bin/bash] Error: no plugin found for fcntl(8)
> [init -> /bin/bash] Error: no plugin found for fcntl(9)
> [init -> /bin/bash] Error: no plugin found for fcntl(10)
> [init -> /bin/bash] Error: no plugin found for fcntl(11)
> [init -> /bin/bash] Error: no plugin found for fcntl(12)
> [init -> /bin/bash] Error: no plugin found for fcntl(13)
> [init -> /bin/bash] Error: no plugin found for fcntl(14)
> [init -> /bin/bash] Error: no plugin found for fcntl(15)
> [init -> /bin/bash] Error: no plugin found for fcntl(16)
> [init -> /bin/bash] Error: no plugin found for fcntl(17)
> [init -> /bin/bash] Error: no plugin found for fcntl(18)
> [init -> /bin/bash] Error: no plugin found for fcntl(19)
> [init -> terminal] Error: bind to port 8888 failed

1. It seems your configured 1 port for 2 clients. This will not work.
   Please, configure different ports (or just one if you don't need
   the VFS component, which failed to setup its connection anyway.

2. You mention "localhost 5555" but the tcp_terminal should be
   listening on 10.0.3.2 8888 according to the log.

3. As the configuration error must be in the configuration I can't
   tell more without a look at the complete config.

Greets
-- 
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · https://genodians.org/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth



More information about the users mailing list