From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 13:34:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3627E106564A for ; Wed, 9 Apr 2008 13:34:17 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8F98FC12 for ; Wed, 9 Apr 2008 13:34:16 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by gv-out-0910.google.com with SMTP id n40so484021gve.39 for ; Wed, 09 Apr 2008 06:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=3J9UrSJawMpSA9ICoUh07Fc87WxK7N7TT7QHVS+PBLs=; b=ikT08wbDvafjTYFj4X1daIU198yGdEWuoq2uwj0AyDALgQ8CrvhCStwokODvwIpU3kHwuLI9Sg57vbfLUZpXeQHfPA3DaTGwu88OOCw3SY+ogL5a052xEMyq63T5FA71cvsWC5QugsFx5xNIUHldUYNBeNUO0xAIIQeek7XuTPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kzpaXsKuISjmazeowM4yrjFQlPWQt8BfVOoGOhLwcKQAD4whodhME2kQxHChMLZO28wIWua9nR3FO6A4P7ifdw93JdC0GjcUimkJoNwR9Fgj4dB0Amaa1vFit2mXITAcFY0Vsdt0hCqSH7ovR3YpM2z6sNDzZQwig9oPKSpuD6c= Received: by 10.151.109.11 with SMTP id l11mr308016ybm.52.1207748053813; Wed, 09 Apr 2008 06:34:13 -0700 (PDT) Received: by 10.151.12.5 with HTTP; Wed, 9 Apr 2008 06:34:13 -0700 (PDT) Message-ID: <20def4870804090634k45eaf750s4b6e69e7ed841e26@mail.gmail.com> Date: Wed, 9 Apr 2008 16:34:13 +0300 From: "Mr Y" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: working with kdb/ddb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2008 13:34:17 -0000 Hi, i'm trying to extract some memory values of my variables, but the debugger doesn't know any of my variables, saying "unknown symbol" or something like that. i get the function names in the 'trace' though, so the symbols are there. does anybody know how to read the variables after the crash? e.g. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff806b0b17 stack pointer = 0x10:0xffffffffbc17eae0 frame pointer = 0x10:0xffffffffbc17eb20 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1269 (mtnic0 taskq) [thread pid 1269 tid 100087 ] Stopped at _bus_dmamap_unload+0x17: movq (%rsi),%rax db> trace Tracing pid 1269 tid 100087 td 0xffffff00beaf3be0 _bus_dmamap_unload() at _bus_dmamap_unload+0x17 mtnic_free_pages() at mtnic_free_pages+0x5c mtnic_init_nic() at mtnic_init_nic+0xa5 mtnic_restart_nic() at mtnic_restart_nic+0xa3 taskqueue_run() at taskqueue_run+0xd7 taskqueue_thread_loop() at taskqueue_thread_loop+0x85 fork_exit() at fork_exit+0x86 fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffbc17ed00, rbp = 0 --- db>