r359627 is panicked with 'softdep_setup_blkfree: not free'

Kirk McKusick mckusick at mckusick.com
Thu Apr 9 05:44:19 UTC 2020


> Date: Wed, 08 Apr 2020 09:53:04 +0900 (JST)
> To: freebsd-current at freebsd.org
> Subject: Re: r359627 is panicked with 'softdep_setup_blkfree: not free'
> From: Masachika ISHIZUKA <ish at amail.plala.or.jp>
> 
> >>>>>    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, today
> 
>   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: Sun Mar 22 12:34:40 JST 2020     ishizuka at okra.ish.org:/usr/altlocal/freebsd-current/obj/usr/altlocal/freebsd-current/src/amd64.amd64/sys/GENERIC  amd64 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 = 0;
  	softdeptrunc = 0;
  	journaltrunc = DOINGSUJ(vp);
+ 	journaltrunc = 0;
  	if (journaltrunc == 0 && DOINGSOFTDEP(vp) && length == 0)
  		softdeptrunc = !softdep_slowdown(vp);
  	extblocks = 0;

Thanks,

	Kirk McKusick


More information about the freebsd-current mailing list