Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: ffs_valloc: dup alloc



On Mon, 26 Jan 2009 03:40:46 +0000
David Holland <dholland-current%netbsd.org@localhost> wrote:

> On Mon, Jan 19, 2009 at 10:09:57AM -0500, Steven M. Bellovin wrote:
>  > > > While I'm not seeing exactly that problem, I do see problems
>  > > > that result in duplicate blocks after a crash.  I think it's
>  > > > timing- and disk-layout dependent, but I do think there's a
>  > > > serious file system problem in -current.  I'm seriously
>  > > > contemplating wiping my disk and installing a system from a
>  > > > couple of months ago.
>  > > 
>  > > Do you have any ideas how one might set about replicating it?
>  > > (What mount options, partition size, etc. are you using?)
>  >
>  > I posted the other day -- if I build devel/apr, even running
>  > single-user (but only with SMP enabled), it always crashes the
>  > system, generally with duplicate inodes under apr/work.
> 
> ok, I think it's a race condition introduced in -r1.112 of
> ffs_alloc.c, with the following fix:
> 

Thanks!  However...  I had no such problems with what I think are 1.113
and 1.114 of that file.  

I leave on a trip in the morning, so I don't want to monkey with my
laptop.  I'll let this fix percolate, and I'll try it next weekend.


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index