panic: ffs_alloccg: map corrupted

Marc G. Fournier scrappy at freebsd.org
Thu Nov 23 23:08:23 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Had two of the above crashes tonight, both produced core files ... fsck appears 
to run well in both cases ... a few UNREF FILES, some INCORRECT BLOCK COUNT ... 
but, no manual fsck required, so "clean" ...

Trace from one of the cores is as follows ... its a fairly old 6.1-STABLE 
(Jun26th), but just figured I'd post in case this is in the least bit useful 
... have saved both cores if I can provide any more details ...

(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc049cb62 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc049ce89 in panic (fmt=0xc060b371 "ffs_alloccg: map corrupted") at 
/usr/src/sys/kern/kern_shutdown.c:565
#3  0xc0569437 in ffs_mapsearch (fs=0xc90d9800, cgp=0xe3fc7000, bpref=Unhandled 
dwarf expression opcode 0x93
) at /usr/src/sys/ufs/ffs/ffs_alloc.c:2145
#4  0xc0567674 in ffs_alloccg (ip=0xccb76000, cg=344, bpref=32430312, 
size=4096) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1440
#5  0xc0566d40 in ffs_hashalloc (ip=0xccb76000, cg=344, pref=32430312, 
size=4096, allocator=0xc0567280 <ffs_alloccg>) at 
/usr/src/sys/ufs/ffs/ffs_alloc.c:1248
#6  0xc0564b7d in ffs_alloc (ip=0xccb76000, lbn=8, bpref=32430312, size=4096, 
cred=0xcce89180, bnp=0xf03ec9fc) at /usr/src/sys/ufs/ffs/ffs_alloc.c:183
#7  0xc056bb8f in ffs_balloc_ufs2 (vp=0xcb81d330, startoffset=Unhandled dwarf 
expression opcode 0x93
) at /usr/src/sys/ufs/ffs/ffs_balloc.c:671
#8  0xc0583708 in ffs_write (ap=0xf03ecbec) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:709
#9  0xc05ecc06 in VOP_WRITE_APV (vop=0xc0638e20, a=0xf03ecbec) at vnode_if.c:698
#10 0xc05019d2 in vn_write (fp=0xcfe48240, uio=0xf03eccbc, 
active_cred=0xcce89180, flags=0, td=0xd057a180) at vnode_if.h:372
#11 0xc04bfcc3 in dofilewrite (td=0xd057a180, fd=16, fp=0xcfe48240, 
auio=0xf03eccbc, offset=Unhandled dwarf expression opcode 0x93
) at file.h:252
#12 0xc04bfb67 in kern_writev (td=0xd057a180, fd=16, auio=0xf03eccbc) at 
/usr/src/sys/kern/sys_generic.c:402
#13 0xc04bfa8d in write (td=0xd057a180, uap=0x0) at 
/usr/src/sys/kern/sys_generic.c:326
#14 0xc05dba67 in syscall (frame=
      {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 16, tf_esi = 0, tf_ebp = 
- -1077941816, tf_isp = -264319644, tf_ebx = 134695688, tf_edx = 0, tf_ecx = 
135282696, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 674488099, tf_cs = 
51, tf_eflags = 662, tf_esp = -1077941860, tf_ss = 59}) at 
/usr/src/sys/i386/i386/trap.c:981
#15 0xc05c90df in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#16 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

		

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFZpHo4QvfyHIvDvMRAjwsAKDdLtw5F0OE/ZFkEr/eOQYJehSsKgCgrSN9
iBl9RC3bQ3QTfIhTL08E/uU=
=QhIs
-----END PGP SIGNATURE-----



More information about the freebsd-stable mailing list