Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 08:55:06 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Anyone can tell anything on this crash?
Message-ID:  <46EE24CA.2090209@netfence.it>

next in thread | raw e-mail | index | archive | help
As per subject; this is a 6.2p7/i386 uniprocessor box with options 
INVARIANTS,INVARIANT_SUPPORT,WITNESS,DEBUG_LOCKS,DEBUG_VFS_LOCKS,DIAGNOSTIC 
enabled and running a couple of gmirror mirrors.

  bye & Thanks
	av.

 ># kgdb kernel.debug /var/crash/vmcore.2
> kgdb: kvm_nlist(_stopped_cpus):
> kgdb: kvm_nlist(_stoppcbs):
> [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 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 conditions.
> 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-marcel-freebsd".
> 
> Unread portion of the kernel message buffer:
> panic: 0xc3be4440 is not a g_consumer
> Uptime: 38d17h46m33s
> Dumping 510 MB (2 chunks)
>   chunk 0: 1MB (159 pages) ... ok
>   chunk 1: 510MB (130544 pages) 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14
> 
> #0  doadump () at pcpu.h:165
> 165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
> (kgdb) bt
> #0  doadump () at pcpu.h:165
> #1  0xc04c4e60 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
> #2  0xc04c510b in panic (fmt=0xc05f89e3 "%p is not a g_consumer") at /usr/src/sys/kern/kern_shutdown.c:565
> #3  0xc049670b in g_vfs_strategy (bo=0x0, bp=0xcd605a50) at /usr/src/sys/geom/geom_vfs.c:97
> #4  0xc057a805 in ffs_geom_strategy (bo=0xc45ce7d8, bp=0xcd605a50) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1800
> #5  0xc0509a7b in breadn (vp=0xc45ce6cc, blkno=224, size=16384, rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at buf.h:426
> #6  0xc050997c in bread (vp=0xc45ce6cc, blkno=224, size=16384, cred=0x0, bpp=0xd699a790) at /usr/src/sys/kern/vfs_bio.c:719
> #7  0xc0579d04 in ffs_vget (mp=0xc31452e4, ino=2, flags=0, vpp=0xd699a7bc) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1313
> #8  0xc0583169 in ufs_root (mp=0x0, flags=2, vpp=0x0, td=0xc3477300) at /usr/src/sys/ufs/ufs/ufs_vfsops.c:78
> #9  0xc0513b77 in lookup (ndp=0xd699a8a0) at /usr/src/sys/kern/vfs_lookup.c:648
> #10 0xc05131b6 in namei (ndp=0xd699a8a0) at /usr/src/sys/kern/vfs_lookup.c:211
> #11 0xc051d694 in kern_statfs (td=0xc3477300, path=0x0, pathseg=UIO_USERSPACE, buf=0xd699aaf4) at /usr/src/sys/kern/vfs_syscalls.c:260
> #12 0xc051d611 in statfs (td=0xc3477300, uap=0xd699ad04) at /usr/src/sys/kern/vfs_syscalls.c:242
> #13 0xc05d3d6b in syscall (frame=
>       {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 6, tf_esi = 134540048, tf_ebp = -1077941864, tf_isp = -694571676, tf_ebx = 6, tf_edx = 110, tf_ecx = 134537216, tf_eax = 396, tf_trapno = 12, tf_err = 2, tf_eip = 671914147, tf_cs = 51, tf_eflags = 514, tf_esp = -1077941908, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:983
> #14 0xc05c2a8f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
> #15 0x00000033 in ?? ()
> Previous frame inner to this frame (corrupt stack?)




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