• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy

General pfSense Questions
6
59
4.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    clawsonn @a.dresner
    last edited by Mar 8, 2024, 4:59 AM

    FYI
    This week I just hit a similar issue where the PF machine ( Netgate pfSense Plus 23.09-RELEASE (amd64) ) was no longer smoothly pushing packets through and there was significant packet loss. After logging into webgui the notifications greeted with the following (date and time removed):

    pf_busy

    PF was wedged/busy and has been reset. @ -DATE TIME-
    PF was wedged/busy and has been reset. @ -DATE TIME-
    

    Filter Reload

    There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ -DATE TIME-
    There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ -DATE TIME-
    There were error(s) loading the rules: pfctl: SIOCGIFGROUP: Device not configured - The line in question reads [0]: @ -DATE TIME-
    

    The machine was rebooted and appears to functioning normal again.

    When I have the time I will try to pull and review logs.

    A 1 Reply Last reply Mar 26, 2024, 7:25 AM Reply Quote 0
    • C clawsonn referenced this topic on Mar 8, 2024, 5:12 AM
    • A
      a.dresner @clawsonn
      last edited by Mar 26, 2024, 7:25 AM

      @clawsonn My situation has not improved. My notices:

      pf_busy
      • PF was wedged/busy and has been reset. @ 2024-01-25 04:54:20
      • PF was wedged/busy and has been reset. @ 2024-01-28 20:04:22
      • PF was wedged/busy and has been reset. @ 2024-01-30 02:24:22
      • PF was wedged/busy and has been reset. @ 2024-03-06 07:54:55
      • PF was wedged/busy and has been reset. @ 2024-03-15 08:14:59
      • PF was wedged/busy and has been reset. @ 2024-03-21 09:15:02
      • PF was wedged/busy and has been reset. @ 2024-03-23 20:45:03
      • PF was wedged/busy and has been reset. @ 2024-03-24 06:50:04
      Filter Reload
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-01-25 04:54:21
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-01-28 20:04:23
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-01-30 02:24:23
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-03-06 07:54:56
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-03-15 08:15:00
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-03-21 09:15:03
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-03-23 20:45:04
      • There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy - The line in question reads [0]: @ 2024-03-24 06:50:05

      This should not be happening.

      1 Reply Last reply Reply Quote 0
      • A
        a.dresner @stephenw10
        last edited by Mar 26, 2024, 7:29 AM

        @stephenw10 Would be great if you could take a look at this, its happening quite consistently now

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Mar 26, 2024, 1:24 PM

          Still the 6100 running 23.09.1?

          If you manually reload the ruleset in Status > Filter Reload does that trigger it?

          A 1 Reply Last reply Mar 26, 2024, 11:50 PM Reply Quote 0
          • A
            a.dresner @stephenw10
            last edited by stephenw10 Mar 27, 2024, 12:05 AM Mar 26, 2024, 11:50 PM

            @stephenw10 Yes sir, the 6100 running 23.09.1. Here is the output from the Filter Reload, it did not trigger any notices.

            Initializing
            Creating aliases
            Creating gateway group item...
            Generating Limiter rules
            Generating NAT rules
            Creating 1:1 rules...
            Creating outbound NAT rules
            Creating automatic outbound rules
            Setting up TFTP helper
            Generating filter rules
            Creating default rules
            Pre-caching ...
            Creating filter rule  ...
            Creating filter rules  ...
            Setting up pass/block rules
            Setting up pass/block rules 
            Creating rule 
            Pre-caching Wireguard Port...
            Creating filter rule Wireguard Port ...
            Creating filter rules Wireguard Port ...
            Setting up pass/block rules
            Setting up pass/block rules Wireguard Port
            Creating rule Wireguard Port
            Pre-caching ping...
            Creating filter rule ping ...
            Creating filter rules ping ...
            Setting up pass/block rules
            Setting up pass/block rules ping
            Creating rule ping
            Pre-caching Default allow LAN to any rule...
            Creating filter rule Default allow LAN to any rule ...
            Creating filter rules Default allow LAN to any rule ...
            Setting up pass/block rules
            Setting up pass/block rules Default allow LAN to any rule
            Creating rule Default allow LAN to any rule
            Pre-caching ...
            Creating filter rule  ...
            Creating filter rules  ...
            Setting up pass/block rules
            Setting up pass/block rules 
            Creating rule 
            Pre-caching OpenVPN OpenVPN Users wizard...
            Creating filter rule OpenVPN OpenVPN Users wizard ...
            Creating filter rules OpenVPN OpenVPN Users wizard ...
            Pre-caching Homebridge Allow...
            Creating filter rule Homebridge Allow ...
            Creating filter rules Homebridge Allow ...
            Setting up pass/block rules
            Setting up pass/block rules Homebridge Allow
            Creating rule Homebridge Allow
            Pre-caching Block Default LAN...
            Creating filter rule Block Default LAN ...
            Creating filter rules Block Default LAN ...
            Setting up pass/block rules
            Setting up pass/block rules Block Default LAN
            Creating rule Block Default LAN
            Pre-caching Block Default LAN...
            Creating filter rule Block Default LAN ...
            Creating filter rules Block Default LAN ...
            Setting up pass/block rules
            Setting up pass/block rules Block Default LAN
            Creating rule Block Default LAN
            Pre-caching Allow Any...
            Creating filter rule Allow Any ...
            Creating filter rules Allow Any ...
            Setting up pass/block rules
            Setting up pass/block rules Allow Any
            Creating rule Allow Any
            Pre-caching Pass VPN traffic from WireGuard peers...
            Creating filter rule Pass VPN traffic from WireGuard peers ...
            Creating filter rules Pass VPN traffic from WireGuard peers ...
            Setting up pass/block rules
            Setting up pass/block rules Pass VPN traffic from WireGuard peers
            Creating rule Pass VPN traffic from WireGuard peers
            Pre-caching ...
            Creating filter rule  ...
            Creating filter rules  ...
            Setting up pass/block rules
            Setting up pass/block rules 
            Creating rule 
            Pre-caching Pass VPN traffic from WireGuard peers...
            Creating filter rule Pass VPN traffic from WireGuard peers ...
            Creating filter rules Pass VPN traffic from WireGuard peers ...
            Setting up pass/block rules
            Setting up pass/block rules Pass VPN traffic from WireGuard peers
            Creating rule Pass VPN traffic from WireGuard peers
            Pre-caching UNVR Allow...
            Creating filter rule UNVR Allow ...
            Creating filter rules UNVR Allow ...
            Setting up pass/block rules
            Setting up pass/block rules UNVR Allow
            Creating rule UNVR Allow
            Pre-caching Block Default LAN...
            Creating filter rule Block Default LAN ...
            Creating filter rules Block Default LAN ...
            Setting up pass/block rules
            Setting up pass/block rules Block Default LAN
            Creating rule Block Default LAN
            Pre-caching Allow Any...
            Creating filter rule Allow Any ...
            Creating filter rules Allow Any ...
            Setting up pass/block rules
            Setting up pass/block rules Allow Any
            Creating rule Allow Any
            Creating IPsec rules...
            Creating uPNP rules...
            Generating ALTQ queues
            Loading filter rules
            Setting up logging information
            Setting up Ethernet filter rules...
            Setting up SCRUB information
            Processing down interface states
            Running plugins
            Done
            
            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Mar 27, 2024, 1:03 AM

              Hmm, is there any sort of pattern to when it happens? When it's passing most traffic perhaps?

              Is there anything else logged at the time?

              A 2 Replies Last reply Mar 27, 2024, 1:24 AM Reply Quote 0
              • A
                a.dresner @stephenw10
                last edited by Mar 27, 2024, 1:24 AM

                @stephenw10 I have 3 locations. 3 6100, 2 of them are nearly identical configuration, most of the same components on the LAN. The 6100 that is throwing off these errors was replaced due to hardware at one time and so the config was restored. It's also the least configured of the 3 in terms of rules. I really wish I could give you more details but that location is pretty quiet..

                1 Reply Last reply Reply Quote 0
                • A
                  a.dresner @stephenw10
                  last edited by Mar 27, 2024, 12:00 PM

                  @stephenw10 I forgot to mention that I have Tac Pro on this device, I plan to open a ticket

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Mar 27, 2024, 2:31 PM

                    Yes, open a ticket if you haven't already. Link to this thread so TAC have the details here.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Mar 27, 2024, 2:40 PM

                      Just to be clear when this happens it just logs that and continues? It doesn't require manual intervention?

                      A 1 Reply Last reply Mar 27, 2024, 9:27 PM Reply Quote 0
                      • A
                        a.dresner @stephenw10
                        last edited by Mar 27, 2024, 9:27 PM

                        @stephenw10 It's crashed and I had to hire someone to go onsite and manually power cycle it

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Mar 27, 2024, 9:41 PM

                          I assume not every time that error is shown though?

                          A 1 Reply Last reply Mar 27, 2024, 9:44 PM Reply Quote 0
                          • A
                            a.dresner @stephenw10
                            last edited by Mar 27, 2024, 9:44 PM

                            @stephenw10 No, just 2x

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Mar 27, 2024, 10:10 PM

                              Hmm, OK. 2x too many!

                              Do you know if it remains responsive at the console when that happens?

                              A 1 Reply Last reply Mar 27, 2024, 10:14 PM Reply Quote 0
                              • A
                                a.dresner @stephenw10
                                last edited by Mar 27, 2024, 10:14 PM

                                @stephenw10 I wish I could say, but its a remote location and has only acted this way when I'm not on site... last time was 24 hours after I left...frustrating

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Mar 27, 2024, 10:20 PM

                                  Are you able to upload a status file to us to review?

                                  A 1 Reply Last reply Mar 27, 2024, 10:23 PM Reply Quote 0
                                  • A
                                    a.dresner @stephenw10
                                    last edited by Mar 27, 2024, 10:23 PM

                                    @stephenw10 of course, pls tell me what to do =)

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Mar 27, 2024, 10:35 PM

                                      Great, you can pull the status_output file from the GUI. See:
                                      https://docs.netgate.com/pfsense/en/latest/recipes/diagnostic-data.html#view-and-download-diagnostic-data-in-the-gui

                                      Then upload it here:
                                      https://nc.netgate.com/nextcloud/s/YfciQktBin7fLEM

                                      A 1 Reply Last reply Mar 27, 2024, 10:49 PM Reply Quote 0
                                      • A
                                        a.dresner @stephenw10
                                        last edited by Mar 27, 2024, 10:49 PM

                                        @stephenw10 All done sir

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Mar 27, 2024, 10:50 PM

                                          Great I see that. Checking....

                                          1 Reply Last reply Reply Quote 0
                                          27 out of 59
                                          • First post
                                            27/59
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.