Working previous to 25.1.6 Update
Still present in `25.1.7`
Even running in emulation mode still fails with the same response.
The same results in IDS logs (as both utilize netmap)
opening devname netmap:lagg0/R failed: Cannot allocate memory
Hi,
Please run the command sysctl -a | grep "dev.netmap.buf_num". The value should be max 1000000.
Quote from: sy on May 20, 2025, 07:21:53 AMHi,
Please run the command sysctl -a | grep "dev.netmap.buf_num". The value should be max 1000000.
I'm having the same issue, whether IDS is turned on or off.
root@router:~ # sysctl -a | grep "dev.netmap.buf_num"
dev.netmap.buf_num: 1000000
I also tried doubling the value and packet engine still fails within a few seconds. Hardware is Minisforum MS-01. Zenarmor mode is L3 w/ native netmap driver.
Quote from: sy on May 20, 2025, 07:21:53 AMHi,
Please run the command sysctl -a | grep "dev.netmap.buf_num". The value should be max 1000000.
I have mine running much higher as I was having buffer issues. Again this all worked before the 25.1.6 update.
dev.netmap.buf_num: 2097152
dev.netmap.ring_num: 256
dev.netmap.buf_size: 4096
Hi,
Could you please provide the logs and configuration by following the steps outlined in the link below? I kindly request that you select all checkboxes.
https://www.zenarmor.com/docs/support/reporting-bug
Best regards,
if you set dev.netmap.buf_num > 1000000
does that even work? i tried that and got a message like 081.363854 [1363] netmap_config_obj_allocator requested objtotal 2000000 out of range [4, 1000000]
which seem to set the actual buf_num to the default, not even 1000000...
i am using ixl driver on X710-DA2 with native netmap driver.
Hi,
It must be max 1000000.
Sent
Quote from: sy on May 23, 2025, 12:56:32 PMHi,
Could you please provide the logs and configuration by following the steps outlined in the link below? I kindly request that you select all checkboxes.
https://www.zenarmor.com/docs/support/reporting-bug
Best regards,
I got this up and running again by setting the following in tunables
dev.netmap.buf_num: 1000000
dev.netmap.admode: 0
dev.netmap.ring_num: 256
dev.netmap.buf_size: 4096
and then setting the MTU (instead of leaving blank) the interfaces to 1500.
Reboot Opnsense