Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2002 11:43:25 +0100
From:      Aurelien Nephtali <aurelien.nephtali@wanadoo.fr>
To:        Kirk McKusick <mckusick@beastie.mckusick.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: panic: ffs_blkfree: freeing free block
Message-ID:  <20021218104325.GA574@nebula.wanadoo.fr>
In-Reply-To: <200212172324.gBHNOl59018359@beastie.mckusick.com>
References:  <20021217044207.GA43444@dan.emsphone.com> <200212172324.gBHNOl59018359@beastie.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--BwCQnh7xodEAoBMC
Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp"
Content-Disposition: inline


--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> I introduced a bug to snapshots on 11/30/02 which did not get fixed=20
> until 12/15/02 which caused background fsck to (silently) fail to fix
> certain filesystem problems. If you ran background fsck on a system
> between 11/30 and 12/15 and then ran background fsck again on a system
> after that date, the earlier missed corruption causes the panic that
> you have seen. Once fixed on a post 12/15 system, it should not recur.
> You can avoid the panic by running `fsck -f -p' on all your system
> after upgrading to a post 12/15 system. If you find continued
> evidence of trouble after following the above procedures, please
> send me mail.
>=20
> 	Kirk McKusick

I rebuild a brand new system and the problem is still here :/.

uname -a:
FreeBSD nebula.wanadoo.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Dec 18 10=
:45:3
0 CET 2002     dak@nebula.wanadoo.fr:/usr/obj/usr/src/sys/NEBULA  i386

I've also attached a new dump which matches to the new system.

-- Aurelien

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dump
Content-Transfer-Encoding: quoted-printable

Script started on Wed Dec 18 11:36:02 2002
=0D=1B[m=1B[27m=1B[Jnebula# =1B[K=1B[61C/var/crash=1B[71Dg=08gdb -k=0D=0D
GNU gdb 5.2.1 (FreeBSD)=0D
Copyright 2002 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-undermydesk-freebsd".=0D
(kgdb) symbol-file kernel.debug.7 =0D
Reading symbols from kernel.debug.7...done.=0D
(kgdb) exec-file kernel.7=0D
(kgdb) core-file vmcore.7 =0D
panic: from debugger=0D
panic messages:=0D
---=0D
panic: ffs_blkfree: freeing free block=0D
panic: from debugger=0D
Uptime: 50s=0D
Dumping 123 MB=0D
ata0: resetting devices ..=0D
done=0D
 16 32 48 64 80 96 112=0D
---=0D
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232=0D
232		dumping++;=0D
(kgdb) bt=0D
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232=0D
#1  0xc021c37e in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
64=0D
#2  0xc021c5c3 in panic () at /usr/src/sys/kern/kern_shutdown.c:517=0D
#3  0xc013c212 in db_panic () at /usr/src/sys/ddb/db_command.c:450=0D
#4  0xc013c192 in db_command (last_cmdp=3D0xc03a0a00, cmd_table=3D0x0, =0D
    aux_cmd_tablep=3D0xc039b53c, aux_cmd_tablep_end=3D0xc039b540)=0D
    at /usr/src/sys/ddb/db_command.c:346=0D
#5  0xc013c2a6 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472=0D
#6  0xc013ef9a in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_trap.=
c:72=0D
#7  0xc0335d42 in kdb_trap (type=3D3, code=3D0, regs=3D0xc850da4c)=0D
    at /usr/src/sys/i386/i386/db_interface.c:166=0D
#8  0xc0346b2f in trap (frame=3D=0D
      {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1061658176, tf=
_esi =3D 256, tf_ebp =3D -934225256, tf_isp =3D -934225288, tf_ebx =3D 0, t=
f_edx =3D 0, tf_ecx =3D -1069390144, tf_eax =3D 18, tf_trapno =3D 3, tf_err=
 =3D 0, tf_eip =3D -1070374940, tf_cs =3D 8, tf_eflags =3D 646, tf_esp =3D =
-1069984152, tf_ss =3D -1070066283})=0D
    at /usr/src/sys/i386/i386/trap.c:603=0D
#9  0xc0337558 in calltrap () at {standard input}:98=0D
#10 0xc021c5ab in panic (fmt=3D0x0) at /usr/src/sys/kern/kern_shutdown.c:50=
3=0D
#11 0xc02d8f0a in ffs_blkfree (fs=3D0xc18f3000, devvp=3D0xc191dce4, bno=3D1=
088, =0D
    size=3D16384, inum=3D1088) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1771=0D
#12 0xc02e843f in indir_trunc (freeblks=3D0xc1b37500, dbn=3D4288, level=3D0=
, lbn=3D12, =0D
    countp=3D0xc850dc10) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2600=0D
#13 0xc02e7ee5 in handle_workitem_freeblocks (freeblks=3D0xc1b37500, flags=
=3D0)=0D
---Type <return> to continue, or q <return> to quit---=0D
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2466=0D
#14 0xc02e510a in process_worklist_item (matchmnt=3D0x0, flags=3D0)=0D
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:742=0D
#15 0xc02e4e50 in softdep_process_worklist (matchmnt=3D0x0)=0D
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:621=0D
#16 0xc026f89e in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1751=0D
#17 0xc0208c64 in fork_exit (callout=3D0xc026f5b0 <sched_sync>, arg=3D0x0, =
=0D
    frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:872=0D
(kgdb) quit=0D
=0D=1B[m=1B[27m=1B[Jnebula# =1B[K=1B[61C/var/crash=1B[71De=08exit=0D=0D

Script done on Wed Dec 18 11:36:32 2002
=0D

--LQksG6bCIzRHxTLp--

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+AFFNDNsbHbt8ok8RArSDAJwOgy4Zh81r1sqJ3raiHZkUJwg34wCfaJj9
oyeErT1Pqw3kMYOCMFe1nFA=
=uAIf
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021218104325.GA574>