Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 12:32:43 -0700
From:      Yuri <yuri@rawbw.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Alan Cox <alc@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: Kernel crashes after sleep: how to debug?
Message-ID:  <51E9945B.1050907@rawbw.com>
In-Reply-To: <201307191100.08549.jhb@freebsd.org>
References:  <51E3A334.8020203@rawbw.com> <201307181652.48757.jhb@freebsd.org> <51E88EDA.50000@rawbw.com> <201307191100.08549.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/19/2013 08:00, John Baldwin wrote:
> Well, you can probably find the value of 'm' in a register if you look at the
> dissassembly around the fault.  You can then cast that pointer to the right
> type and print its contents.

Here is the value of *m in frame 8:
(kgdb) p *(struct vm_page*)0xfffffe00b460abf8
$3 = {pageq = {tqe_next = 0xfe26, tqe_prev = 0xfffffe00b5a124d8}, listq 
= {tqe_next = 0xfffffe0081ad8f70, tqe_prev = 0xfffffe0081ad8f78},
left = 0x6, right = 0xd00000201, object = 0x100000000, pindex = 
4294901765, phys_addr = 18446741877712530608, md = {pv_list = {
tqh_first = 0xfffffe00b460abc0, tqh_last = 0xfffffe00b5579020}, pat_mode 
= -1268733096}, queue = 72 'H', segind = -85 '�',
hold_count = -19360, order = 0 '\0', pool = 254 '�', cow = 65535, 
wire_count = 0, aflags = 0 '\0', flags = 0 '\0', oflags = 0,
act_count = 0 '\0', busy = 176 '�', valid = 208 '�', dirty = 126 '~'}


Yuri



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