Re: Crash on very recent CURRENT if using poudriere

2019-06-02 Thread Konstantin Belousov
On Sun, Jun 02, 2019 at 07:45:34PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > > > > [panic] non-zero write count during poudriere run
> > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238031
> > > > > 
> > > > > Ideas on how to proceed ?
> > > > 
> > > > Try this.
> > > 
> > > Unfortunatly, I can no longer reproduce the crashes after the
> > > update of the kernel to r348454.
> > 
> > Regardless of that, did you run with the patch applied ?
> 
> No -- should I ? How would you or I know that it changed anything ?
> 
> Should I try with the previous kernel @ r348371M and that patch ?
Run today kernel with the patch.  I am only interested in report is it
panic or not (and all usual details it it does panics).
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Crash on very recent CURRENT if using poudriere

2019-06-02 Thread Kurt Jaeger
Hi!

> > > > [panic] non-zero write count during poudriere run
> > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238031
> > > > 
> > > > Ideas on how to proceed ?
> > > 
> > > Try this.
> > 
> > Unfortunatly, I can no longer reproduce the crashes after the
> > update of the kernel to r348454.
> 
> Regardless of that, did you run with the patch applied ?

No -- should I ? How would you or I know that it changed anything ?

Should I try with the previous kernel @ r348371M and that patch ?

-- 
p...@freebsd.org +49 171 3101372  One year to go !
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Crash on very recent CURRENT if using poudriere

2019-06-02 Thread Konstantin Belousov
On Sun, Jun 02, 2019 at 06:48:51PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > > [panic] non-zero write count during poudriere run
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238031
> > > 
> > > Ideas on how to proceed ?
> > 
> > Try this.
> 
> Unfortunatly, I can no longer reproduce the crashes after the
> update of the kernel to r348454.

Regardless of that, did you run with the patch applied ?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Crash on very recent CURRENT if using poudriere

2019-06-02 Thread Kurt Jaeger
Hi!

> > [panic] non-zero write count during poudriere run
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238031
> > 
> > Ideas on how to proceed ?
> 
> Try this.

Unfortunatly, I can no longer reproduce the crashes after the
update of the kernel to r348454.

-- 
p...@opsec.eu+49 171 3101372One year to go !
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Crash on very recent CURRENT if using poudriere

2019-05-31 Thread Konstantin Belousov
On Fri, May 31, 2019 at 12:49:11PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> [panic] non-zero write count during poudriere run
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238031
> 
> Ideas on how to proceed ?

Try this.

diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index f92383179a9..b663d8d718d 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -810,6 +810,8 @@ null_reclaim(struct vop_reclaim_args *ap)
 */
if (vp->v_writecount > 0)
VOP_ADD_WRITECOUNT(lowervp, -vp->v_writecount);
+   else if (vp->v_writecount < 0)
+   vp->v_writecount = 0;
 
VI_UNLOCK(vp);
 
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c
index f9db5f99e50..9fe58cd4c13 100644
--- a/sys/fs/tmpfs/tmpfs_subr.c
+++ b/sys/fs/tmpfs/tmpfs_subr.c
@@ -488,6 +488,8 @@ tmpfs_destroy_vobject(struct vnode *vp, vm_object_t obj)
VI_LOCK(vp);
vm_object_clear_flag(obj, OBJ_TMPFS);
obj->un_pager.swp.swp_tmpfs = NULL;
+   if (vp->v_writecount < 0)
+   vp->v_writecount = 0;
VI_UNLOCK(vp);
VM_OBJECT_WUNLOCK(obj);
 }
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Crash on very recent CURRENT if using poudriere

2019-05-31 Thread Kurt Jaeger
Hi!

[panic] non-zero write count during poudriere run
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238031

Ideas on how to proceed ?

-- 
p...@opsec.eu+49 171 3101372One year to go !
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"