Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED]

From: Wilkinson, Alex <alex.wilkinson_at_dsto.defence.gov.au>
Date: Fri, 8 Jan 2010 14:19:51 +0800
    0n Thu, Jan 07, 2010 at 09:35:52AM -0500, John Baldwin wrote: 

    >Can you go to frame 9 and do 'p rv', 'p mpred', and 'p *mpred'?  Can you also do 'p vm_reserv_array'

(kgdb) up 9
#9  0xc0b04452 in vm_reserv_alloc_page (object=0xc207c000, pindex=28795) at /usr/src/sys/vm/vm_reserv.c:320
320			if (rv->object == object && vm_reserv_has_pindex(rv, pindex)) {
(kgdb) p rv
$1 = 0xc445d060
(kgdb) p *mpred
$2 = {pageq = {tqe_next = 0xc75bb360, tqe_prev = 0xc75bb000}, listq = {tqe_next = 0xc75bb360, tqe_prev = 0xc8595170}, left = 0xc7612a20, right = 0xcb721d80, object = 0xc207c000, 
  pindex = 28989, phys_addr = 3876835328, md = {pv_list = {tqh_first = 0x0, tqh_last = 0x0}, pat_mode = 1}, queue = 0 '\0', segind = 0 '\0', flags = 152, order = 0 '\0', pool = 0 '\0', 
  cow = 0, wire_count = 1, hold_count = 0, oflags = 0, act_count = 0 '\0', busy = 0 '\0', valid = 255 'ÿ', dirty = 255 'ÿ'}
(kgdb) p vm_reserv_array
$3 = 0xc4454000
(kgdb) 

  -Alex

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.
Received on Fri Jan 08 2010 - 05:17:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC