From nick@news.eunet.ie  Fri Jan 17 04:40:59 1997
Received: from news.Ireland.EU.net (news.ieunet.ie [192.111.39.8])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id EAA27352
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Jan 1997 04:40:57 -0800 (PST)
Received: (from root@localhost) by news.Ireland.EU.net (8.7.6/8.7.3) id MAA09002; Fri, 17 Jan 1997 12:40:49 GMT
Message-Id: <199701171240.MAA09002@news.Ireland.EU.net>
Date: Fri, 17 Jan 1997 12:40:49 GMT
From: nick@eunet.ie
Reply-To: nick@eunet.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: Filesystem trouble in 2.2-BETA_A
X-Send-Pr-Version: 3.2

>Number:         2516
>Category:       kern
>Synopsis:       Bug in ffs code causes block corruption
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 17 04:50:02 PST 1997
>Closed-Date:    Mon Feb 17 10:10:35 PST 1997
>Last-Modified:  Mon Feb 17 10:11:24 PST 1997
>Originator:     Nick Hilliard
>Release:        FreeBSD 2.2-BETA_A i386
>Organization:
EUnet Ireland
>Environment:

	DEC prioris LX, AHA3940 SCSI, Seagate Barracuda 32250W 2Gb disk.

>Description:

	One of the systems in here crashed this morning with an error:

		blkfree: freeing free block

	The partition affected was:

: Filesystem   1K-blocks     Used    Avail Capacity  Mounted on
: /dev/sd1s1f     794783   488075   266969    65%    /var/spool/overview

: # dmesg | grep ahc3
: ahc3 <Adaptec 3940 SCSI host adapter> rev 3 int a irq 5 on pci1:5
: ahc3: aic7870 Wide Channel B, SCSI Id=7, 16 SCBs
: ahc3 waiting for scsi devices to settle
: (ahc3:1:0): "SEAGATE ST32550W 0021" type 0 fixed SCSI 2
: sd1(ahc3:1:0): Direct-Access 2047MB (4194058 512 byte sectors)

	I don't have the output from the printf statement immediately
	preceding this in /sys/ufs/ffs/ffs_alloc.c.

	The firesystem was created with newfs (no special args) last Sunday
	(97/01/12) and the machine had been up since then without any
	trouble.

>How-To-Repeat:

	Unknown.

>Fix:
	
	unknown, sorry :-/
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Mon Feb 17 10:10:35 PST 1997 
State-Changed-Why:  
Due to the lack of information, and the fact that the 
problem did not reappear, the originator agrees that 
this PR may be closed. 
>Unformatted:
