Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jul 1998 10:41:26 -0700
From:      Jaspal Kohli <jaspal@best.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        Jaspal Kohli <jaspal@best.com>
Subject:   panic in 2.2.5 kernel: fault in pmap_ts_referenced()
Message-ID:  <35A3AF45.B7092C85@best.com>

next in thread | raw e-mail | index | archive | help
I am getting a panic - fault in pmap_ts_referenced() running a 2.2.5
kernel on
400 MHz PII / 256 MB memory.  I have turned off the BOUNCE_BUFFER
option and set VM_KMEM_SIZE to 64 MB (the problem occurs with or
without these mods).

The stack trace (from gdb) is:

(kgdb) where
#0  pmap_ts_referenced (pa=148353024) at ../../i386/i386/pmap.c:437
#1  0xf0173178 in vm_pageout_scan () at ../../vm/vm_pageout.c:794
#2  0xf0173680 in vm_pageout () at ../../vm/vm_pageout.c:1013
#3  0xf010a02a in kproc_start (udata=0xf01b0de0) at
../../kern/init_main.c:244
#4  0xf0109fc8 in main (framep=0xefbfffb8) at ../../kern/init_main.c:194

I tried to follow thru the data structures as per the code logic and
they
seem OK (atleast after the fact!). So I am not sure if there is a race
of some sort or flaky HW.

(kgdb) p/x 0x8d7b000>>8
$21 = 0x8d7b0
(kgdb) p pv_table
$22 = (pv_table_t *) 0xf05be000
(kgdb) p/x 0xf05be000+0x8d7b0
$23 = 0xf064b7b0
(kgdb) p/x {pv_table_t} 0xf064b7b0
$24 = {pv_list_count = 0x1, pv_vm_page = 0xf0449cfc, pv_list = {
    tqh_first = 0xf091032c, tqh_last = 0xf0910334}}
(kgdb) p/x {struct pv_entry}0xf091032c
$32 = {pv_pmap = 0xf502b164, pv_va = 0x2f0000, pv_list = {tqe_next =
0x0,
    tqe_prev = 0xf064b7b8}, pv_plist = {tqe_next = 0xf0892ab8,
    tqe_prev = 0xf08a5c6c}, pv_ptem = 0xf03ccafc}

Any ideas?

 thanks,
  - Jaspal


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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