From owner-freebsd-ppc@freebsd.org Wed Dec 12 12:33:02 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAC74130C2AD for ; Wed, 12 Dec 2018 12:33:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4D316907E5 for ; Wed, 12 Dec 2018 12:33:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 10BF6130C2A6; Wed, 12 Dec 2018 12:33:01 +0000 (UTC) Delivered-To: ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF4A6130C2A1 for ; Wed, 12 Dec 2018 12:33:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 798D1907DE for ; Wed, 12 Dec 2018 12:33:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 84DB357DA for ; Wed, 12 Dec 2018 12:32:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wBCCWxao024407 for ; Wed, 12 Dec 2018 12:32:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wBCCWxxE024404 for ppc@FreeBSD.org; Wed, 12 Dec 2018 12:32:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ppc@FreeBSD.org Subject: [Bug 233414] [PowerPC64] OPTIONS DEBUG_MEMGUARD results in unbootable kernel Date: Wed, 12 Dec 2018 12:32:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: leandro.lupori@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2018 12:33:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233414 --- Comment #9 from Leandro Lupori --- (In reply to Mark Johnston from comment #8) With this new patch I was able to use memguard to guard the '128 Bucket' zo= ne for more than an hour of package building. Unfortunately, later I got this panic: panic: _mtx_lock_sleep: recursed on non-recursive mutex memguard arena @ /usr/src/sys/kern/subr_vmem.c:1184 cpuid =3D 40 time =3D 1544566934 KDB: stack backtrace: 0xe0000001dbb4e250: at .kdb_backtrace+0x5c 0xe0000001dbb4e380: at .vpanic+0x1b4 0xe0000001dbb4e440: at .panic+0x38 0xe0000001dbb4e4d0: at .__mtx_lock_sleep+0x178 0xe0000001dbb4e5c0: at .__mtx_lock_flags+0x160 0xe0000001dbb4e670: at .vmem_xalloc+0x2d0 0xe0000001dbb4e7b0: at .memguard_alloc+0xdc 0xe0000001dbb4e890: at .uma_zalloc_arg+0xe0 0xe0000001dbb4e950: at .uma_zalloc_pcpu_arg+0x178 0xe0000001dbb4e9f0: at .uma_zfree_arg+0x4c4 0xe0000001dbb4eaa0: at .uma_zfree_pcpu_arg+0xc8 0xe0000001dbb4eb30: at .uma_zalloc_arg+0x3c0 0xe0000001dbb4ebf0: at .uma_zalloc_pcpu_arg+0x178 0xe0000001dbb4ec90: at .uma_zalloc_arg+0x5a8 0xe0000001dbb4ed50: at .vmem_size+0x1400 0xe0000001dbb4ee10: at .vmem_xalloc+0x320 0xe0000001dbb4ef50: at .memguard_alloc+0xdc 0xe0000001dbb4f030: at .uma_zalloc_arg+0xe0 0xe0000001dbb4f0f0: at .uma_zalloc_pcpu_arg+0x178 0xe0000001dbb4f190: at .uma_zfree_arg+0x4c4 0xe0000001dbb4f240: at ._fdrop+0xa8 0xe0000001dbb4f2d0: at .closef+0x27c 0xe0000001dbb4f3d0: at .fdsetugidsafety+0x35c 0xe0000001dbb4f480: at .kern_close+0x1e8 0xe0000001dbb4f530: at .sys_close+0x18 0xe0000001dbb4f5b0: at .trap+0x664 0xe0000001dbb4f770: at .powerpc_interrupt+0x290 0xe0000001dbb4f810: user SC trap by 0x104829e8: srr1=3D0x900000000000f032 r1=3D0x3fffffffffff3aa0 cr=3D0x24824042 xer=3D0x20000000 ctr=3D= 0x103b9910 r2=3D0x10671858 KDB: enter: panic --=20 You are receiving this mail because: You are the assignee for the bug.=