Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-105326

Kernel Panic: Page Fault in mdsnd. Possibly IPv6 autoconf related.

    XMLWordPrintable

    Details

      Description

      A fresh installation of FreeNAS 11.3-U1 on brand new hardware crashes sporadically with a kernel panic. The stacktrace pointed me towards IPv6 so I tried to narrow the problem down. It is a sporadic issue. However, so far I was able to reproduce it within seconds to minutes. Since it is a page fault I did a memcheck for 48+ hours with no errors. Every time the kernel panics, it is the same process and the same stacktrace (see my two attachments). It seems not to crash with a manual IPv6 configuration on the host. If there is anything else I can provide (crash-dump, whatsoever) please let me know how to get it.

      Preconditions:

      • FreeNAS has been booted
      • Jails pool has been mounted
      • Host-Network is set-up to IPv6 autoconf
      • At least one jail has been created with IPv6 autoconf

      Steps to reproduce:

      • Start and stop jail alternating

      Expected behavior:

      • Jail is being started and stopped successfully, respectively

      Observed behavior:

      • Kernel panic: Page fault: (The following has been OCRed and manually fixed. Please see the attachments for an exact screenshot!)
        Fatal trap 12: page fault while in kernel mode
        cpuid = 11; cpic id = 29
        fault virtual address = 0x28
        fault code            = supervisor read data, page not present
        instruction pointer   = 0x20:0xffffffff80x8b674
        stack pointer         = 0x28:0xfffffe1046ff36e0
        frame pointer         = 0x28:0xfffffe1046ff3720
        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       = 1353 (mdnsd)
        trap number           = 12
        panic: page fault
        cpuid = 11
        KDB: stack backtrace: 
        db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe1046ff3390
        vpanic() at vpanic+0x17e/frame 0xfffffe1046ff33f0
        panic() at panic+0x43/frame 0xfffffe1046ff3450
        trap_fatal() at trap_fatal+0x369/frame 0xfffffe1046ff34a0
        trap_pfault() at trap_pfault+0x49/frame0xfffffe1046ff3500
        trap() at trap+0x29d/frame 0xfffffe1046ff3610
        calltrap() at calltrap+0x8/frame 0xfffffe1046ff3610
        --- trap 0xc. rip = 0xffffffff80c8b674, rsp = 0xfffffe1046ff36e0, rbp = 0xfffffe1046ff3720 ---
        mld_change_state() at mld_change_state+0x54/frame 0xfffffe1046ff3760
        in6_mc_leave() at in6_mc_leave+0x76/frame 0xfffffe1046ff3760
        ip6_freemoptions() at ip6_freemoptions+0xfe/frame 0xfffffe1046ff37c0
        in_pcbfree() at in_pcbfree+0x1e7/frame 0xfffffe1046ff3800
        udp6_detach() at udp6_detach+0x8d/frame 0xfffffe1046ff3830
        sofree() at sofree+0xf8/frame 0xfffffe1046ff3860
        soclose() at soclose+0x399/frame 0xfffffe1046ff30b0
        closef() at closef+0x24e/frame 0xfffffe1046ff3940
        closefp() at closefp+0x97/frame 0xfffffe1046ff3980
        amd64_syscall() at amd64_syscall+0xa86/frame 0xfffffe1046ff3ab0
        --- syscall (6, FreeBSD ELF64, sys_close), rip = 0x8009e900a, rsp = 0x7fffffffca68, rbp = 0x7fffffffca80 ---
        KDB: enter: panic
        [ thread pid 1363 tid 100902 ]

       

      System details:

      • Mainboard: Supermicro H11SSL-i
      • Processor: AMD Epyc 7251
      • RAM: 8xKingston 8 GB 2133 MHz ECC (64 GB total)
      • Storage: 2xSamsung PM991 512 GB M.2 mirrored pool, encrypted

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  mmacy Matthew Macy (Inactive)
                  Reporter:
                  DerPeit Manuel Josupeit-Walter
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: