Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2013 16:25:32 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Kernel crash
Message-ID:  <50EEDD6C.3030301@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

Anyone can make sense of this:

> # kgdb kernel.debug /var/crash/vmcore.11
> 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 "amd64-marcel-freebsd"...
>
> Unread portion of the kernel message buffer:
> panic: sbflush_internal: cc 4294965848 || mb 0 || mbcnt 0
> cpuid = 0
> KDB: stack backtrace:
> #0 0xffffffff80474f6e at kdb_backtrace+0x5e
> #1 0xffffffff80441487 at panic+0x187
> #2 0xffffffff804a3574 at sbflush_internal+0x64
> #3 0xffffffff804a35ee at sbflush+0x3e
> #4 0xffffffff80591a6a at tcp_disconnect+0x4a
> #5 0xffffffff805934ec at tcp_usr_disconnect+0x11c
> #6 0xffffffff804a5649 at soclose+0x59
> #7 0xffffffff80405873 at _fdrop+0x23
> #8 0xffffffff804072c2 at closef+0x52
> #9 0xffffffff80407af2 at kern_close+0x172
> #10 0xffffffff80636c70 at amd64_syscall+0x4e0
> #11 0xffffffff806223c7 at Xfast_syscall+0xf7
> Uptime: 12d18h45m26s
> Dumping 276 out of 1013 MB:..6%..12%..24%
> <110>ipfw: 1000 Deny UDP 0.0.0.0:68 255.255.255.255:67 in via em0
> ..35%..41%..53%..64%..76%..82%..93%
>
> Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from /boot/kernel/splash_bmp.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/splash_bmp.ko
> Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from /boot/kernel/geom_mirror.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/geom_mirror.ko
> Reading symbols from /boot/kernel/geom_stripe.ko...Reading symbols from /boot/kernel/geom_stripe.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/geom_stripe.ko
> Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/umass.ko
> #0  doadump (textdump=Variable "textdump" is not available.
> ) at pcpu.h:224
> 224             __asm("movq %%gs:0,%0" : "=r" (td));
> (kgdb) bt
> #0  doadump (textdump=Variable "textdump" is not available.
> ) at pcpu.h:224
> #1  0xffffffff80440fc5 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:442
> #2  0xffffffff80441471 in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:607
> #3  0xffffffff804a3574 in sbflush_internal (sb=0xfffffe0015c53dd8) at /usr/src/sys/kern/uipc_sockbuf.c:821
> #4  0xffffffff804a35ee in sbflush (sb=0xfffffe0015c53dd8) at /usr/src/sys/kern/uipc_sockbuf.c:838
> #5  0xffffffff80591a6a in tcp_disconnect (tp=0xfffffe0001f987a0) at /usr/src/sys/netinet/tcp_usrreq.c:1590
> #6  0xffffffff805934ec in tcp_usr_disconnect (so=Variable "so" is not available.
> ) at /usr/src/sys/netinet/tcp_usrreq.c:568
> #7  0xffffffff804a5649 in soclose (so=0xfffffe0015c53d48) at /usr/src/sys/kern/uipc_socket.c:690
> #8  0xffffffff80405873 in _fdrop (fp=0xfffffe001ea698c0, td=Variable "td" is not available.
> ) at file.h:301
> #9  0xffffffff804072c2 in closef (fp=0xfffffe001ea698c0, td=0xfffffe0023d1b000) at /usr/src/sys/kern/kern_descrip.c:2246
> #10 0xffffffff80407af2 in kern_close (td=0xfffffe0023d1b000, fd=Variable "fd" is not available.
> ) at /usr/src/sys/kern/kern_descrip.c:1232
> #11 0xffffffff80636c70 in amd64_syscall (td=0xfffffe0023d1b000, traced=0) at subr_syscall.c:131
> #12 0xffffffff806223c7 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387
> #13 0x000000080286c1dc in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)

Box is a 9.0/amd64.
I can try and provide other info if required.

  bye & Thanks
	av.



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