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

    Netgate 6100 Crash On Interface Change - Not Resolved (IPv6 + PPPoE)

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    42 Posts 3 Posters 5.1k Views
    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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Mainly because if you can replicate it in 23.09 then we can can test with that to try and replicate it here. Otherwise we need to keep trying in 23.05.1 and that makes it more difficult because all the development is in 23.09 at the moment. And there's a chance it's already fixed in 23.09. Though I agree there hasn't been anything specific gone in.

      RobbieTTR 1 Reply Last reply Reply Quote 0
      • RobbieTTR
        RobbieTT @stephenw10
        last edited by

        @stephenw10

        Ok, that all makes sense.

        A bit of a pain to achieve though. It took countless refresh attempts to get beyond this stage, until pfSense 'found' the things it needed:

         2023-08-31 at 16.31.49.png

        Still, it eventually 'just worked' and all loaded just fine:

         2023-08-31 at 16.51.51.png

        It didn't crash on first interface change, so at least there is that. 🙃

        ☕️

        1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Ok, cool. There's a routing issue with v6 at the pkg server our guys are working on. And we know you're using v6! Should be resolved shortly.

          Let us know if you hit it in 23.09. Thanks 👍

          RobbieTTR 2 Replies Last reply Reply Quote 0
          • RobbieTTR
            RobbieTT @stephenw10
            last edited by RobbieTT

            @stephenw10 said in Netgate 6100 Crash On Interface Change - Not Resolved (IPv6 + PPPoE):

            Let us know if you hit it in 23.09. Thanks 👍

            Will do.

            It survived 5 interface changes with no issue, before I ran out of time / actively complained at.

            ☕️

            1 Reply Last reply Reply Quote 1
            • RobbieTTR
              RobbieTT @stephenw10
              last edited by

              @stephenw10

              The issue persists with the latest dev snapshot. This crash was triggered by taking the WAN interface down & up again:

              db:1:pfs> bt
              Tracing pid 2 tid 100041 td 0xfffffe0085272560
              kdb_enter() at kdb_enter+0x32/frame 0xfffffe00850c5840
              vpanic() at vpanic+0x163/frame 0xfffffe00850c5970
              panic() at panic+0x43/frame 0xfffffe00850c59d0
              trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00850c5a30
              trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00850c5a90
              calltrap() at calltrap+0x8/frame 0xfffffe00850c5a90
              --- trap 0xc, rip = 0xffffffff80f4d9e6, rsp = 0xfffffe00850c5b60, rbp = 0xfffffe00850c5b90 ---
              in6_selecthlim() at in6_selecthlim+0x96/frame 0xfffffe00850c5b90
              tcp_default_output() at tcp_default_output+0x1d97/frame 0xfffffe00850c5d70
              tcp_timer_rexmt() at tcp_timer_rexmt+0x52f/frame 0xfffffe00850c5dd0
              tcp_timer_enter() at tcp_timer_enter+0x101/frame 0xfffffe00850c5e10
              softclock_call_cc() at softclock_call_cc+0x134/frame 0xfffffe00850c5ec0
              softclock_thread() at softclock_thread+0xe9/frame 0xfffffe00850c5ef0
              fork_exit() at fork_exit+0x7f/frame 0xfffffe00850c5f30
              fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00850c5f30
              --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
              

              All hopes of an accidental fix were suddenly dashed...

              I have full logs, should you need them.

              ☕️

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Urgh. Ok, thanks. Let me see if ours guys would like to review....

                RobbieTTR 1 Reply Last reply Reply Quote 0
                • RobbieTTR
                  RobbieTT @stephenw10
                  last edited by

                  @stephenw10

                  Today, on 23.09.a.20230921.1219:

                  db:1:pfs> bt
                  Tracing pid 2 tid 100041 td 0xfffffe0085274560
                  kdb_enter() at kdb_enter+0x32/frame 0xfffffe00850f9840
                  vpanic() at vpanic+0x163/frame 0xfffffe00850f9970
                  panic() at panic+0x43/frame 0xfffffe00850f99d0
                  trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00850f9a30
                  trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00850f9a90
                  calltrap() at calltrap+0x8/frame 0xfffffe00850f9a90
                  --- trap 0xc, rip = 0xffffffff80f4e066, rsp = 0xfffffe00850f9b60, rbp = 0xfffffe00850f9b90 ---
                  in6_selecthlim() at in6_selecthlim+0x96/frame 0xfffffe00850f9b90
                  tcp_default_output() at tcp_default_output+0x1d97/frame 0xfffffe00850f9d70
                  tcp_timer_rexmt() at tcp_timer_rexmt+0x52f/frame 0xfffffe00850f9dd0
                  tcp_timer_enter() at tcp_timer_enter+0x101/frame 0xfffffe00850f9e10
                  softclock_call_cc() at softclock_call_cc+0x134/frame 0xfffffe00850f9ec0
                  softclock_thread() at softclock_thread+0xe9/frame 0xfffffe00850f9ef0
                  fork_exit() at fork_exit+0x7f/frame 0xfffffe00850f9f30
                  fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00850f9f30
                  --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
                  

                  Humbug. On to the next one...

                  ☕️

                  RobbieTTR 1 Reply Last reply Reply Quote 1
                  • RobbieTTR
                    RobbieTT @RobbieTT
                    last edited by RobbieTT

                    This seems a little odd too - the QDrops on ipv6:

                    netstat -Q
                    Configuration:
                    Setting                        Current        Limit
                    Thread count                         4            4
                    Default queue limit                256        10240
                    Dispatch policy               deferred          n/a
                    Threads bound to CPUs         disabled          n/a
                    
                    Protocols:
                    Name   Proto QLimit Policy Dispatch Flags
                    ip         1   1000    cpu   hybrid   C--
                    igmp       2    256 source  default   ---
                    rtsock     3   1024 source  default   ---
                    arp        4    256 source  default   ---
                    ether      5    256    cpu   direct   C--
                    ip6        6    256    cpu   hybrid   C--
                    ip_direct     9    256    cpu   hybrid   C--
                    ip6_direct    10    256    cpu   hybrid   C--
                    
                    Workstreams:
                    WSID CPU   Name     Len WMark   Disp'd  HDisp'd   QDrops   Queued  Handled
                       0   0   ip         0    81        0   351082        0    66515   417597
                       0   0   igmp       0     0        0        0        0        0        0
                       0   0   rtsock     0     0        0        0        0        0        0
                       0   0   arp        0     0        0        0        0        0        0
                       0   0   ether      0     0  8010840        0        0        0  8010840
                       0   0   ip6        0   256        0  1923527     1245   320631  2244158
                       1   1   ip         0    22        0    49489        0   245280   294769
                       1   1   igmp       0     1        0        0        0        4        4
                       1   1   rtsock     0     0        0        0        0        0        0
                       1   1   arp        0     1        0        0        0     1431     1431
                       1   1   ether      0     0   245520        0        0        0   245520
                       1   1   ip6        0    36        0   126867      214   617858   744725
                       2   2   ip         0    52        0    60905        0   246025   306930
                       2   2   igmp       0     1        0        0        0        4        4
                       2   2   rtsock     0     5        0        0        0      467      467
                       2   2   arp        0     1        0        0        0     3968     3968
                       2   2   ether      0     0   281007        0        0        0   281007
                       2   2   ip6        0   256        0   140458    65916  5273321  5413779
                       3   3   ip         0    17        0    52687        0   110755   163442
                       3   3   igmp       0     0        0        0        0        0        0
                       3   3   rtsock     0     0        0        0        0        0        0
                       3   3   arp        0     0        0        0        0        0        0
                       3   3   ether      0     0   480023        0        0        0   480023
                       3   3   ip6        0   256        0   389341      428  1224093  1613434
                    
                    

                    The system has only been up a little while and nowhere near saturation - just background traffic really. I would not expect to see any QDrops; IPv4 is fine but IPv6 is ???

                    ..and from the previous log; all fine but for IPv6 QDrops:

                    WSID CPU   Name     Len WMark   Disp'd  HDisp'd   QDrops   Queued  Handled
                       0   0   ip6        0   256        0  6582753     1758   413699  6996452
                       1   1   ip6        0   256        0   916478    83941  10325643 11242121
                       2   2   ip6        0   256        0  1177425   140455  19670180 20847605
                       3   3   ip6        0   256        0  1441443    13413  5797973  7239416
                    

                    ☕️

                    RobbieTTR 1 Reply Last reply Reply Quote 0
                    • RobbieTTR
                      RobbieTT @RobbieTT
                      last edited by RobbieTT

                      With the news that the fix for this will probably have to wait until 24.03 (ie 6-months away) does anyone have suggestions for a non-pfSense router OS?

                      I currently run a Netgate 6100 so I will have to run a new OS on different hardware too but I do have a potential mini-server I can use arriving sometime in Oct; so that will give me something to host on. I also intend to keep my toes in the pfSense world whilst I wait this IPv6 / interface issue to be resolved but this is not something I can do when I'm away.

                      So what is my least-worst option for a router OS that is reliable for high-bandwidth PPPoE WAN and IPv6?

                      ☕️

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Are you able to test a debug image if we generate one to get more info on this?

                        Despite absolutely hammering the connection I have here I have yet to make it fail. 😞

                        RobbieTTR 1 Reply Last reply Reply Quote 1
                        • RobbieTTR
                          RobbieTT @stephenw10
                          last edited by

                          @stephenw10

                          Hi Steve - of course, happy to do so.

                          ☕️

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Ok, great let me see what we can come up with....

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