Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 14:11:39 -0300
From:      "Roberto Lima" <betogigi@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   keep getting kernel panic
Message-ID:  <d69013b30606261011k4293e12v23ec04a92fb65ad2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all, I have problems with FreeBSD 6.0-RELEASE in my web server.
This crashs in all time.. The kgdb shows it:

(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc04cf900 in boot (howto=3D260) at ../../../kern/kern_shutdown.c:399
#2  0xc04cfbe2 in panic (fmt=3D0xc0618b65 "BUF_UNLOCK %p while B_REMFREE
is still set.") at ../../../kern/kern_shutdown.c:555
#3  0xc05147a5 in vfs_bio_clcheck (vp=3D0xc519239c, size=3D0, lblkno=3D7,
blkno=3DUnhandled dwarf expression opcode 0x93
) at buf.h:312
#4  0xc0514912 in vfs_bio_awrite (bp=3D0xd8dc8fcc) at ../../../kern/vfs_bio=
.c:1583
#5  0xc058fd89 in ffs_syncvnode (vp=3D0xc519239c, waitfor=3D2) at
../../../ufs/ffs/ffs_vnops.c:277
#6  0xc058eafd in ffs_sync (mp=3D0xc4e3a400, waitfor=3D2, td=3D0xc5a4a300)
at ../../../ufs/ffs/ffs_vfsops.c:1114
#7  0xc0525706 in sync (td=3D0xc5a4a300, uap=3D0x0) at
../../../kern/vfs_syscalls.c:136
#8  0xc04cf546 in boot (howto=3D256) at pcpu.h:162
#9  0xc04cfbe2 in panic (fmt=3D0xc0607b72 "%s") at
../../../kern/kern_shutdown.c:555
#10 0xc05e5af0 in trap_fatal (frame=3D0xf31006ec, eva=3D152) at
../../../i386/i386/trap.c:831
#11 0xc05e5833 in trap_pfault (frame=3D0xf31006ec, usermode=3D0, eva=3D152)
at ../../../i386/i386/trap.c:742
#12 0xc05e54e5 in trap (frame=3D
      {tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D -1067340392, tf_=
esi
=3D 799, tf_ebp =3D -217053384, tf_isp =3D -217053416, tf_ebx =3D 152, tf_e=
dx
=3D -979066112, tf_ecx =3D 0, tf_eax =3D -979066112, tf_trapno =3D 12, tf_e=
rr
=3D 0, tf_eip =3D -1068729592, tf_cs =3D 32, tf_eflags =3D 66182, tf_esp =
=3D
4098, tf_ss =3D 0}) at ../../../i386/i386/trap.c:432
#13 0xc05d3dda in calltrap () at ../../../i386/i386/exception.s:139
#14 0xc04c7b08 in _mtx_lock_flags (m=3D0x98, opts=3D0, file=3D0xc061ad98
"../../../kern/vfs_vnops.c", line=3D799)
    at ../../../kern/kern_mutex.c:268
#15 0xc052e4cf in debug_vn_lock (vp=3D0x0, flags=3D4098, td=3D0xc5a4a300,
filename=3D0xc060aaec "../../../fs/procfs/procfs.c",
    line=3D73) at ../../../kern/vfs_vnops.c:799
#16 0xc0494530 in procfs_doprocfile (td=3D0xc5a4a300, p=3D0xc5496624,
pn=3D0xc4c66d00, sb=3D0xf31007d8, uio=3D0x0)
    at ../../../fs/procfs/procfs.c:73
#17 0xc0497d0c in pfs_readlink (va=3D0xc5a4a300) at pcpu.h:162
#18 0xc05f6403 in VOP_READLINK_APV (vop=3D0xc063ca20, a=3D0xf3100c30) at
vnode_if.c:1481
#19 0xc05291ff in kern_readlink (td=3D0xc5a4a300, path=3D0xc5a4a300
"<j=DE=C5`\f\225=C5", pathseg=3D3315901184,
    buf=3D0xc5a4a300 "<j=DE=C5`\f\225=C5", bufseg=3D3315901184, count=3D102=
4) at
vnode_if.h:772
#20 0xc052911e in readlink (td=3D0xc5a4a300, uap=3D0xc5a4a300) at
../../../kern/vfs_syscalls.c:2261
#21 0xc05e5dd3 in syscall (frame=3D
      {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =3D 135507064, tf_e=
si
=3D 135655436, tf_ebp =3D -1077940936, tf_isp =3D -217051804, tf_ebx =3D
674293876, tf_edx =3D -1077941960, tf_ecx =3D 0, tf_eax =3D 58, tf_trapno =
=3D
22, tf_err =3D 2, tf_eip =3D 672584499, tf_cs =3D 51, tf_eflags =3D 647,
tf_esp =3D -1077942020, tf_ss =3D 59}) at ../../../i386/i386/trap.c:976
#22 0xc05d3e2f in Xint0x80_syscall () at ../../../i386/i386/exception.s:200
#23 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)


How can i fix this? Any patch or only updating to 6.1?

Thanks in advance.
Roberto Lima



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