page fault on 1.2.0-RELEASE

Matthew Dillon dillon at apollo.backplane.com
Tue Jun 14 09:22:21 PDT 2005


:vm_page_startup:
:	first_page 0x1
:	page_range 11
:	npages -2046298669
:	end -27020983583899648
:	new_end -27020983583903744
:	vm_page_array 0xc081a000
:	mapped 0xc081b000

    Something is seriously broken here.  Try making them
    separate printfs.  Also print out the 'total' variable,
    vm_page_buckets, vm_page_hash_mask.

:vm_page_startup 2:
:	phys_avail[i] 4096
:	phys_avail[i+1] 651264
:	last_pa 651264
:
:After the first call to vm_add_new_page, I see the panic below which I
:annotated
:
:vm_add_new_page:
:	m 0xc081a000
:	m->queue 52410
:	vpq 0xc052ff88
:	flipflop 189185
:	vpq->pl 0xc052ff88

    Ok, we still have this issue of m->queue being too large.  Print
    out pa (%08llx), PQ_L2_MASK, PQ_FREE, and m->pc.

    I'm beginning to see an issue.


:
:Fatal trap 12: page fault while in kernel mode
:mp_lock = 00000000; cpuid = 0; lapic.id = 00000000
:fault virtual address	= 0x2b633
:fault code		= supervisor write, page not present
:instruction pointer	= 0x8:0xc02f2753
:stack pointer	        = 0x10:0xc0599ce8
:frame pointer	        = 0x10:0xc0599d0c
:code segment		= base 0x0, limit 0xfffff, type 0x1b
:			= DPL 0, pres 1, def32 1, gran 1
:processor eflags	= interrupt enabled, resume, IOPL = 0
:current process		= 0 (thread0)
:current thread          = pri 44 (CRIT)
:interrupt mask		= net tty bio cam  <- SMP: XXX
:kernel: type 12 trap, code=2
:
:CPU0 stopping CPUs: 0x00000000
: stopped
:Stopped at      0xc02f2753:     movl    %edi,0(%eax)
:db> trace
:(null)(1000,0,c042ee00,c03f929c,5a4000) at 0xc02f2753             vm_add_new_page
:(null)(5a4000,3fbf8000,c081a000,c0599d98,c01e3f18) at 0xc02f2b77  vm_page_startup
:(null)(0,596c00,5a4000,0,c01398cc) at 0xc02ea62f                  vm_mem_init
:(null)(596000,0,0,0,0) at 0xc01e3f18                              mi_startup
:(null)() at 0xc01398cc                                            begin
:
:-- 
:Chuck Tuffli
:Agilent Technologies
:

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Bugs mailing list