Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 15:31:58 +0100
From:      Juraj Lutter <otis@FreeBSD.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: -CURRENT panics in NFS
Message-ID:  <560DD7DF-B1C0-432B-BFCA-9D00819E0C28@FreeBSD.org>
In-Reply-To: <FBDA3107-00AF-4CF3-B6FA-F09EA8163D7B@FreeBSD.org>
References:  <E173E60B-D0AF-4315-A99F-ABA1F3D5BBEF@FreeBSD.org> <FBDA3107-00AF-4CF3-B6FA-F09EA8163D7B@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
And a kgdb backtrace:

(kgdb) bt
#0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1  doadump (textdump=3Dtextdump@entry=3D0) at =
/usr/src/sys/kern/kern_shutdown.c:399
#2  0xffffffff804c7b2a in db_dump (dummy=3D<optimized out>, =
dummy2=3D<unavailable>, dummy3=3D<unavailable>, dummy4=3D<unavailable>) =
at /usr/src/sys/ddb/db_command.c:575
#3  0xffffffff804c78ee in db_command (last_cmdp=3D<optimized out>, =
cmd_table=3D<optimized out>, dopager=3Ddopager@entry=3D1) at =
/usr/src/sys/ddb/db_command.c:482
#4  0xffffffff804c762d in db_command_loop () at =
/usr/src/sys/ddb/db_command.c:535
#5  0xffffffff804cac36 in db_trap (type=3D<optimized out>, =
code=3D<optimized out>) at /usr/src/sys/ddb/db_main.c:270
#6  0xffffffff80c59d04 in kdb_trap (type=3Dtype@entry=3D3, =
code=3Dcode@entry=3D0, tf=3D<optimized out>, =
tf@entry=3D0xfffffe00d01c3d40) at /usr/src/sys/kern/subr_kdb.c:727
#7  0xffffffff810bc1ee in trap (frame=3D0xfffffe00d01c3d40) at =
/usr/src/sys/amd64/amd64/trap.c:576
#8  <signal handler called>
#9  kdb_enter (why=3D0xffffffff812accc9 "panic", msg=3D<optimized out>) =
at /usr/src/sys/kern/subr_kdb.c:506
#10 0xffffffff80c0d5d2 in vpanic (fmt=3D<optimized out>, ap=3D<optimized =
out>, ap@entry=3D0xfffffe00d01c3ea0) at =
/usr/src/sys/kern/kern_shutdown.c:907
#11 0xffffffff80c0d363 in panic (fmt=3D0xffffffff81e9a178 <cnputs_mtx> =
"\177\256&\201\377\377\377\377") at =
/usr/src/sys/kern/kern_shutdown.c:843
#12 0xffffffff80cd6d74 in cache_enter_time (dvp=3D0xfffff80079321e00, =
vp=3D0xfffff80079321e00, cnp=3Dcnp@entry=3D0xfffffe00d01c4030, =
tsp=3Dtsp@entry=3D0xfffffe00d01c40e0, dtsp=3D<optimized out>)
    at /usr/src/sys/kern/vfs_cache.c:2274
#13 0xffffffff80ae2bd6 in nfsrpc_readdirplus (vp=3D<optimized out>, =
vp@entry=3D0xfffff80079321e00, uiop=3D<optimized out>, =
uiop@entry=3D0xfffffe00d01c4540,
    cookiep=3Dcookiep@entry=3D0xfffffe00d01c44e0, =
cred=3Dcred@entry=3D0xfffff80079307e00, p=3D<optimized out>, =
p@entry=3D0xfffffe00de06be00, nap=3Dnap@entry=3D0xfffffe00d01c4400,
    attrflagp=3D0xfffffe00d01c44f0, eofp=3D0xfffffe00d01c44f4, =
stuff=3D0x0) at /usr/src/sys/fs/nfsclient/nfs_clrpcops.c:3766
#14 0xffffffff80aed4ec in ncl_readdirplusrpc =
(vp=3Dvp@entry=3D0xfffff80079321e00, uiop=3Duiop@entry=3D0xfffffe00d01c454=
0, cred=3D0xfffff80079307e00, td=3Dtd@entry=3D0xfffffe00de06be00)
    at /usr/src/sys/fs/nfsclient/nfs_clvnops.c:2490
#15 0xffffffff80afdc93 in ncl_doio (vp=3Dvp@entry=3D0xfffff80079321e00, =
bp=3Dbp@entry=3D0xfffffe000ee1c610, cr=3D0xfffffe00d01c3d00, =
cr@entry=3D0xfffff80079307e00, td=3Dtd@entry=3D0xfffffe00de06be00,
    called_from_strategy=3Dcalled_from_strategy@entry=3D0) at =
/usr/src/sys/fs/nfsclient/nfs_clbio.c:1686
#16 0xffffffff80afce3c in ncl_bioread (vp=3D<optimized out>, =
vp@entry=3D0xfffff80079321e00, uio=3D<optimized out>, =
ioflag=3Dioflag@entry=3D0, cred=3D<optimized out>)
    at /usr/src/sys/fs/nfsclient/nfs_clbio.c:604
#17 0xffffffff80af1baf in nfs_readdir (ap=3Dap@entry=3D0xfffffe00d01c4918)=
 at /usr/src/sys/fs/nfsclient/nfs_clvnops.c:2383
#18 0xffffffff80ce490f in vop_sigdefer (vop=3D<optimized out>, =
a=3D0xfffffe00d01c4918) at /usr/src/sys/kern/vfs_default.c:1471
#19 0xffffffff81181f38 in VOP_READDIR_APV (vop=3D0xffffffff81af00d8 =
<newnfs_vnodeops>, a=3Da@entry=3D0xfffffe00d01c4918) at vnode_if.c:1939
#20 0xffffffff80d0b23b in VOP_READDIR (vp=3D0xfffff80079321e00, =
uio=3D0xfffffe00d01c48d0, cred=3D<optimized out>, =
eofflag=3D0xfffffe00d01c48cc, ncookies=3D0x0, cookies=3D0x0) at =
./vnode_if.h:985
#21 kern_getdirentries (td=3D<optimized out>, fd=3D<optimized out>, =
buf=3D0x801851000 <error: Cannot access memory at address 0x801851000>, =
count=3D4096, basep=3Dbasep@entry=3D0xfffffe00d01c49b0,
    residp=3Dresidp@entry=3D0x0, bufseg=3DUIO_USERSPACE) at =
/usr/src/sys/kern/vfs_syscalls.c:4142
#22 0xffffffff80d0b449 in sys_getdirentries (td=3D0xffffffff81e9a178 =
<cnputs_mtx>, uap=3D0xfffffe00de06c1e8) at =
/usr/src/sys/kern/vfs_syscalls.c:4089
#23 0xffffffff810bd00e in syscallenter (td=3D<optimized out>) at =
/usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189
#24 amd64_syscall (td=3D0xfffffe00de06be00, traced=3D0) at =
/usr/src/sys/amd64/amd64/trap.c:1156
#25 <signal handler called>
#26 0x00000008012a83fa in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffffffd928

=E2=80=94
Juraj Lutter
XMPP: juraj (at) lutter.sk
GSM: +421907986576

> On 27 Feb 2021, at 15:18, Juraj Lutter <otis@FreeBSD.org> wrote:
>=20
> Reliably reproducible:
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560DD7DF-B1C0-432B-BFCA-9D00819E0C28>