NetBSD Problem Report #1172
From gnats Thu Jun 29 06:18:07 1995
Received: (from cgd@localhost) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) id GAA09137; Thu, 29 Jun 1995 06:18:07 -0400
Message-Id: <199506291018.GAA09137@sun-lamp.pc.cs.cmu.edu>
Date: Thu, 29 Jun 1995 06:18:07 -0400
From: "Chris G. Demetriou" <cgd>
Reply-To: cgd
To: gnats-bugs@NetBSD.ORG
Subject: 'fs clean' implementation botches certain cases
X-Send-Pr-Version: 3.2
>Number: 1172
>Category: kern
>Synopsis: 'fs clean' code can cause system crash, bogus clean markings
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 29 06:20:01 +0000 1995
>Closed-Date: Fri Dec 29 21:56:20 +0000 1995
>Last-Modified: Fri Dec 29 21:56:47 +0000 1995
>Originator: Chris G. Demetriou
>Release: 6/27/95 -current
>Organization:
Kernel Hackers 'r' Us
>Environment:
System: NetBSD sun-lamp.pc.cs.cmu.edu 1.0A NetBSD 1.0A (SUN_LAMP) #0: Sun Jun 18 16:41:02 EDT 1995 cgd@sun-lamp.pc.cs.cmu.edu:/usr/src/sys/arch/i386/compile/SUN_LAMP i386
>Description:
FS unmounting/'clean' code can cause system to crash on reboot,
and can leave file systems incorrectly marked 'clean.'
This is probably the cause of some of the hangs on reboot
that people have been reporting.
>How-To-Repeat:
cd /usr/src/sbin/init ; make ; make install ; reboot
note crash and/or trouble rebooting. on reboot:
fsck -p
note that fsck says that root file system is clean. then:
fsck
note that root file system (MARKED CLEAN!!!) was actually dirty.
>Fix:
Dunno; if i'd had time to track it down, i would have.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: thorpej
State-Changed-When: Fri Dec 29 11:15:12 PST 1995
State-Changed-Why:
This appears to have been fixed a bit before 1.1. I notice that the Alpha
port now allows the fsclean code to do it's work. Should I just go ahead
and close this?
Responsible-Changed-From-To: kern-bug-people->thorpej
Responsible-Changed-By: thorpej
Responsible-Changed-When: Fri Dec 29 11:15:12 PST 1995
Responsible-Changed-Why:
I'll deal with the feedback and close it out if appropriate.
State-Changed-From-To: feedback->closed
State-Changed-By: thorpej
State-Changed-When: Fri Dec 29 13:56:20 PST 1995
State-Changed-Why:
It's been fixed.
>Unformatted:
(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.