Subject: kern/7450: panic: blkfree: freeing free frag
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/22/1999 21:20:59
>Number:         7450
>Category:       kern
>Synopsis:       panic: blkfree: freeing free frag
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 22 21:20:01 1999
>Originator:     Dean Huxley
>Release:        NetBSD-1.4_BETA
System: NetBSD jalapeno 1.4_BETA NetBSD 1.4_BETA (GENERIC) #1: Wed Apr 21 09:17:06 PDT 1999 root@struis:/usr/src/sys/arch/i386/compile/GENERIC i386

	Got the panic "blkfree: freeing free frag" shortly after installing
1.4_BETA.  I hadn't done much other than copying some files, then downloaded
& untar'd pkgsrc, made and installed tcsh, then attempted to make ssh.  Five
or six makes deep, it did an rm that caused the panic:

dev = 0x404, block = 16384, fs = /usr
panic: blkfree: freeing free frag
Stopped in rm at    _Debugger+0x4:   leave
db> trace
_Debugger(f07290d4,f752c000,ff,f819dd04,f0264400) at _Debugger+0x4
_panic(f0263f11,f0263ed4,404,4000,f07290d4) at _panic+0x55
_ffs_blkfree(f812bddc,4000,400,f819de64,f812ae04) at _ffs_blkfree+0x4d4
_ffs_truncate(f819de64,f812ae50,0,f8149138,f812ae04) at _ffs_truncate+0xa59
_ufs_inactive(f819de90,f812bddc,f0389830,f812ae04,f817688c) at _ufs_inactive+0xbd
_vput(f812ae04) at _vput+0xa0
_ufs_remove(f819ded4,f819df88,f817688c,f819df80,f819ded4) at _ufs_remove+0x79
_sys_unlink(f817688c,f819df88,f819df80,0,3e000) at _sys_unlink+0x135
_syscall() at _syscall+0x20e
--- syscall (number 10) ---

(fsck wasn't happy with /usr after rebooting.)

I've got the crash dump saved if anyone wants it...

	Don't know.
	Don't know.