Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - sh00p

#1
21.7 Legacy Series / Re: 21.7.6 - iflib_netmap_config
December 08, 2021, 04:58:17 PM
AdSchellevis thanks for this.  After reading this it makes sense.

Quote from: AdSchellevis on December 06, 2021, 05:47:46 PM
The iflib_netmap_config message isn't an error, it's just trying to tell you how it initialised netmap.

https://github.com/freebsd/freebsd-src/blob/1bfdb812c786ac2607a82633f9c84a5d16f54079/sys/net/iflib.c#L847-L849

https://github.com/freebsd/freebsd-src/commit/21d0c01226eb979556d6d792ec58eb54012fbc24

Also reporting I rolled back suricata (opnsense-revert -r 21.7.5 suricata) and allowed more time to test, it has appeared to resolve my issue, I do continue to see those messages in dmesg.


Quote from: Sparkey on December 07, 2021, 06:57:17 PM

https://forum.opnsense.org/index.php?topic=25750.15


It would appear these issues might be linked...  I will be keeping my eye on that one.
#2
21.7 Legacy Series / Re: 21.7.6 - iflib_netmap_config
December 06, 2021, 04:47:39 PM
Unless I reverted incorrectly, which I don't think I did, I had rebooted for each change to ensure all services came back and played nicely together..... 

Initially, I was monitoring VLANs, which I know is a no go, but subsequently changed to monitor the parent interface in promiscuous mode.   

As of now, just monitoring interfaces in promiscuous mode is working, but I still get the iflib_netmap_config errors.  (Error:  iflib_netmap_config       txr 4 rxr 4 txd 1024 rxd 1024 rbufsz 2048)
#3
21.7 Legacy Series / Re: 21.7.6 - iflib_netmap_config
December 04, 2021, 10:37:59 PM
Made the change, LibreSSL to OpenSSL, reboot and the same errors appears.  I get the same errors and eventually it stops routing. 

The only thing I have found that seems to work is not to have IDS/IPS running on interfaces with vlans.  I still get the errors iflib_netmap_config txr 4 rxr 4 txd 1024 rxd 1024 rbufsz 2048.  At this time I just run IDS/IPS on WAN and two other LAN interface with no vlans.
#4
21.7 Legacy Series / 21.7.6 - iflib_netmap_config
December 02, 2021, 02:51:38 AM
Recently updated to 21.7.6 from 21.7.5 and after doing so I am running into errors.  Initially my LAN would stop routing traffic and I started noticing errors in dmesg and on screen.  I also noticed the same errors when modifying IDS/IPS.  Which made me think it might be the new IDS/Suricata update causing the issue.

I am running:
OPNsense 21.7.6-amd64
FreeBSD 12.1-RELEASE-p21-HBSD
LibreSSL 3.3.5
CPU: AMD Ryzen 5 2400G
NICs: Intel I350-T4
RAM: 16GB

I noticed in dmesg the following:

generic_netmap_dtor        Emulated netmap adapter for igb0_vlan40 destroyed
generic_netmap_attach     Emulated adapter for igb0_vlan40 created (prev was NULL)
generic_netmap_register   Emulated adapter for igb0_vlan40 activated
iflib_netmap_config             txr 4 rxr 4 txd 1024 rxd 1024 rbufsz 2048

After doing some research I have tried a few things.

1. Revert back to 21.7.5 (issue still persisted)
2. Revert suricata (issue still persisted)
3. Revert os-etpro-telemetry (issue still persisted)
4. Reinstalled back to 21.7.6 and all updates.
4. Reinstalled Kernel (issue still persisted)
5. Tuned I350 Gigabit Nic with  (issue still persisted, removed settings):
     dev.igb.0.iflib.override_ntxds="4096"
     dev.igb.1.iflib.override_ntxds="4096"
     dev.igb.0.iflib.override_nrxds="4096"
     dev.igb.1.iflib.override_nrxds="4096"
6. Tried to ensure that intel drivers were loaded during boot with adding if_igb_load="YES" to /boot/loader.conf  (issue still persisted, kept setting)

After all that, the issue still persists, not sure what else to do at this point. Not much information on iflib_netmap_config....  Any suggestions?