Re: uma_zalloc_arg with with nonsleepable locks held

From: Max Laier <max_at_love2party.net>
Date: Wed, 10 Oct 2007 11:53:43 +0200
On Wednesday 10 October 2007, Steven Schlansker wrote:
> csup as of yesterday,
> FreeBSD keg.CSUA.Berkeley.EDU 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue
> Oct  9 19:13:43 PDT 2007     root_at_keg.CSUA.Berkeley.EDU:/usr/obj/usr/
> src/sys/GENERIC  i386
>
> I get these lovely messages in dmesg:

The attached should fix that.  I'm not 100% certain this doesn't open a 
race.  If that is the case, however, it seems that the race was already 
there.  Thoughts?

> uma_zalloc_arg: zone "mbuf" with the following non-sleepable locks
> held: exclusive sleep mutex nfsd_mtx r = 0 (0xc0c06f00) locked _at_
> /usr/src/ sys/nfsserver/nfs_srvsock.c:654
> KDB: stack backtrace:
> db_trace_self_wrapper
> (c0a9c175,e69b2af8,c078428d,c0a9c538,e69b2b0c,...) at
> db_trace_self_wrapper+0x26
> kdb_backtrace(c0a9c538,e69b2b0c,4,1,0,...) at kdb_backtrace+0x29
> witness_warn(5,0,c0aba40d,c0aa1684,e69b2b1c,...) at witness_warn+0x1cd
> uma_zalloc_arg(c1466d20,e69b2b70,2,8,c4a32b24,...) at uma_zalloc_arg
> +0x34
> nfs_realign(c0c06f00,0,c0ab4064,28e,0,...) at nfs_realign+0x6f
> nfsrv_rcv(c4a5adec,c4a32b00,2,161,0,...) at nfsrv_rcv+0x46a
> nfssvc(c4328210,e69b2cfc,8,e69b2d38,c0b46688,...) at nfssvc+0x6de
> syscall(e69b2d38) at syscall+0x2b3
> Xint0x80_syscall() at Xint0x80_syscall+0x20
> --- syscall (155, FreeBSD ELF32, nfssvc), eip = 0x280c4f7b, esp =
> 0xbfbfeb2c, ebp = 0xbfbfeb48 ---



-- 
/"\  Best regards,                      | mlaier_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Received on Wed Oct 10 2007 - 07:54:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC