<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[arp writing to routing socket: Cannot allocate memory]]></title><description><![CDATA[<p dir="auto">On a fresh upgrade of pfsense, how to verify the version of the driver if.re.ko being used?<br />
On a fresh upgrade of pfsense, how to install pkg realtek-re-kmod and verify the version of the driver being install/loaded by that?<br />
On a fresh upgrade of pfsense, how to verify that when the pkg realtek-re-kmod is listed as already installed, that it is being used?</p>
<p dir="auto">My issue below:</p>
<p dir="auto">Since the upgrade from 2.4 to 2.5 I have been getting these in my logs approx. every 12-16 hours.</p>
<p dir="auto">/rc.linkup: The command '/usr/sbin/arp -s '192.168.175.2' '30:9c:23:2c:dc:79'' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'</p>
<p dir="auto">and watchdog timeout randomly. I had resolved the watchdog timeout with an alternative if_re.ko driver in  2.4.</p>
<p dir="auto">When the issue occurs every IP that is DHCP mapped has this error in the logs in a row. So all are affected at the same time.</p>
<p dir="auto">Googling says it is probably the realtek driver that comes with FreeBSD thats causing both errors.<br />
I tried installing the driver that is available through the packaging system of pfsense and that was a nogo:</p>
<p dir="auto">[2.5.0-RELEASE][admin@Majesty.wimpy.lan]/root: pkg install realtek-re-kmod<br />
Updating pfSense-core repository catalogue...<br />
pfSense-core repository is up to date.<br />
Updating pfSense repository catalogue...<br />
pfSense repository is up to date.<br />
All repositories are up to date.<br />
Checking integrity... done (0 conflicting)<br />
The most recent versions of packages are already installed</p>
<p dir="auto">I know it said the package is already installed but how to verify it is using the 1.96.4 FreeBSD 12.2 stale driver? No way to tell as far as I can see (Not Unix expert for sure) kldstat did not show the module loaded so what can I do to verify.</p>
<p dir="auto">So I go out to other driver sources. Like the one here: https://forums.serverbuilds.net/t/guide-resolve-realtek-nic-stability-issues-on-freebsd-pfsense-2-4-4-2-4-5-2-5-0-opnsense-use-2-5gb-realtek/3555</p>
<p dir="auto">It has the 1.96.4 driver for FreeBSD 12.2 -devel (better than nothing) I load it up, verify it is loaded and am now monitoring. I would rather do this from the pfsense packaging system or even the FreeBSD packaging system if necessary.</p>
<p dir="auto">I just want to add that after the driver install I found a thread on reddit that someone had traced this error down to pfblockerNG when adding many lists, I have many lists. To resolve it the Firewall table entries were increased from default to 2000000 as per a post from bbcan177 - so I figured if the dev of pfblockerng suggests this cahnge then I will try it!. I had done this (after the 1.96.4 driver install) and am monitoring.</p>
<p dir="auto">Also, I in the available packages I see a message under my installed version of pfblockerng -  Newer version available. Package is configured but not (fully) installed or deprecated - but when I look for a newer version all I see is the dev version - is THAT the newer version that is available?</p>
]]></description><link>https://forum.netgate.com/topic/162645/arp-writing-to-routing-socket-cannot-allocate-memory</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 15:21:25 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/162645.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Apr 2021 15:54:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to arp writing to routing socket: Cannot allocate memory on Tue, 06 Apr 2021 20:50:26 GMT]]></title><description><![CDATA[<p dir="auto">Looks like you have a static ARP entry set which is pretty much never required.</p>
<p dir="auto">You see that error though because it cannot allocate memory in the ARP table for an IP in a subnet the firewall doesn't have an interface in. Which is probably because the re NIC has gone AWOL.</p>
<p dir="auto">Installing the pkg is not enough. You still need the loader line to load it at boot:<br />
See: https://forum.netgate.com/post/962889</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.netgate.com/post/976491</link><guid isPermaLink="true">https://forum.netgate.com/post/976491</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Tue, 06 Apr 2021 20:50:26 GMT</pubDate></item></channel></rss>