NetBSD Problem Report #656

From gnats  Sun Dec 25 19:18:09 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id TAA07454 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 25 Dec 1994 19:18:09 -0800
Message-Id: <199412260320.EAA21387@forte>
Date: Mon, 26 Dec 1994 04:20:27 +0100
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-bugs@NetBSD.ORG
Subject: BAD SUPER BLOCK messages from fsck
X-Send-Pr-Version: 3.2

>Number:         656
>Category:       bin
>Synopsis:       BAD SUPER BLOCK messages from fsck
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 25 19:20:03 +0000 1994
>Closed-Date:    Tue Dec 27 19:28:49 +0000 1994
>Last-Modified:  
>Originator:     Thomas Eberhardt
>Release:        1.0A
>Organization:
CeVis, University of Bremen, Germany
>Environment:

System: NetBSD ed209 1.0A NetBSD 1.0A (ED209) #0: Mon Dec 26 01:53:10 MET 1994 thomas@ed209:/usr/src/sys/arch/i386/compile/ED209 i386

Machine: i386
>Description:
	After the file system code sync with CSRG I get this nasty message
	"BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST
	ALTERNATE" every time I reboot.  I've traced this back to a new
	dynamically changing field "fs_maxcluster" in the super block thats
	not copied to the alternate super block before comparison.
>How-To-Repeat:

>Fix:
*** sbin/fsck/setup.c-	Wed Dec 21 12:10:10 1994
--- sbin/fsck/setup.c	Mon Dec 26 04:08:07 1994
***************
*** 360,365 ****
--- 360,366 ----
  	altsblock.fs_optim = sblock.fs_optim;
  	altsblock.fs_rotdelay = sblock.fs_rotdelay;
  	altsblock.fs_maxbpg = sblock.fs_maxbpg;
+ 	altsblock.fs_maxcluster = sblock.fs_maxcluster;
  	memcpy(altsblock.fs_csp, sblock.fs_csp,
  		sizeof sblock.fs_csp);
  	memcpy(altsblock.fs_fsmnt, sblock.fs_fsmnt,
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Tue Dec 27 11:28:49 PST 1994 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.