filesystem corruption with kernel built on Friday.

Andrew Atrens atrens at nortelnetworks.com
Mon May 10 13:25:59 PDT 2004



Hi All,

My system was up and running from Friday (with a kernel built that day) to
(roughly) about 15 minutes ago when all of a sudden my Diab cross-compiler
(linux executable, nfs mounted fs) started segv'ing.

At that point I figured it might be time to reboot so I cvsupped to pick up
the latest changes and then checked out a new kernel. A strange thing
happened though when I ran config... It gave me errors about files and
directories not being accessible. I immediately rebooted, and ran config
again, same errors. Ouch. Dropped into single user mode and started to fsck
and it doesn't look good :( ...

** /dev/twed0f
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
UNALLOCATED  I=7082379  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/dfly/devel/src/sys/compile/ATRENS/usr/dfly/devel/src/sys/dev/misc/snp

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082380  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/dfly/devel/src/sys/compile/ATRENS/usr/dfly/devel/src/sys/dev/netif

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082372  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.build_done.lzo-1.08_1._usr_local

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082374  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.PLIST.mktmp

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082373  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.PLIST.flattened

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082375  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.PLIST.setuid

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082376  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.PLIST.writable

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082377  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.PLIST.objdump

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082378  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/.install_done.lzo-1.08_1._usr_local

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082369  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/lzo-1.08/minilzo/.deps/minilzo.Po

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082368  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/lzo-1.08/minilzo/minilzo.o

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082370  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/lzo-1.08/minilzo/.libs

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

UNALLOCATED  I=7082371  OWNER=root MODE=0
SIZE=0 MTIME=Jan  1 00:00 1970
NAME=/ports/archivers/lzo/work/lzo-1.08/minilzo/testmini

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn] y

** Phase 3 - Check Connectivity
UNREF DIR  I=7082421  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082421 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082420  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082420 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082419  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082419 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082418  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082418 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082417  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082417 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082416  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082416 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082415  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082415 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082414  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082414 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082413  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082413 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082412  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082412 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082411  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082411 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082410  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082410 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082409  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:54 2004
RECONNECT? [yn] y

DIR I=7082409 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082408  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082408 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082407  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082407 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082406  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082406 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082405  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082405 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082404  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082404 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082403  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082403 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082402  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082402 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082401  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082401 CONNECTED. PARENT WAS I=7082380

UNREF DIR  I=7082400  OWNER=root MODE=40755
SIZE=512 MTIME=May  6 13:53 2004
RECONNECT? [yn] y

DIR I=7082400 CONNECTED. PARENT WAS I=7082380

** Phase 4 - Check Reference Counts
LINK COUNT DIR I=6793675  OWNER=root MODE=40755
SIZE=512 MTIME=May 10 20:06 2004  COUNT 4 SHOULD BE 3
ADJUST? [yn] y

LINK COUNT DIR I=6793704  OWNER=root MODE=40755
SIZE=512 MTIME=May 10 20:06 2004  COUNT 3 SHOULD BE 2
ADJUST? [yn] y

LINK COUNT DIR I=7082027  OWNER=root MODE=40777
SIZE=512 MTIME=Apr 27 17:22 2004  COUNT 4 SHOULD BE 3
ADJUST? [yn] y

UNREF FILE  I=7082452  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082454  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082455  OWNER=root MODE=100644
SIZE=38123 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082456  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082457  OWNER=root MODE=100644
SIZE=978 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082458  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082459  OWNER=root MODE=100644
SIZE=15 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082460  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082461  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082462  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082463  OWNER=root MODE=100644
SIZE=1616 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082464  OWNER=root MODE=100644
SIZE=7192 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082465  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082466  OWNER=root MODE=100644
SIZE=4556 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082467  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082468  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082469  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082470  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082471  OWNER=root MODE=100644
SIZE=1616 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082472  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082473  OWNER=root MODE=120755
SIZE=46 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082474  OWNER=root MODE=100644
SIZE=2726 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082475  OWNER=root MODE=120755
SIZE=59 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082476  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082477  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082478  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082479  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082480  OWNER=root MODE=100644
SIZE=1425 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082481  OWNER=root MODE=120755
SIZE=46 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082482  OWNER=root MODE=100644
SIZE=1233 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082483  OWNER=root MODE=120755
SIZE=59 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082484  OWNER=root MODE=100644
SIZE=1425 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082485  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082486  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082487  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082488  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082489  OWNER=root MODE=120755
SIZE=46 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082490  OWNER=root MODE=100644
SIZE=1259 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082491  OWNER=root MODE=120755
SIZE=59 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082492  OWNER=root MODE=100644
SIZE=1425 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082493  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082494  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082495  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082496  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082497  OWNER=root MODE=120755
SIZE=46 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082498  OWNER=root MODE=100644
SIZE=1355 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082499  OWNER=root MODE=120755
SIZE=59 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082500  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082501  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082502  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082503  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082504  OWNER=root MODE=100644
SIZE=1425 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082505  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082506  OWNER=root MODE=100644
SIZE=1093 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082507  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082508  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082509  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082510  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082511  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082512  OWNER=root MODE=100644
SIZE=1425 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082513  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082514  OWNER=root MODE=100644
SIZE=1286 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082515  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082516  OWNER=root MODE=100644
SIZE=7192 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082517  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082518  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082519  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082520  OWNER=root MODE=100644
SIZE=1616 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082521  OWNER=root MODE=100644
SIZE=1425 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082522  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082523  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082524  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082525  OWNER=root MODE=100644
SIZE=3796 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082526  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082527  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082528  OWNER=root MODE=100644
SIZE=9921 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082529  OWNER=root MODE=100644
SIZE=3737 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082530  OWNER=root MODE=100644
SIZE=0 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082531  OWNER=root MODE=120755
SIZE=45 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082532  OWNER=root MODE=100644
SIZE=2663 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082533  OWNER=root MODE=120755
SIZE=58 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

UNREF FILE  I=7082534  OWNER=root MODE=100644
SIZE=2063 MTIME=May  6 13:49 2004
RECONNECT? [yn] y

. ...


and so on...




Was running with mmxopt=1 ...


Andrew.







More information about the Bugs mailing list