Date: Wed, 13 Aug 2003 14:11:32 +0200 From: Morten Rodal <morten@rodal.no> To: freebsd-current@freebsd.org Subject: panic: ffs_freefile: freeing free inode Message-ID: <20030813121131.GA600@atlantis.rodal.no>
next in thread | raw e-mail | index | archive | help
--LyciRD1jyfeSSjG0 Content-Type: multipart/mixed; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I got a panic (and of course the usual panic on sync panic) when my machine was just sitting more or less idle in X. The kernel is=20 FreeBSD 5.1-CURRENT (slurp) #0: Mon Aug 11 21:01:38 CEST 2003 and the machine is a dual Pentium II with only a minimal kernel (i.e. stripped GENERIC). --=20 Morten Rodal User: Pretend not to be crazy. jabberwacky: I cannot do that. -- www.chatterboxchallenge.com --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="crash.8" Content-Transfer-Encoding: quoted-printable Script started on Wed Aug 13 13:53:36 2003 slurp# gdb -k kernel.8 vmcore.8 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: ffs_freefile: freeing free inode panic messages: --- panic: ffs_freefile: freeing free inode cpuid =3D 0; lapic.id =3D 01000000 Stack backtrace: boot() called on cpu#0 syncing disks, buffers remaining... panic: bremfree: removing a buffer not = on a queue cpuid =3D 0; lapic.id =3D 01000000 boot() called on cpu#0 Uptime: 2h13m50s Dumping 447 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 = 336 352 368 384 400 416 432 --- Reading symbols from /usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules= /linux/linux.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/l= inux/linux.ko.debug Reading symbols from /boot/kernel/snd_sb16.ko...done. Loaded symbols for /boot/kernel/snd_sb16.ko Reading symbols from /boot/kernel/snd_sbc.ko...done. Loaded symbols for /boot/kernel/snd_sbc.ko Reading symbols from /boot/kernel/snd_pcm.ko...done. Loaded symbols for /boot/kernel/snd_pcm.ko Reading symbols from /boot/kernel/nvidia.ko...done. Loaded symbols for /boot/kernel/nvidia.ko Reading symbols from /usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules= /acpi/acpi.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/a= cpi/acpi.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc01e3ec6 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 72 #2 0xc01e4318 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc022d541 in bremfreel (bp=3D0xcca759e0) at /usr/src/sys/kern/vfs_bio.= c:644 #4 0xc022d44b in bremfree (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:626 #5 0xc0238938 in vop_stdfsync (ap=3D0xd59e1a98) at /usr/src/sys/kern/vfs_default.c:740 #6 0xc01a8870 in spec_fsync (ap=3D0xd59e1a98) at /usr/src/sys/fs/specfs/spec_vnops.c:417 #7 0xc01a7c68 in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:122 #8 0xc02c1a11 in ffs_sync (mp=3D0xc3a2e000, waitfor=3D2, cred=3D0xc1378e80= ,=20 td=3D0xc03adb20) at vnode_if.h:627 #9 0xc024686b in sync (td=3D0xc03adb20, uap=3D0x0) at /usr/src/sys/kern/vfs_syscalls.c:142 #10 0xc01e39cf in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2= 81 #11 0xc01e4318 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #12 0xc02a9198 in ffs_freefile (fs=3D0xc39a9000, devvp=3D0xc3ad5000, ino=3D= 3,=20 mode=3D17407) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1917 #13 0xc02ba8f4 in handle_workitem_freefile (freefile=3D0xc411b000) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3401 #14 0xc02b6178 in process_worklist_item (matchmnt=3D0x0, flags=3D0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:778 #15 0xc02b5e00 in softdep_process_worklist (matchmnt=3D0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:622 #16 0xc02421c6 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1786 #17 0xc01cc8e1 in fork_exit (callout=3D0xc0241d90 <sched_sync>, arg=3D0x0,= =20 frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:790 (kgdb) up 12 #12 0xc02a9198 in ffs_freefile (fs=3D0xc39a9000, devvp=3D0xc3ad5000, ino=3D= 3,=20 mode=3D17407) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1917 1917 panic("ffs_freefile: freeing free inode"); (kgdb) p *fs $1 =3D {fs_firstfield =3D 0, fs_unused_1 =3D 0, fs_sblkno =3D 8, fs_cblkno = =3D 16,=20 fs_iblkno =3D 24, fs_dblkno =3D 1496, fs_old_cgoffset =3D 0, fs_old_cgmas= k =3D -1,=20 fs_old_time =3D 1060763786, fs_old_size =3D 5816260, fs_old_dsize =3D 572= 3995,=20 fs_ncg =3D 62, fs_bsize =3D 16384, fs_fsize =3D 2048, fs_frag =3D 8, fs_m= infree =3D 8,=20 fs_old_rotdelay =3D 0, fs_old_rps =3D 60, fs_bmask =3D -16384, fs_fmask = =3D -2048,=20 fs_bshift =3D 14, fs_fshift =3D 11, fs_maxcontig =3D 8, fs_maxbpg =3D 204= 8,=20 fs_fragshift =3D 3, fs_fsbtodb =3D 2, fs_sbsize =3D 2048, fs_spare1 =3D {= 0, 0},=20 fs_nindir =3D 4096, fs_inopb =3D 128, fs_old_nspf =3D 4, fs_optim =3D 0,= =20 fs_old_npsect =3D 376192, fs_old_interleave =3D 1, fs_old_trackskew =3D 0= ,=20 fs_id =3D {1042989277, 433616384}, fs_old_csaddr =3D 1496, fs_cssize =3D = 2048,=20 fs_cgsize =3D 16384, fs_spare2 =3D 0, fs_old_nsect =3D 376192,=20 fs_old_spc =3D 376192, fs_old_ncyl =3D 62, fs_old_cpg =3D 1, fs_ipg =3D 2= 3552,=20 fs_fpg =3D 94048, fs_old_cstotal =3D {cs_ndir =3D 570, cs_nbfree =3D 4798= 22,=20 cs_nifree =3D 1453615, cs_nffree =3D 2585}, fs_fmod =3D 1 '\001',=20 fs_clean =3D 0 '\0', fs_ronly =3D 0 '\0', fs_old_flags =3D -128 '\200',= =20 fs_fsmnt =3D "/usr/home", '\0' <repeats 458 times>,=20 fs_volname =3D '\0' <repeats 31 times>, fs_swuid =3D 0, fs_pad =3D 0,=20 fs_cgrotor =3D 15, fs_ocsp =3D {0x0 <repeats 28 times>},=20 fs_contigdirs =3D 0xc3abe8f8 "", fs_csp =3D 0xc3abe000,=20 fs_maxcluster =3D 0xc3abe800, fs_active =3D 0x0, fs_old_cpc =3D 0,=20 fs_maxbsize =3D 16384, fs_sparecon64 =3D {0 <repeats 17 times>},=20 fs_sblockloc =3D 8192, fs_cstotal =3D {cs_ndir =3D 570, cs_nbfree =3D 478= 254,=20 cs_nifree =3D 1453618, cs_nffree =3D 2593, cs_numclusters =3D 0, cs_spa= re =3D {0,=20 0, 0}}, fs_time =3D 1060771873, fs_size =3D 5816260, fs_dsize =3D 572= 3995,=20 fs_csaddr =3D 1496, fs_pendingblocks =3D 44, fs_pendinginodes =3D 2,=20 fs_snapinum =3D {0 <repeats 20 times>}, fs_avgfilesize =3D 16384,=20 fs_avgfpdir =3D 64, fs_save_cgsize =3D 0, fs_sparecon32 =3D { 0 <repeats 26 times>}, fs_flags =3D 2, fs_contigsumsize =3D 8,=20 fs_maxsymlinklen =3D 60, fs_old_inodefmt =3D 2, fs_maxfilesize =3D 175921= 86044415,=20 fs_qbmask =3D 16383, fs_qfmask =3D 2047, fs_state =3D 0, fs_old_postblfor= mat =3D 1,=20 fs_old_nrpos =3D 1, fs_spare5 =3D {0, 0}, fs_magic =3D 72020} (kgdb) quit slurp# exit exit Script done on Wed Aug 13 13:54:03 2003 --VS++wcV0S1rZb1Fb-- --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/OirzbWe1Cy11WVsRAtMlAJ9W/9643W1FClJPwKVLLm1OraNdqACgwx5O 8k87o/ABE64oZzniYVGFrfk= =6L1O -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030813121131.GA600>