Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2026 01:47:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293127] Kernel panic __mtx_lock_sleep due to nfsd?
Message-ID:  <bug-293127-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293127

            Bug ID: 293127
           Summary: Kernel panic __mtx_lock_sleep due to nfsd?
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: yuan.mei@gmail.com

Created attachment 267991
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267991&action=edit
kgdb session log

$ uname -a
FreeBSD maynas 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n281999-4d36d18253b0
MAYNASKERNEL amd64

Feb 11 09:24:26 maynas kernel: Fatal trap 12: page fault while in kernel mode
Feb 11 09:24:26 maynas kernel: cpuid = 7; apic id = 0e
Feb 11 09:24:26 maynas kernel: fault virtual address    = 0x488
Feb 11 09:24:26 maynas kernel: fault code               = supervisor read data,
page not present
Feb 11 09:24:26 maynas kernel: instruction pointer      =
0x20:0xffffffff80bb65d9
Feb 11 09:24:26 maynas kernel: stack pointer            =
0x28:0xfffffe00d5c86470
Feb 11 09:24:26 maynas kernel: frame pointer            =
0x28:0xfffffe00d5c864f0
Feb 11 09:24:26 maynas kernel: code segment             = base 0x0, limit
0xfffff, type 0x1b
Feb 11 09:24:27 maynas kernel:                  = DPL 0, pres 1, long 1, def32
0, gran 1
Feb 11 09:24:27 maynas kernel: processor eflags = interrupt enabled, resume,
IOPL = 0
Feb 11 09:24:27 maynas kernel: current process          = 2316 (nfsd: master)
Feb 11 09:24:27 maynas kernel: rdi: fffff80053f5f9f8 rsi: 0000000000000004 rdx:
0000000000000000
Feb 11 09:24:27 maynas kernel: rcx: fffff80053f5f9e0  r8: fffffe00d5c86590  r9:
fffffe00d5c865a4
Feb 11 09:24:27 maynas kernel: rax: 0000000000000000 rbx: fffffe00d5c86500 rbp:
fffffe00d5c864f0
Feb 11 09:32:00 maynas syslogd: kernel boot file is /boot/kernel/kernel
Feb 11 09:32:00 maynas kernel: ---<<BOOT>>---

This bug causes the system to reboot every 3 days or so.  It appears that the
trap is caused by nfsd.  I keep nfsd on with the following configuration:

rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-l -r"
mountd_enable="YES"
nfs_client_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
autofs_enable="YES"

But the trap condition persists regardless of whether there is a client or not.

I also attach a kgdb session log.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293127-227>