Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 17:41:11 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        suresh gumpula <gsuryacse7k@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: system map mutex and zone mutex witness warning
Message-ID:  <20150924173916.GA78083@muskytusk>
In-Reply-To: <CAJOqHmiS5AjZX%2BVHpuNt67UpYwtsq_e5RQBAkWcRWbu0GYmdPA@mail.gmail.com>
References:  <CAJOqHmiS5AjZX%2BVHpuNt67UpYwtsq_e5RQBAkWcRWbu0GYmdPA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 23, 2015 at 11:04:19PM -0400, suresh gumpula wrote:
> Hi,
>      I am seeing the following witness warning while booting on 8.1.    Is
> it a known issue and
> resolved in later kernels ?  Can somebody please comment on this ?

I've seen this occur when multiple threads race to establish a lock
order: https://svnweb.freebsd.org/changeset/base/284127

The change should apply to 8.1, but there may be other relevant bug
fixes missing.

> 
> isitmychild: rmatrix mismatch between system map (index 43) and UMA zone
> (index 57): w_rmatrix[43][57] == 1 but w_rmatrix[57][43] == 0
> KDB: stack backtrace:
> kdb_backtrace() at kdb_backtrace+0x3e
> witness_line() at witness_line+0xca4
> witness_line() at witness_line+0xcf9
> witness_releaseok() at witness_releaseok+0x1623
> witness_checkorder() at witness_checkorder+0x37e
> _mtx_lock_flags() at _mtx_lock_flags+0x113
> uma_zalloc_arg() at uma_zalloc_arg+0x1449
> vmspace_swap_count() at vmspace_swap_count+0xc52
> uma_zalloc_arg() at uma_zalloc_arg+0x10e6
> uma_zalloc_arg() at uma_zalloc_arg+0x5ef
> vmspace_alloc() at vmspace_alloc+0x180
> vm_map_init() at vm_map_init+0xec
> vm_map_insert() at vm_map_insert+0x4cb
> kmem_malloc() at kmem_malloc+0x3de
> zone_drain() at zone_drain+0x822
> uma_large_malloc() at uma_large_malloc+0x4e
> malloc() at malloc+0x251
> swap_pager_swap_init() at swap_pager_swap_init+0x219
> vm_pageout_oom() at vm_pageout_oom+0x952
> fork_exit() at fork_exit+0x185
> fork_trampoline() at fork_trampoline+0xe
> --- trap 0, rip = 0, rsp = 0xffffff806bb61d30, rbp = 0 ---
> Witness disabled.
> 
> 
> Thanks
> Suresh
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



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