On ubuntu 16.04 everything is OK.
But in centos 8:
Virtualization: microsoft
Operating System: CentOS Linux 8 (Core)
CPE OS Name: cpe:/o:centos:centos:8
Kernel: Linux 4.18.0-193.el8.x86_64
Architecture: x86-64
[ 280.431537] 235.899909 [4550] netmap_init run mknod /dev/netmap c 10 56 # returned 0
[ 280.431942] 235.900315 [4566] netmap_init netmap: loaded module
[ 341.210003] 296.678374 [1139] generic_netmap_attach Emulated adapter for eth5 created (prev was NULL)
[ 341.295938] 296.764310 [1022] netmap_obj_malloc netmap_ring request size 155600 too large
[ 341.295943] 296.764317 [1912] netmap_mem2_rings_create Cannot allocate RX_ring
[ 341.296366] 296.764740 [1044] generic_netmap_dtor Emulated netmap adapter for eth5 destroyed
I have changed "/sys/module/netmap/parameters/ring_size" but no way.
my default parameters in that location is:
ring_size 36864
buf_num 163840
ring_num 200
buf_size 2048
buf_curr_num 163840
I have eth0 - eth5 totaly 6 network card on my system.
Hello All,
On ubuntu 16.04 everything is OK. But in centos 8: Virtualization: microsoft Operating System: CentOS Linux 8 (Core) CPE OS Name: cpe:/o:centos:centos:8 Kernel: Linux 4.18.0-193.el8.x86_64 Architecture: x86-64
when I execute my program, getting this error:
273.591501 nm_open [964] NIOCREGIF failed: Cannot allocate memory netmap:eth5 netmap:eth5 21001 Failed to nm_open(netmap:eth5): Cannot allocate memory nm start error.
on dmesg:
[ 280.431537] 235.899909 [4550] netmap_init run mknod /dev/netmap c 10 56 # returned 0 [ 280.431942] 235.900315 [4566] netmap_init netmap: loaded module [ 341.210003] 296.678374 [1139] generic_netmap_attach Emulated adapter for eth5 created (prev was NULL) [ 341.295938] 296.764310 [1022] netmap_obj_malloc netmap_ring request size 155600 too large [ 341.295943] 296.764317 [1912] netmap_mem2_rings_create Cannot allocate RX_ring [ 341.296366] 296.764740 [1044] generic_netmap_dtor Emulated netmap adapter for eth5 destroyed
I have changed "/sys/module/netmap/parameters/ring_size" but no way. my default parameters in that location is: ring_size 36864 buf_num 163840 ring_num 200 buf_size 2048 buf_curr_num 163840
I have eth0 - eth5 totaly 6 network card on my system.
What can I do ?