Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 18:33:37 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        freebsd-stable@freebsd.org
Subject:   uma_zalloc_arg complaining about non-sleepable locks
Message-ID:  <20100126073336.GA1955@server.vk2pj.dyndns.org>

next in thread | raw e-mail | index | archive | help

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I have just upgraded to 8-STABLE/amd64 from about 18 hours ago and am
now getting regular (the following pair of messages about every
minute) compaints as follows:

kernel: uma_zalloc_arg: zone "mbuf" with the following non-sleepable locks =
held:
kernel: exclusive sleep mutex sp_lock (sp_lock) r =3D 0 (0xffffff000460bb00=
) locked @ /usr/src/sys/rpc/svc.c:1098
kernel: KDB: stack backtrace:
kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kernel: _witness_debugger() at _witness_debugger+0x2c
kernel: witness_warn() at witness_warn+0x2c2
kernel: uma_zalloc_arg() at uma_zalloc_arg+0x29d
kernel: nfs_realign() at nfs_realign+0x5f
kernel: fha_assign() at fha_assign+0x2d8
kernel: svc_run_internal() at svc_run_internal+0x1ee
kernel: svc_thread_start() at svc_thread_start+0xb
kernel: fork_exit() at fork_exit+0x112
kernel: fork_trampoline() at fork_trampoline+0xe
kernel: --- trap 0xc, rip =3D 0x80069e04c, rsp =3D 0x7fffffffe6d8, rbp =3D =
0x5 ---
kernel: uma_zalloc_arg: zone "mbuf" with the following non-sleepable locks =
held:
kernel: exclusive sleep mutex sp_lock (sp_lock) r =3D 0 (0xffffff000460bb00=
) locked @ /usr/src/sys/rpc/svc.c:1098
kernel: KDB: stack backtrace:
kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kernel: _witness_debugger() at _witness_debugger+0x2c
kernel: witness_warn() at witness_warn+0x2c2
kernel: uma_zalloc_arg() at uma_zalloc_arg+0x29d
kernel: nfs_realign() at nfs_realign+0x5f
kernel: fha_assign() at fha_assign+0x2d8
kernel: svc_run_internal() at svc_run_internal+0x1ee
kernel: svc_thread_start() at svc_thread_start+0xb
kernel: fork_exit() at fork_exit+0x112
kernel: fork_trampoline() at fork_trampoline+0xe
kernel: --- trap 0xc, rip =3D 0x80069e04c, rsp =3D 0x7fffffffe6d8, rbp =3D =
0x5 ---

It looks like NFS is missing some lock/unlock pairs.  Has anyone else
seen this?  And does anyone have a fix?

--=20
Peter Jeremy

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAktemtAACgkQ/opHv/APuIc6pQCfegJtvPmH2gdGOzU1GyNPZLIu
br0AoJt8Xl1fwKDdxL7bpISTKPdpmL9I
=XAxq
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



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