From owner-freebsd-stable@freebsd.org Thu Mar 22 15:10:20 2018 Return-Path: Delivered-To: freebsd-stable@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 A865CF4C5B1 for ; Thu, 22 Mar 2018 15:10:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 3AFA779833 for ; Thu, 22 Mar 2018 15:10:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22c.google.com with SMTP id h23so11359216iob.11 for ; Thu, 22 Mar 2018 08:10:20 -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=BSIJCfDLCtALJgJxgLUI3bO1lNezrh3WVOBS0afg8oE=; b=UHR6VlM+Wn4by7r+7H1vczTmu2ZXsIyX8Y66hOq0I77urzR2wtILkl+Rk1+89Ff9om p9oxe+xv64DxGOh5y1J9KmUA2BJUB/2tbN3z+RM31097zkTMUsrI+O115IKgGCR8W44i MZLojuDgDghDv1mNE4HGm/AVloa2Nm/09+CllOLm468NHTT9iV7EqZcLm/xEjZOrAxFB Xc31XcM6rsowlFrsNdaqGub9lmnJhoL/058qrgxW6egCILtZxQzpB1SeBHg6089aJK9b eSNauN7dkVuJcSrTctbOTJm0MxhNqnvAZqZcxNLOc/1HK/UAFE6wsrKGf9URaukAXJhn CYOA== 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=BSIJCfDLCtALJgJxgLUI3bO1lNezrh3WVOBS0afg8oE=; b=JrMdPVUbvVVxyAVfxpvuV/eVcbdWQgB5ZqGFluPgRIFysJcXFhkQZioQblq5PQei0m LXFztqOBHIrOCUf8ARgOgwp93yYRpSRnyC2cRQ1fpJUZ/oXqT8/So9ignoFtcdX15P1d 6rBkOPx956IkaRY6JDC/nvvlup0gUmEu9yD47jNZy6ScZr/LRDm0aODi0Dr/DlKsMEbu gD6XkxdFHgaPTHJjqnbe3vk3yVZpA2S1f+IZZ1dVLCAq/EMiCSM9WhqxkxlO4bbefCED Pp2aIkZnmO4u/CuJ2RIyPtxBTUWjXCPmJsDshkvRm/0Blx6SMpUjGaOgyTCtVPIZAFNH pVhw== X-Gm-Message-State: AElRT7G7lebt2eHPZ/ZZ6TpRUshMy3hAOrKAknu/YLdSHax57pbyN5nv OONgdPF6bQOhLBHjXin4oNgdBrp/4lj5Pd9KalYdmQ== X-Google-Smtp-Source: AG47ELvK+Icy1h5C1PW/jHXM4W12F8e/xyWSfchcoHgyqFz8HW6+bEUKj57VMi5TXMXShv723qGyXiwHTVjZdnu7tmI= X-Received: by 10.107.162.146 with SMTP id l140mr21834598ioe.39.1521731419515; Thu, 22 Mar 2018 08:10:19 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.203.196 with HTTP; Thu, 22 Mar 2018 08:10:18 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: <8addac2d-4b04-1a87-8f5f-492f53fb783e@zhegan.in> References: <64c1f57a-c461-cc48-8dfa-1b18ef3865e0@zhegan.in> <8addac2d-4b04-1a87-8f5f-492f53fb783e@zhegan.in> From: Warner Losh Date: Thu, 22 Mar 2018 09:10:18 -0600 X-Google-Sender-Auth: RSJQi2s3JkN8fUQ4civdUS-LDgc Message-ID: Subject: Re: panic: vdrop: holdcnt 0 To: "Eugene M. Zheganin" Cc: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 15:10:21 -0000 On Thu, Mar 22, 2018 at 7:37 AM, Eugene M. Zheganin wrote: > Hello, > > On 22.03.2018 18:05, Eugene M. Zheganin wrote: > >> today I eventyally got "panic: vdrop: holdcnt 0" on an iSCSI host, on an >> 11.1. Since I don't see any decent information on this - I just wanted to >> ask - what this kind of panic generally mean ? And where do I go with this. >> The only PR I see is about 9.[, and the author there got multiple >> reproducing crashes, not just one. >> > To be more specific - here's a backtrace: > > Unread portion of the kernel message buffer: > panic: vdrop: holdcnt 0 > cpuid = 11 > KDB: stack backtrace: > #0 0xffffffff80aadac7 at kdb_backtrace+0x67 > #1 0xffffffff80a6bba6 at vpanic+0x186 > #2 0xffffffff80a6ba13 at panic+0x43 > #3 0xffffffff80b28739 at _vdrop+0x3e9 > #4 0xffffffff80b295d8 at vputx+0x2f8 > #5 0xffffffff80b38342 at vn_close1+0x182 > #6 0xffffffff82639d1a at ctl_be_block_ioctl+0x86a > #7 0xffffffff82632bdc at ctl_ioctl+0x48c > #8 0xffffffff8093ae38 at devfs_ioctl_f+0x128 > #9 0xffffffff80ac9415 at kern_ioctl+0x255 > #10 0xffffffff80ac914f at sys_ioctl+0x16f > #11 0xffffffff80ee0394 at amd64_syscall+0x6c4 > #12 0xffffffff80ec39bb at Xfast_syscall+0xfb > Uptime: 1d17h36m25s > > I also have the full crashdump and stuff, in case someone will show an > interest. This is currently the only panic I got, but this > happened on a production system, which is, by the way 11.1-RELEASE-p6 > r329259M, an iSCSI host and M stands for iscsi holdoff patch > which was recently MFC'd, but appeared later than the 11.1 was released. Can you try the latest -current with https://reviews.freebsd.org/D14792? Warner