Subject: Re: large FFSv2 -> file system corruption
To: None <current-users@netbsd.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: current-users
Date: 07/21/2004 15:20:02
On Wed, Jul 21, 2004 at 10:36:46AM -0400, Jan Schaumann wrote:
> Eric Haszlakiewicz <erh@jodi.nimenees.com> wrote:
> > On Tue, Jul 20, 2004 at 11:04:31PM -0400, Jan Schaumann wrote:
> > > After newfs'ing the file system using FFSv1, and trying to populate the
> > > file system, I get a kernel panic:
> > > 
> > > /anon-root: bad dir ino 76362257 at offset 51632: mangled entry
> > > panic: bad dir                                                        
> > > Stopped in pid 366.1 (pax) at   netbsd:cpu_Debugger+0x1:        ret
> > > 
> > > What the hell is going on here?
> > 
> > 	I recently saw a patch someone posted that adjusted some 32-bit casts
> > in the ffs code.  Perhaps that's what's triggering your problem?
> 
> Any idea where that patch appeared and which files it patched?  Was it
> commited?

Take a look at tech-kern for the message id

	"Message-ID: <qqsmbmr7uu.fsf@marcela.zlz.net>"

from Darrin Jewell.

Regards,
Alistair