Subject: Re: LFS panic
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Tobias Nygren <tnn+nbsd@nygren.pp.se>
List: current-users
Date: 12/03/2006 18:08:19
Blair Sadewitz wrote:
> I changed a 4.2BSD slice to 4.4LFS, and newfs_lfs'd it, accidentally
> without unmounting it.
> After the newfs, I unmounted it and remounted it.
>
> Then when I attempted to write to it, I got a panic due to an integer
> divide fault.  Sorry, no DDB, but I will enable it from now on.
>
> Any ideas?
>
> --Blair
>

When you unmounted the ffs filesystem the superblocks got updated,
causing some random corruption on the LFS filesystem.
I wouldn't expect any operating system to deal with such abuse
gracefully ;)