Subject: Kernel upgrade
To: Port-VAX <port-vax@NetBSD.org>
From: A. Wik <aw@narpes.com>
List: port-vax
Date: 08/30/2004 03:37:37
I'm trying to upgrade the kernel from 1.5.1_BETA
to 1.6.2.  It boots fine, but the fsck fails:

    /dev/rsd0a: BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST
    ALTERNATE

    /dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
    Automatic file system check failed; help!
    Aug 30 03:07:25 init: /bin/sh on /etc/rc terminated abnormally, going to single

Manual fsck says:
    # fsck_ffs /dev/sd0a
    ** /dev/rsd0a
    BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

    LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

    USING ALTERNATE SUPERBLOCK AT 32
    ** File system is already clean
    ** Last Mounted on
    ** Root file system
    ** Phase 1 - Check Blocks and Sizes
    -805310560 BAD I=43033
    -978912013 BAD I=43033
    -1503249726 BAD I=43033
    706327883 BAD I=43033
    -1973757828 BAD I=43033
    -1851742158 BAD I=43033
    1451764069 BAD I=43033
    -1177373238 BAD I=43033
    -15190728 BAD I=43033
    -1105068801 BAD I=43033
    -536871777 BAD I=43033
    EXCESSIVE BAD BLKS I=43033
    CONTINUE? [yn] n


    UPDATE STANDARD SUPERBLOCK? [yn] n

The old kernel had no such complaints.

If I copy /usr/bin/true to /sbin/fsck, everything seems to
work as well as before  ;)

-aw