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

    PPPoE kernel panic when interface restarts or disconnects

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 365 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.
    • E
      elon_
      last edited by

      Hi, I am running pfSense CE 2.7.2 I am noticing when PPPoE disconnect most of the time it will cause a kernel panic.

      Here is the panic output from dmesg after it rebooted:

      Fatal trap 12: page fault while in kernel mode
      cpuid = 1; apic id = 01
      fault virtual address	= 0x0
      fault code		= supervisor read data, page not present
      instruction pointer	= 0x20:0xffffffff80f48ba5
      stack pointer	        = 0x28:0xfffffe00631bacb0
      frame pointer	        = 0x28:0xfffffe00631bad10
      code segment		= base 0x0, limit 0xfffff, type 0x1b
      			= DPL 0, pres 1, long 1, def32 0, gran 1
      processor eflags	= interrupt enabled, resume, IOPL = 0
      current process		= 12 (swi1: netisr 3)
      rdi: 00000000b1024200 rsi: fffff8009bb7b000 rdx: 0000000000000002
      rcx: 0000000000000000  r8: ffffffff83a11090  r9: 0000000000000050
      rax: 0000000000000000 rbx: fffff800b102426e rbp: fffffe00631bad10
      r10: 000000000000001d r11: fff5ce9a908f8f8f r12: fffff80086017e00
      r13: fffffe00631bacc0 r14: fffffe0009349000 r15: fffffe00631bacc0
      trap number		= 12
      panic: page fault
      cpuid = 1
      time = 1721446890
      KDB: enter: panic
      

      The ISP requires PPPoE to run on VLAN 35 and I have IPv6 enabled not sure if this will have anything to do with it.

      GertjanG 1 Reply Last reply Reply Quote 0
      • E
        elon_
        last edited by

        I am using 2x '82574L Gigabit Network Connection' NICs

        1 Reply Last reply Reply Quote 0
        • E
          elon_
          last edited by elon_

          This is the full dump after the PPPoE interface was terminated: https://pastebin.com/XGPz6CRJ

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @elon_
            last edited by Gertjan

            @elon_ said in PPPoE kernel panic when interface restarts or disconnects:

            I have IPv6 enabled not sure if this will have anything to do with it

            Well, it was trying to "ip6_tryforward()" (whatever that might be) and that failed and took the system down.
            That said, doing a " "ip6_tryforward()" while pppoe is negotiation the connection.
            Is pppoe being used for IPv4 and IPv6 ? Like two pppoe connections ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            E 1 Reply Last reply Reply Quote 0
            • E
              elon_ @Gertjan
              last edited by elon_

              @Gertjan one PPPoE connection for both IPv4 and IPv6. This is the configuration page:
              38d93822-7c9c-4eec-868d-9508acf4566a-image.png

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