Skip to content

Failure to create VPorts - sn_host_ioctl_create_netdev():447 invalid BAR address #918

@trozet

Description

@trozet

Upon trying to create VPort for either a container or just on the host, I see:

localhost:10514 $ run file /home/trozet/Code/bess/bessctl/trozet.py
*** Error: Unhandled exception in the configuration script (most recent call last)
File "/home/trozet/Code/bess/bessctl/trozet.py", line 1, in
container_if = VPort(ifname='eth_host_test', ip_addrs=['10.255.99.1/24'])
File "/home/trozet/Code/bess/bessctl/../pybess/port.py", line 42, in init
self.choose_arg(None, kwargs))
File "/home/trozet/Code/bess/bessctl/../pybess/bess.py", line 383, in create_port
return self._request('CreatePort', request)
File "/home/trozet/Code/bess/bessctl/../pybess/bess.py", line 272, in _request
raise self.Error(code, errmsg, query=name, query_arg=req_dict)
***** Error: SN_IOC_CREATE_HOSTNIC failure**
BESS daemon response - errno=1 (EPERM: Operation not permitted)
query: CreatePort
query_arg: {'driver': 'VPort', 'arg': {'type_url': 'type.googleapis.com/bess.pb.VPortArg', 'value': '\n\reth_host_testJ\x0e10.255.99.1/24'}}

[trozet@localhost bin]$ dmesg | tail -n 1
[778856.477580] bess - sn_host_ioctl_create_netdev():447 invalid BAR address: phys=ffffffffffffffff virt=00000000501baed2

[trozet@localhost bin]$ uname -a
Linux localhost.localdomain 4.18.12-200.fc28.x86_64 #1 SMP Thu Oct 4 15:46:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

###bessd.INFO:

I0523 11:47:05.589193 13205 bessctl.cc:487] *** All workers have been paused ***
I0523 11:47:05.590729 13206 vport.cc:241] BAR total_bytes = 9408
I0523 11:47:05.590832 13206 vport.cc:545] virt: 0x7f4db7a5ad00, phys: 18446744073709551615
I0523 11:47:05.592839 13207 bessctl.cc:691] Checking scheduling constraints

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions