Subject: Re: ffs compatibility added, fsck may complain
To: Daniel Carosone <dan@geek.com.au>
From: Darrin B. Jewell <dbj@netbsd.org>
List: current-users
Date: 01/12/2004 01:01:10
Yes, your case is able to witness the lossage.
The kernel "netbsd.old" has ffs_vfsops.c version
1.128 from 2003/11/08 could have updated your superblock
incorrectly.
Darrin
Daniel Carosone <dan@geek.com.au> writes:
> On Sun, Jan 11, 2004 at 11:48:33PM -0500, Darrin B. Jewell wrote:
> > This should only affect people who migrated from a kernel before
> > 20030402 directly to a kernel from the time period
> > between 20030913 (revision 1.120 of ffs_vfsops.c)
> > and my changes of 20040109 (revision 1.131 of ffs_vfsops.c)
>
> Well, i saw it when I rebooted last night, after upgrading userland -
> I had previously rebooted with a new kernel, but previous not-very-old
> fsck. Dates and details below:
>
> dan@uboat [15:47][330]~> what /netbsd /netbsd.old
> /netbsd
> NetBSD 1.6ZH (_uboat_) #167: Sun Jan 11 18:08:32 EST 2004
> /netbsd.old
> NetBSD 1.6ZF (_uboat_) #166: Mon Nov 24 16:29:52 EST 2003
>
> dan@uboat [15:57][332]~> ident /netbsd /netbsd.old | grep ffs_vfsops.c
> $NetBSD: ffs_vfsops.c,v 1.132 2004/01/10 16:23:36 hannken Exp $
> $NetBSD: ffs_vfsops.c,v 1.128 2003/11/08 05:35:11 dbj Exp $
>
> dan@uboat [15:57][333]~> ident /sbin/fsck /altroot/sbin/fsck
> /sbin/fsck:
> $NetBSD: crt0.c,v 1.13 2003/07/26 19:24:27 salo Exp $
> $NetBSD: fsck.c,v 1.32 2004/01/05 23:23:32 jmmv Exp $
> $NetBSD: fsutil.c,v 1.14 2003/10/20 12:04:38 dsl Exp $
> $NetBSD: preen.c,v 1.25 2003/08/07 10:04:16 agc Exp $
>
> /altroot/sbin/fsck:
> $NetBSD: crt0.c,v 1.13 2003/07/26 19:24:27 salo Exp $
> $NetBSD: fsck.c,v 1.31 2003/10/20 12:04:38 dsl Exp $
> $NetBSD: fsutil.c,v 1.14 2003/10/20 12:04:38 dsl Exp $
> $NetBSD: preen.c,v 1.25 2003/08/07 10:04:16 agc Exp $
>
> AFAICT from your dates, I shouldn't have seen lossage, right?
>
> BTW, I still have one FS in a cgd that I haven't touched since either
> upgrade, in case that's of interest.
>
> --
> Dan.