Re: r359627 is panicked with 'softdep_setup_blkfree: not free'

From: Kirk McKusick <mckusick_at_mckusick.com>
Date: Wed, 08 Apr 2020 22:40:32 -0700
> 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
Received on Thu Apr 09 2020 - 03:44:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC