Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 17:17:17 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        "Vladislav V. Prodan" <vlad11@nla.od.ua>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/96042: Kernel panics with sbdrop
Message-ID:  <20060419131717.GW84736@cell.sick.ru>
In-Reply-To: <4446219A.6070908@nla.od.ua>
References:  <200604191026.k3JAQf1v043987@freefall.freebsd.org> <4446219A.6070908@nla.od.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 19, 2006 at 02:40:10PM +0300, Vladislav V. Prodan wrote:
V> Gleb Smirnoff пишет:
V> > Synopsis: Kernel panics with sbdrop
V> > 
V> > State-Changed-From-To: open->feedback
V> > State-Changed-By: glebius
V> > State-Changed-When: Wed Apr 19 10:26:02 UTC 2006
V> > State-Changed-Why: 
V> > Please obtain kernel backtrace for this panic. Some instructions
V> > can be found here:
V> >   http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
V> > 
V> > http://www.freebsd.org/cgi/query-pr.cgi?pr=96042
V> > 
V> 
V> [14:38]bahus:vlad11->sys/bahus.10# kgdb kernel.debug /var/crash/vmcore.5
V> [GDB will not be able to debug user-mode threads:
V> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
V> GNU gdb 6.1.1 [FreeBSD]
V> Copyright 2004 Free Software Foundation, Inc.
V> GDB is free software, covered by the GNU General Public License, and you are
V> welcome to change it and/or distribute copies of it under certain
V> conditions.
V> Type "show copying" to see the conditions.
V> There is absolutely no warranty for GDB.  Type "show warranty" for details.
V> This GDB was configured as "i386-marcel-freebsd".
V> 
V> Unread portion of the kernel message buffer:
V> 
V> 
V> Fatal trap 12: page fault while in kernel mode
V> cpuid = 0; apic id = 00
V> fault virtual address   = 0x9518e902
V> fault code              = supervisor read, page not present
V> instruction pointer     = 0x20:0xc06bdedc
V> stack pointer           = 0x28:0xd5cdd96c
V> frame pointer           = 0x28:0xd5cdd98c
V> code segment            = base 0x0, limit 0xfffff, type 0x1b
V>                         = DPL 0, pres 1, def32 1, gran 1
V> processor eflags        = interrupt enabled, resume, IOPL = 0
V> current process         = 38 (swi1: net)
V> trap number             = 12
V> panic: page fault
V> cpuid = 0
V> Uptime: 11h13m39s
V> Dumping 511 MB (2 chunks)
V>   chunk 0: 1MB (159 pages) ... ok
V>   chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351
V> 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47
V> 31 15
V> 
V> #0  doadump () at pcpu.h:165
V> 165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
V> (kgdb)

All left is to type 'bt' command and show its output :)

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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