Greetings y'all. I searched back to June in this forum area and couldn't find any related posts, so here goes my issue:
I can no longer start the Zenarmor packet engine and I get these errors in notifications area:
* Error parsing lan interface configuration, bailing out
* Failed initializing network interfaces
netmap_register_if: igc2: NIOCREGIF ioctl failed for the interface: Cannot allocate memory
This issue started occurring after I set the following tunables on my Opnsense firewall:
dev.netmap.buf_num : 1000000
dev.netmap.ring_size : 4096
dev.netmap.generic_ringsize : 4096
dev.igc.0.fc : 0
dev.igc.1.fc : 0
dev.igc.2.fc : 0
hw.igc.max_interrupt_rate : 12000
My firewall was also restarted after making the above changes as well.
Current version and mode:
OPNsense 25.7.7_4-amd64
FreeBSD 14.3-RELEASE-p4
Zenarmor netmap is in emulated mode
Hi,
"dev.netmap.ring_size" could be maximum 1024. Please chance it.