From owner-freebsd-hackers@freebsd.org Fri Sep 25 00:56:29 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA6C1A08891 for ; Fri, 25 Sep 2015 00:56:29 +0000 (UTC) (envelope-from gsuryacse7k@gmail.com) Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66C001924; Fri, 25 Sep 2015 00:56:29 +0000 (UTC) (envelope-from gsuryacse7k@gmail.com) Received: by vkfp126 with SMTP id p126so47537121vkf.3; Thu, 24 Sep 2015 17:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CZX538BfE0soG+txhnQyzP63W3G1Z2BnRKPZXi5wS4U=; b=QHf7Sfwsa/BNCAs659oXKXiaLoZJHQEKwmxRDngUvNv4XuChOFtJep7GQw6nqS/t6U DmzVSyYu/UJptyC3xUtsLJLbunOqmfG1dpwrUDSRK7JtCQKubcY3RK1cYLipq6W0fq9C nX+RigwTZMdfFPfUpKogHYrwhYAjzZDD5ASKmco+cJdsGDhxalZqQzZ3BHhmbJokcd1I 5L9v9TGvd0gxR2ThtivCJIlJPH1ne3O7BcnQ6L4MoTNdoGTnnztVYAI7mjUbGd11uWbG 7wkIxkmcgv9R1e2LYUdDPezdR2c9sbwRl9pTURNOPyDTsVYPhPcvNk7ks7tSHdACGcf2 NpKw== MIME-Version: 1.0 X-Received: by 10.31.134.193 with SMTP id i184mr1512184vkd.64.1443142588382; Thu, 24 Sep 2015 17:56:28 -0700 (PDT) Received: by 10.103.26.3 with HTTP; Thu, 24 Sep 2015 17:56:28 -0700 (PDT) In-Reply-To: <20150924173916.GA78083@muskytusk> References: <20150924173916.GA78083@muskytusk> Date: Thu, 24 Sep 2015 20:56:28 -0400 Message-ID: Subject: Re: system map mutex and zone mutex witness warning From: suresh gumpula To: Mark Johnston Cc: "freebsd-hackers@freebsd.org" X-Mailman-Approved-At: Fri, 25 Sep 2015 01:32:08 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 00:56:29 -0000 Thanks Mark and Bryan. I will apply this change and see if it goes away. Thanks Suresh On Thu, Sep 24, 2015 at 1:41 PM, Mark Johnston wrote: > 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" >