From owner-freebsd-stable@freebsd.org Thu Mar 22 13:37:13 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 68217F67E0F for ; Thu, 22 Mar 2018 13:37:13 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B25BF74D23 for ; Thu, 22 Mar 2018 13:37:12 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from bsdrookie.norma.com. (asterisk.enaza.ru [91.237.76.254]) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id w2MDbASN056565 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 22 Mar 2018 18:37:10 +0500 (YEKT) (envelope-from eugene@zhegan.in) Subject: Re: panic: vdrop: holdcnt 0 To: freebsd-stable@freebsd.org References: <64c1f57a-c461-cc48-8dfa-1b18ef3865e0@zhegan.in> From: "Eugene M. Zheganin" Message-ID: <8addac2d-4b04-1a87-8f5f-492f53fb783e@zhegan.in> Date: Thu, 22 Mar 2018 18:37:10 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <64c1f57a-c461-cc48-8dfa-1b18ef3865e0@zhegan.in> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spamd-Result: default: False [-998.10 / 25.00] WHITELISTED_IPS(-999.00)[91.237.76.254] AUTH_NA(1.00)[] RCVD_COUNT_TWO(0.00)[2] MID_RHS_MATCH_FROM(0.00)[] DMARC_NA(0.00)[zhegan.in] FROM_EQ_ENVFROM(0.00)[] ARC_NA(0.00)[] ASN(0.00)[asn:57973, ipnet:91.237.76.0/24, country:RU] FROM_HAS_DN(0.00)[] R_SPF_NA(0.00)[] TO_MATCH_ENVRCPT_ALL(0.00)[] TO_DN_NONE(0.00)[] MIME_GOOD(-0.10)[text/plain] RCPT_COUNT_ONE(0.00)[1] RCVD_TLS_ALL(0.00)[] R_DKIM_NA(0.00)[] IP_SCORE(0.00)[ip: (-9.88), ipnet: 91.237.76.0/24(-7.79), asn: 57973(-4.87), country: RU(0.11)] X-Rspamd-Server: localhost X-Rspamd-Scan-Time: 0.57 X-Rspamd-Queue-ID: w2MDbASN056565 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 13:37:13 -0000 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. Eugene.