From owner-freebsd-current@freebsd.org Thu Apr 9 05:44:19 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 343612AED3B for ; Thu, 9 Apr 2020 05:44:19 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [70.36.157.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48yVSy02Kyz47MN for ; Thu, 9 Apr 2020 05:44:17 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (localhost [IPv6:::1]) by chez.mckusick.com (8.15.2/8.15.2) with ESMTP id 0395eWWE087378; Wed, 8 Apr 2020 22:40:32 -0700 (PDT) (envelope-from mckusick@mckusick.com) Message-Id: <202004090540.0395eWWE087378@chez.mckusick.com> From: Kirk McKusick To: Masachika ISHIZUKA Subject: Re: r359627 is panicked with 'softdep_setup_blkfree: not free' cc: freebsd-current@freebsd.org X-URL: http://WWW.McKusick.COM/ Reply-To: Kirk McKusick In-reply-to: <20200408.095304.2104262169125526778.ish@amail.plala.or.jp> Comments: In-reply-to Masachika ISHIZUKA message dated "Wed, 08 Apr 2020 09:53:04 +0900." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <87376.1586410832.1@chez.mckusick.com> Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Apr 2020 22:40:32 -0700 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,MISSING_MID, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on chez.mckusick.com X-Rspamd-Queue-Id: 48yVSy02Kyz47MN X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of mckusick@mckusick.com has no SPF policy when checking 70.36.157.235) smtp.mailfrom=mckusick@mckusick.com X-Spamd-Result: default: False [-0.52 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[mckusick@mckusick.com]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.66)[-0.662,0]; NEURAL_HAM_LONG(-0.66)[-0.656,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[mckusick.com]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[235.157.36.70.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:46375, ipnet:70.36.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.10)[ip: (0.04), ipnet: 70.36.128.0/19(0.02), asn: 46375(-0.52), country: US(-0.05)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 09 Apr 2020 05:44:19 -0000 > Date: Wed, 08 Apr 2020 09:53:04 +0900 (JST) > To: freebsd-current@freebsd.org > Subject: Re: r359627 is panicked with 'softdep_setup_blkfree: not free' > From: Masachika ISHIZUKA > = > >>>>> I'm using r359627M. (r359627 with mount_udf2). > >>>>> It is panicked with 'softdep_setup_blkfree: not free'. > > = > > Recently I've started observing issues like this too. For example, tod= ay > = > As it was good working on r359197M, I'm booted old kernel(r359197M). > % uname -UKa > FreeBSD carrot.ish.org 13.0-CURRENT FreeBSD 13.0-CURRENT #1 r359197M: Su= n Mar 22 12:34:40 JST 2020 ishizuka@okra.ish.org:/usr/altlocal/freebsd= -current/obj/usr/altlocal/freebsd-current/src/amd64.amd64/sys/GENERIC amd= 64 1300084 1300088 > = > Although it is mismatch with kernel version and userland version, > it's good working. > I'll use this old kernel for a while. > -- = > Masachika ISHIZUKA Could you please try this workaround to see if it clears your panic: *** sys/ufs/ffs/ffs_inode.c Wed Apr 8 21:57:31 2020 --- sys/ufs/ffs/ffs_inode.c.new Wed Apr 8 22:33:36 2020 *************** *** 244,249 **** --- 244,250 ---- needextclean =3D 0; softdeptrunc =3D 0; journaltrunc =3D DOINGSUJ(vp); + journaltrunc =3D 0; if (journaltrunc =3D=3D 0 && DOINGSOFTDEP(vp) && length =3D=3D 0) softdeptrunc =3D !softdep_slowdown(vp); extblocks =3D 0; Thanks, Kirk McKusick