Re: stacked unionfs freeze and crash FreeBSD

From: David Naylor <naylor.b.david_at_gmail.com>
Date: Thu, 21 Jan 2010 19:52:16 +0200
On Wednesday 20 January 2010 19:16:59 Andriy Gapon wrote:
> on 20/01/2010 18:34 David Naylor said the following:
> > Here it is.  If anyone ones the full core.txt just shout.
> >
> > #0  doadump () at pcpu.h:223
> > 223     pcpu.h: No such file or directory.
> >         in pcpu.h
> > (kgdb) #0  doadump () at pcpu.h:223
> > #1  0xffffffff80589ba9 in boot (howto=260)
> >     at /usr/src/sys/kern/kern_shutdown.c:416
> > #2  0xffffffff80589fdc in panic (fmt=0xffffffff8098bd81 "double fault")
> >     at /usr/src/sys/kern/kern_shutdown.c:579
> > #3  0xffffffff8086e546 in dblfault_handler (frame=Variable "frame" is not
> > available.)
> >     at /usr/src/sys/amd64/amd64/trap.c:884
> > #4  0xffffffff808557fc in Xdblfault ()
> >     at /usr/src/sys/amd64/amd64/exception.S:278
> > #5  0xffffffff81e464c1 in unionfs_statfs (mp=Variable "mp" is not
> > available.) at
> > /usr/src/sys/modules/unionfs/../../fs/unionfs/union_vfsops.c:428 Previous
> > frame inner to this frame (corrupt stack?)
> > (kgdb)
> 
> Double-fault could indicate stack overflow.

Thanks, I bumped KSTACK_PAGES to 32 (just to be on the safe side) and it is 
working fairly well now.  Only crash I have had since was related to tmpfs.  
So far I have successfully build a port with 59 stacked unionfs (1 rw, 58 ro).  

Regards,

David

Received on Thu Jan 21 2010 - 16:52:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC