Date: Wed, 16 Jun 2004 21:12:58 +0200 From: Ronald Klop <ronald-freebsd7@klop.yi.org> To: Robert Watson <rwatson@freebsd.org> Cc: FreeBSD-current <freebsd-current@freebsd.org> Subject: Re: panic: ffs_valloc: dup alloc Message-ID: <opr9pbnwrhm97yfk@outgoing.local> In-Reply-To: <Pine.NEB.3.96L.1040614130818.34947A-100000@fledge.watson.org> References: <Pine.NEB.3.96L.1040614130818.34947A-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary_(ID_1ZCdf8wVwgaASYRuaKctZQ) Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT On Mon, 14 Jun 2004 13:10:11 -0400 (EDT), Robert Watson <rwatson@freebsd.org> wrote: > On Mon, 14 Jun 2004, Ronald Klop wrote: > >> I'm getting this panic 'panic: ffs_valloc: dup alloc'. It happens on >> -CURRENT, since quite some time. It happens when doing an rsync from a >> remote server to my secondary disk. (ad2,master on ata1), there is no >> slave on this controller. And it always happens, so it is very >> repeatable. Is this probably a hardware failure? Or software? > > "dup alloc" tends to be a common symptom of races or other corruption > (improper zeroing of memory, etc). One thing I might recommend doing, if > you haven't done it already, is to boot to single-user and do a manual > fsck of the drive experiencing the problem to help identify if on-disk > corruption is the source. It might well be useful to log the results of > that fsck to a log file (perhaps in an md memory backed file system) to > include in a follow-up if there's anything interesting. I reproduced the problem on a 'fsck -y' cleaned fs. Attached is the output of the (second) 'fsck -y' after the panic. Can you (or somebody else) take a look at it? Greetings, Ronald. -- Ronald Klop Amsterdam, The Netherlands --Boundary_(ID_1ZCdf8wVwgaASYRuaKctZQ) Content-type: text/plain; name=fsck.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=fsck.txt ** /dev/ad0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? no SUMMARY INFORMATION BAD SALVAGE? no BLK(S) MISSING IN BIT MAPS SALVAGE? no 2254 files, 57267 used, 41916 free (1148 frags, 5096 blocks, 1.2% fragmentation) ** /dev/ad0s1f ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 269804 files, 4909057 used, 837660 free (198356 frags, 79913 blocks, 3.5% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ** /dev/ad0s1e ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 5117 files, 52137 used, 74886 free (862 frags, 9253 blocks, 0.7% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ** /dev/ad2s1d ** Last Mounted on /mnt/disk2 ** Phase 1 - Check Blocks and Sizes PARTIALLY ALLOCATED INODE I=64 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes PARTIALLY ALLOCATED INODE I=47168 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes PARTIALLY TRUNCATED INODE I=237626 SALVAGE? yes PARTIALLY TRUNCATED INODE I=259666 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260359 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260417 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260432 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260439 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260456 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260464 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260472 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260481 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260490 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260499 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260517 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260524 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260532 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260547 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260556 SALVAGE? yes 1186298 BAD I=260563 UNEXPECTED SOFT UPDATE INCONSISTENCY 1186304 DUP I=260563 UNEXPECTED SOFT UPDATE INCONSISTENCY 1186305 DUP I=260563 UNEXPECTED SOFT UPDATE INCONSISTENCY PARTIALLY TRUNCATED INODE I=260614 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260827 SALVAGE? yes 1348786 BAD I=260850 UNEXPECTED SOFT UPDATE INCONSISTENCY 1348792 DUP I=260850 UNEXPECTED SOFT UPDATE INCONSISTENCY 1348793 DUP I=260850 UNEXPECTED SOFT UPDATE INCONSISTENCY 1366554 BAD I=260858 UNEXPECTED SOFT UPDATE INCONSISTENCY 1366560 DUP I=260858 UNEXPECTED SOFT UPDATE INCONSISTENCY 1366561 DUP I=260858 UNEXPECTED SOFT UPDATE INCONSISTENCY PARTIALLY TRUNCATED INODE I=260912 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260923 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260929 SALVAGE? yes 2463234 BAD I=260947 UNEXPECTED SOFT UPDATE INCONSISTENCY 2463240 DUP I=260947 UNEXPECTED SOFT UPDATE INCONSISTENCY 2463241 DUP I=260947 UNEXPECTED SOFT UPDATE INCONSISTENCY PARTIALLY TRUNCATED INODE I=260952 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260958 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260966 SALVAGE? yes PARTIALLY TRUNCATED INODE I=260976 SALVAGE? yes 2537570 BAD I=260987 UNEXPECTED SOFT UPDATE INCONSISTENCY 2537576 DUP I=260987 UNEXPECTED SOFT UPDATE INCONSISTENCY 2537577 DUP I=260987 UNEXPECTED SOFT UPDATE INCONSISTENCY 984802 BAD I=260992 UNEXPECTED SOFT UPDATE INCONSISTENCY 984808 DUP I=260992 UNEXPECTED SOFT UPDATE INCONSISTENCY 984809 DUP I=260992 UNEXPECTED SOFT UPDATE INCONSISTENCY 992594 BAD I=260997 UNEXPECTED SOFT UPDATE INCONSISTENCY 992600 DUP I=260997 UNEXPECTED SOFT UPDATE INCONSISTENCY 992601 DUP I=260997 UNEXPECTED SOFT UPDATE INCONSISTENCY 1016842 BAD I=261012 UNEXPECTED SOFT UPDATE INCONSISTENCY 1016848 DUP I=261012 UNEXPECTED SOFT UPDATE INCONSISTENCY 1016849 DUP I=261012 UNEXPECTED SOFT UPDATE INCONSISTENCY PARTIALLY TRUNCATED INODE I=261018 SALVAGE? yes PARTIALLY TRUNCATED INODE I=261324 SALVAGE? yes 1281810 BAD I=261352 UNEXPECTED SOFT UPDATE INCONSISTENCY 1281816 DUP I=261352 UNEXPECTED SOFT UPDATE INCONSISTENCY 1281817 DUP I=261352 UNEXPECTED SOFT UPDATE INCONSISTENCY 1461426 BAD I=282849 UNEXPECTED SOFT UPDATE INCONSISTENCY 1461432 DUP I=282849 UNEXPECTED SOFT UPDATE INCONSISTENCY 1461433 DUP I=282849 UNEXPECTED SOFT UPDATE INCONSISTENCY PARTIALLY TRUNCATED INODE I=282869 SALVAGE? yes PARTIALLY TRUNCATED INODE I=282980 SALVAGE? yes 1833570 BAD I=285967 UNEXPECTED SOFT UPDATE INCONSISTENCY 1833576 DUP I=285967 UNEXPECTED SOFT UPDATE INCONSISTENCY 1833577 DUP I=285967 UNEXPECTED SOFT UPDATE INCONSISTENCY PARTIALLY ALLOCATED INODE I=332512 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes PARTIALLY TRUNCATED INODE I=424239 SALVAGE? yes PARTIALLY ALLOCATED INODE I=541820 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes PARTIALLY ALLOCATED INODE I=612416 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes PARTIALLY ALLOCATED INODE I=659530 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes PARTIALLY ALLOCATED INODE I=706624 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? yes INTERNAL ERROR: dups with -p UNEXPECTED SOFT UPDATE INCONSISTENCY ** Phase 1b - Rescan For More DUPS 1186304 DUP I=260563 UNEXPECTED SOFT UPDATE INCONSISTENCY 1186305 DUP I=260563 UNEXPECTED SOFT UPDATE INCONSISTENCY 1348792 DUP I=260850 UNEXPECTED SOFT UPDATE INCONSISTENCY 1348793 DUP I=260850 UNEXPECTED SOFT UPDATE INCONSISTENCY 1366560 DUP I=260858 UNEXPECTED SOFT UPDATE INCONSISTENCY 1366561 DUP I=260858 UNEXPECTED SOFT UPDATE INCONSISTENCY 2463240 DUP I=260947 UNEXPECTED SOFT UPDATE INCONSISTENCY 2463241 DUP I=260947 UNEXPECTED SOFT UPDATE INCONSISTENCY 2537576 DUP I=260987 UNEXPECTED SOFT UPDATE INCONSISTENCY 2537577 DUP I=260987 UNEXPECTED SOFT UPDATE INCONSISTENCY 984808 DUP I=260992 UNEXPECTED SOFT UPDATE INCONSISTENCY 984809 DUP I=260992 UNEXPECTED SOFT UPDATE INCONSISTENCY 992600 DUP I=260997 UNEXPECTED SOFT UPDATE INCONSISTENCY 992601 DUP I=260997 UNEXPECTED SOFT UPDATE INCONSISTENCY 1016848 DUP I=261012 UNEXPECTED SOFT UPDATE INCONSISTENCY 1016849 DUP I=261012 UNEXPECTED SOFT UPDATE INCONSISTENCY 1281816 DUP I=261352 UNEXPECTED SOFT UPDATE INCONSISTENCY 1281817 DUP I=261352 UNEXPECTED SOFT UPDATE INCONSISTENCY 1461432 DUP I=282849 UNEXPECTED SOFT UPDATE INCONSISTENCY 1461433 DUP I=282849 UNEXPECTED SOFT UPDATE INCONSISTENCY 1833576 DUP I=285967 UNEXPECTED SOFT UPDATE INCONSISTENCY 1833577 DUP I=285967 UNEXPECTED SOFT UPDATE INCONSISTENCY ** Phase 2 - Check Pathnames BAD INODE NUMBER FOR '.' I=235641 OWNER=www MODE=40755 SIZE=512 MTIME=Jan 15 15:03 2002 DIR=/alpha/opt/sdb/home/costadelsoul/uebi_tmp/ben_costa-del-soul.nl_ronald.echteman.nl/trash UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes BAD INODE NUMBER FOR '.' I=259469 OWNER=513 MODE=40755 SIZE=512 MTIME=Dec 29 14:42 2002 DIR=/alpha/opt/sdb/home/costadelsoul/www/admin/NEW UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes DUP/BAD I=260563 OWNER=513 MODE=100644 SIZE=1549473 MTIME=May 22 00:51 2004 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/data/20040410 - Heeren van Aemstel/IMG_0608.jpg UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=260858 OWNER=513 MODE=100644 SIZE=8790936 MTIME=May 4 14:44 2004 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/20040501 - Plan C/I.01.02.03 - Sweet Soul Music.I Want You Back.I Wish.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=260850 OWNER=513 MODE=100644 SIZE=2898048 MTIME=May 5 08:36 2004 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/20040501 - Plan C (P.A.)/16 - Soul man.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=260947 OWNER=513 MODE=100644 SIZE=1152730 MTIME=Dec 25 09:34 2002 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/Heeren/III.11a - Band voorstellen.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=260987 OWNER=513 MODE=100644 SIZE=2326777 MTIME=Mar 29 11:34 2003 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/Meander Maart 2003/pa-mix/05 - Hard to handle.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=260992 OWNER=513 MODE=100644 SIZE=3079522 MTIME=Mar 29 11:22 2003 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/Meander Maart 2003/pa-mix/10 - I just want to make love to you.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=260997 OWNER=513 MODE=100644 SIZE=1900874 MTIME=Mar 29 12:52 2003 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/Meander Maart 2003/stereomic/II.02 - Sweet Soul Music.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=261012 OWNER=513 MODE=100644 SIZE=1261308 MTIME=Jun 12 17:18 2003 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/Meander juni 2003/Meander 7 juni 2003 - Do you love me.mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=261352 OWNER=513 MODE=100644 SIZE=4769550 MTIME=Apr 11 22:10 2003 FILE=/alpha/opt/sdb/home/costadelsoul/www/admin/music/voordegeilaards/King Curtis - Signed Sealed Delivered I'm Yours (Live).mp3 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=282849 OWNER=513 MODE=100644 SIZE=668638 MTIME=Oct 4 17:39 2003 FILE=/alpha/opt/sdb/home/costadelsoul/www/photos/.20031003meander/DSCF0009.JPG UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes DUP/BAD I=285967 OWNER=517 MODE=100644 SIZE=441536 MTIME=Aug 16 21:03 2003 FILE=/alpha/opt/sdb/home/erald/www/amvj/fotos/wedstrijd12augustus/honkbal erald 12-08 027.jpg UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? yes BAD INODE NUMBER FOR '.' I=306217 OWNER=517 MODE=40755 SIZE=512 MTIME=Oct 4 14:58 2002 DIR=/alpha/opt/sdb/home/erald/www/vusite/cadzand UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes BAD INODE NUMBER FOR '.' I=306280 OWNER=520 MODE=42770 SIZE=512 MTIME=Sep 11 14:48 2003 DIR=/alpha/opt/sdb/home/mailman/archives/private/amvjdames1/database UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes BAD INODE NUMBER FOR '.' I=376873 OWNER=520 MODE=42775 SIZE=512 MTIME=Apr 20 09:26 2004 DIR=/alpha/opt/sdb/home/mailman/archives/private/nerdweekend/attachments/20040420/c3b94116 UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes BAD INODE NUMBER FOR '.' I=471049 OWNER=500 MODE=40755 SIZE=512 MTIME=Mar 18 13:29 2004 DIR=/alpha/opt/sdb/local/apache2/manual/style/man UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes BAD INODE NUMBER FOR '.' I=494705 OWNER=root MODE=40755 SIZE=512 MTIME=Dec 17 03:22 2003 DIR=/alpha/opt/sdb/local/lib/perl5/site_perl/5.6.2/alpha-linux/auto/URI UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes BAD INODE NUMBER FOR '.' I=518217 OWNER=root MODE=40755 SIZE=512 MTIME=Sep 11 16:09 2003 DIR=/alpha/opt/sdb/local/lib/python2.3/compiler UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? yes ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts BAD/DUP FILE I=260563 OWNER=513 MODE=100644 SIZE=1549473 MTIME=May 22 00:51 2004 CLEAR? yes BAD/DUP FILE I=260850 OWNER=513 MODE=100644 SIZE=2898048 MTIME=May 5 08:36 2004 CLEAR? yes BAD/DUP FILE I=260858 OWNER=513 MODE=100644 SIZE=8790936 MTIME=May 4 14:44 2004 CLEAR? yes BAD/DUP FILE I=260947 OWNER=513 MODE=100644 SIZE=1152730 MTIME=Dec 25 09:34 2002 CLEAR? yes BAD/DUP FILE I=260987 OWNER=513 MODE=100644 SIZE=2326777 MTIME=Mar 29 11:34 2003 CLEAR? yes BAD/DUP FILE I=260992 OWNER=513 MODE=100644 SIZE=3079522 MTIME=Mar 29 11:22 2003 CLEAR? yes BAD/DUP FILE I=260997 OWNER=513 MODE=100644 SIZE=1900874 MTIME=Mar 29 12:52 2003 CLEAR? yes BAD/DUP FILE I=261012 OWNER=513 MODE=100644 SIZE=1261308 MTIME=Jun 12 17:18 2003 CLEAR? yes BAD/DUP FILE I=261352 OWNER=513 MODE=100644 SIZE=4769550 MTIME=Apr 11 22:10 2003 CLEAR? yes BAD/DUP FILE I=282849 OWNER=513 MODE=100644 SIZE=668638 MTIME=Oct 4 17:39 2003 CLEAR? yes BAD/DUP FILE I=285967 OWNER=517 MODE=100644 SIZE=441536 MTIME=Aug 16 21:03 2003 CLEAR? yes UNREF FILE I=377481 OWNER=520 MODE=100660 SIZE=5280 MTIME=Jun 14 16:34 2004 RECONNECT? yes UNREF FILE I=377711 OWNER=520 MODE=100660 SIZE=25222 MTIME=Jun 15 08:43 2004 RECONNECT? 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 21002 files, 1064755 used, 1768975 free (183 frags, 221099 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ***** FILE SYSTEM WAS MODIFIED ***** --Boundary_(ID_1ZCdf8wVwgaASYRuaKctZQ)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr9pbnwrhm97yfk>