NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/51601: file system inconsistency and ffs_blkfree panic



>Number:         51601
>Category:       kern
>Synopsis:       file system inconsistency and ffs_blkfree panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 05 11:55:00 +0000 2016
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.42
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD gemini.duskware.de 7.99.42 NetBSD 7.99.42 (GENERIC-$Revision: 1.369 $) #29: Fri Nov 4 13:18:37 CET 2016 martin%martins.aprisoft.de@localhost:/ssd/src/sys/arch/alpha/compile/GENERIC alpha
Architecture: alpha
Machine: alpha
>Description:

While running the atf tests, my alpha paniced and went into an endless reboot
loop:

Mounting all file systems...
Clearing temporary files.
panic: ffs_blkfree: bad size: dev = 0x1000, bno = 7394611223040414225 bsize = 16384, size = 16384, fs = /

After booting to single user and running fsck I got:

** Phase 1 - Check Blocks and Sizes
PARTIALLY TRUNCATED INODE I=994061
SALVAGE? yes

49040 DUP I=994061
49041 DUP I=994061
49042 DUP I=994061
49043 DUP I=994061
49044 DUP I=994061
49045 DUP I=994061
49046 DUP I=994061
49047 DUP I=994061
49048 DUP I=994061
49049 DUP I=994061
49050 DUP I=994061
EXCESSIVE DUP BLKS I=994061

CONTINUE? yes

INCORRECT BLOCK COUNT I=994061 (672 should be 776)
CORRECT? yes

** Phase 1b - Rescan For More DUPS
49040 DUP I=3348
49041 DUP I=3348
49042 DUP I=3348
49043 DUP I=3348
49044 DUP I=3348
49045 DUP I=3348
49046 DUP I=3348
49047 DUP I=3348
49048 DUP I=3350
49049 DUP I=3350
** Phase 2 - Check Pathnames
DUP/BAD  I=994061  OWNER=0 MODE=100755
SIZE=2048000 MTIME=Nov  4 21:51 2016  
FILE=/tmp/atf-run.Tekdh4/fsimage

REMOVE? yes

DUP/BAD  I=3348  OWNER=0 MODE=100644
SIZE=1402755 MTIME=Apr 14 23:45 2015  
FILE=/test-bed/logs/57_atf.raw

REMOVE? yes

DUP/BAD  I=3350  OWNER=0 MODE=100644
SIZE=1349711 MTIME=Apr 14 23:45 2015  
FILE=/test-bed/logs/57_atf.xml

REMOVE? yes

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
BAD/DUP FILE I=3348  OWNER=0 MODE=100644
SIZE=1402755 MTIME=Apr 14 23:45 2015  
CLEAR? yes

BAD/DUP FILE I=3350  OWNER=0 MODE=100644
SIZE=1349711 MTIME=Apr 14 23:45 2015  
CLEAR? yes

BAD/DUP FILE I=994061  OWNER=0 MODE=100755
SIZE=2048000 MTIME=Nov  4 21:51 2016  
CLEAR? yes

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes

SUMMARY INFORMATION BAD
SALVAGE? yes

BLK(S) MISSING IN BIT MAPS
SALVAGE? yes

61733 files, 1995410 used, 2248669 free (22469 frags, 278275 blocks, 0.5% fragmentation)

MARK FILE SYSTEM CLEAN? yes


>How-To-Repeat:
s/a

>Fix:
n/a - maybe related to the WAPBL commit J. Hannken-Illjes pointed at?
(for PR kern/47146 and kern/49175)



Home | Main Index | Thread Index | Old Index