From owner-freebsd-current@freebsd.org Wed Mar 21 12:57:35 2018 Return-Path: Delivered-To: freebsd-current@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 4BEF0F65D77 for ; Wed, 21 Mar 2018 12:57:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) 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 D44B66E01A for ; Wed, 21 Mar 2018 12:57:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 90E3FF65D76; Wed, 21 Mar 2018 12:57:34 +0000 (UTC) Delivered-To: current@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 6C111F65D75 for ; Wed, 21 Mar 2018 12:57:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 E1D876E015 for ; Wed, 21 Mar 2018 12:57:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x231.google.com with SMTP id e98-v6so6630149itd.4 for ; Wed, 21 Mar 2018 05:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ooHNbY1B9Z4szNY+S/JnEU1qW+2nNErO5QZ0up0wN+Y=; b=Etqf7bHmhCgEIv4oQt3zJtIk8BazfVERwUq5StFpm2fWSEf/fj0dpVC2NAMek5tNFn SOuPJy74yhZfAX/7lHeWnrQB6nic0GSC79SxnAya7bpWjvYgEXtyCdSN6wXCvumULhZ2 GTWN0rIRakptmKlo5p3TcXxS4J1UU7yAF7Gm8trURO2jCvVd00TR1ccUO28qWnq8RVPc 3mfELbdseyDPkJzzbmDnMBKyfONJ81IY9Bp3fbBNzeQj46fnCw+CwZSrAzuyObAF5Sln EXaIflHx/b1c87yQP7AoZPbHnV4czs8VDyLW61OoqY9KXH25ih8jd383/Gl42QkenyhS tkrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ooHNbY1B9Z4szNY+S/JnEU1qW+2nNErO5QZ0up0wN+Y=; b=bU3FkCVCJRm+ImoO+uB7NZzG6fHOM7K+MKM5wCVFUTYvGTCKNq6fOCEI8QLirh98cI 3fr8gBKYoyC4waRsDir+Y+frty1FX8PHwy+9a0zWbVOsxnaolyA7dY62Emi/JEnLFvRe ZiSSMcaICFaT5txlwchdWF7T9+W2UVlc5FQLXmHEGKZDifIpw9Vu7Yf6Timpzp9NFw5M txfS02OuFPqQ5ZxBTHtKBLVP52VRt5q0DxteZ5tZ0iiB5QzFTw5HQheguqhiggtFYtBj 2RihxjRHQ4WEU2dIuM0FUFT6hXhCMSxY6kw1tINaSqHWbbnBteP3Qc57F3ZXh5XUQsiW rIVA== X-Gm-Message-State: AElRT7FD7qG584H5DZKin90afsTlqRg01sRoza8PbVIAwh3dfIYtlGqt UzxwAMxt1bbty9Iy943eq3ZuPBhPekWQbsrPZKQzMA== X-Google-Smtp-Source: AG47ELulHA0NmWo0RGT/GGKJSaa4+efhTDh/yKOQZ7uPBOUuzlC1nrK26e75yZI8cAB2EUS72AS7Vao4hwJCzftDksI= X-Received: by 2002:a24:6f04:: with SMTP id x4-v6mr4063228itb.51.1521637052810; Wed, 21 Mar 2018 05:57:32 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.203.196 with HTTP; Wed, 21 Mar 2018 05:57:32 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: <20180321122656.GA40816@kloomba> References: <20180321120942.GV1233@albert.catwhisker.org> <20180321122656.GA40816@kloomba> From: Warner Losh Date: Wed, 21 Mar 2018 06:57:32 -0600 X-Google-Sender-Auth: bTpjqP5ltMs7E7wbb3aAAaEIz-M Message-ID: Subject: Re: "panic: Unholding 5 with cnt = 0" head/amd64 @r331290 To: Roman Bogorodskiy Cc: David Wolfskill , FreeBSD Current , Warner Losh Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 12:57:35 -0000 i've reverted r331273. In trying to fix the too many refs problem, I created the too few refs problem. Warner On Wed, Mar 21, 2018 at 6:26 AM, Roman Bogorodskiy wrote: > David Wolfskill wrote: > > > This is on my build machine, running a GENERIC kernel. (Laptop is still > > building lib32 shim libraries as I type). > > > > Here's a copy/paste from the serial console: > > > > da3: Attempt to query device size failed: NOT READY, Medium not present > > da3: quirks=0x2 > > da3: Delete methods: > > GEOM: new disk da1 > > GEOM: new disk da2 > > GEOM: new disk da3 > > (da1:umass-sim0:0:0:1): PREVENT ALLOW MEDIUM REMOVAL not supported. > > ugen0.4: at usbus0 > > (dpanic: Unholding 5 with cnt = 0 > > cpuid = 3 > > time = 1521633742 > > KDB: stack backtrace: > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe00004913c0 > > vpanic() at vpanic+0x18d/frame 0xfffffe0000491420 > > panic() at panic+0x43/frame 0xfffffe0000491480 > > dadone() at dadone+0x1cc9/frame 0xfffffe00004919e0 > > xpt_done_process() at xpt_done_process+0x390/frame 0xfffffe0000491a20 > > xpt_done_td() at xpt_done_td+0xf6/frame 0xfffffe0000491a70 > > fork_exit() at fork_exit+0x84/frame 0xfffffe0000491ab0 > > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0000491ab0 > > --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > > KDB: enter: panic > > [ thread pid 15 tid 100065 ] > > Stopped at kdb_enter+0x3b: movq $0,kdb_why > > db> > > > > > > Anything I can/should do to poke at it before trying to capture a dump? > > Looks like it's related to: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226510#c18 > > > Peace, > > david > > -- > > David H. Wolfskill david@catwhisker.org > > An investigator who doesn't make a perp nervous isn't doing his job. > > > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. > > > > Roman Bogorodskiy >