DragonFly BSD
DragonFly bugs List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: page fault on 1.2.0-RELEASE


From: Chuck Tuffli <chuck_tuffli@xxxxxxxxxxx>
Date: Fri, 17 Jun 2005 12:20:35 -0700

On Tue, Jun 14, 2005 at 11:03:07AM -0700, Matthew Dillon wrote:
. ..
>     Try this (patched against the RELEASE sources):
> 
> Index: vm_page.c

Output is below. sysctl (under FreeBSD) reports the following

# sysctl hw.physmem hw.usermem
hw.physmem: 1063010304
hw.usermem: 1035644928

and the bios reports 1 GB of memory as well.

SMAP type=02 base=00000000 0009fc00 len=00000000 00000400
SMAP type=02 base=00000000 000a0000 len=00000000 00060000
SMAP type=01 base=00000000 00100000 len=00000000 3f95f000
SMAP type=02 base=00000000 3fa5f000 len=00000000 00027000
SMAP type=01 base=00000000 3fa86000 len=00000000 0003c000
SMAP type=04 base=00000000 3fac2000 len=00000000 00044000
SMAP type=01 base=00000000 3fb06000 len=00000000 0000e000
SMAP type=03 base=00000000 3fb14000 len=00000000 00012000
SMAP type=01 base=00000000 3fb26000 len=00000000 000da000
SMAP type=02 base=00000000 fffa0000 len=00000000 0000c000
Copyright (c) 2003, 2004, 2005 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
PHYS_AVAIL 00001000 - 0009f000
PHYS_AVAIL 005a5000 - 3fa5f000
PHYS_AVAIL 3fa86000 - 3fac2000
PHYS_AVAIL 3fb06000 - 3fb14000
PHYS_AVAIL 3fb26000 - 3fbf8000
PHYS_AVAIL 2fc00a0000 - 80008f00000000
PHYS_AVAIL 8dc007ff0000d000 - 0000c000
BIGGESTONE 12 SIZE 8232571327035207680
NBLOCKS 7
TOTAL 8268600534212882432
VM_PAGE_BUCKET_COUNT 0
MAP1 c081a000/c081a000 PHYS 0000c000 - 0000c000
FIRST_PAGE 1 PAGE_RANGE 11
VM_PAGE_ARRAY @ KVA 0xc081a000 PHYS 0000b000 - 0000c000
VM_PAGE_ARRAY HAS 11 ENTRIES
ADD_PAGE PA 00001000 PC 1 QUEUE 2
VPQ 0xc04301e0/0xc0430208
ADD_PAGE PA 00002000 PC 2 QUEUE 3
VPQ 0xc04301e0/0xc043021c
ADD_PAGE PA 00003000 PC 3 QUEUE 4
VPQ 0xc04301e0/0xc0430230
ADD_PAGE PA 00004000 PC 4 QUEUE 5
VPQ 0xc04301e0/0xc0430244
ADD_PAGE PA 00005000 PC 5 QUEUE 6
VPQ 0xc04301e0/0xc0430258
ADD_PAGE PA 00006000 PC 6 QUEUE 7
VPQ 0xc04301e0/0xc043026c
ADD_PAGE PA 00007000 PC 7 QUEUE 8
VPQ 0xc04301e0/0xc0430280
ADD_PAGE PA 00008000 PC 8 QUEUE 9
VPQ 0xc04301e0/0xc0430294
ADD_PAGE PA 00009000 PC 9 QUEUE 10
VPQ 0xc04301e0/0xc04302a8
ADD_PAGE PA 0000a000 PC 10 QUEUE 11
VPQ 0xc04301e0/0xc04302bc
ADD_PAGE PA 0000b000 PC 11 QUEUE 12
VPQ 0xc04301e0/0xc04302d0
ADD_PAGE PA 0000c000 PC 12 QUEUE 13
VPQ 0xc04301e0/0xc04302e4
ADD_PAGE PA 0000d000 PC 13 QUEUE 14
VPQ 0xc04301e0/0xc04302f8
ADD_PAGE PA 0000e000 PC 14 QUEUE 15
VPQ 0xc04301e0/0xc043030c
ADD_PAGE PA 0000f000 PC 15 QUEUE 16
VPQ 0xc04301e0/0xc0430320
ADD_PAGE PA 00010000 PC 16 QUEUE 17
VPQ 0xc04301e0/0xc0430334
ADD_PAGE PA 00011000 PC 17 QUEUE 18
VPQ 0xc04301e0/0xc0430348
ADD_PAGE PA 00012000 PC 18 QUEUE 19
VPQ 0xc04301e0/0xc043035c
ADD_PAGE PA 00013000 PC 19 QUEUE 20
VPQ 0xc04301e0/0xc0430370
ADD_PAGE PA 00014000 PC 20 QUEUE 21
VPQ 0xc04301e0/0xc0430384
ADD_PAGE PA 00015000 PC 21 QUEUE 22
VPQ 0xc04301e0/0xc0430398
ADD_PAGE PA 00016000 PC 22 QUEUE 23
VPQ 0xc04301e0/0xc04303ac
ADD_PAGE PA 00017000 PC 23 QUEUE 24
VPQ 0xc04301e0/0xc04303c0
ADD_PAGE PA 00018000 PC 24 QUEUE 25
VPQ 0xc04301e0/0xc04303d4
ADD_PAGE PA 00019000 PC 25 QUEUE 26
VPQ 0xc04301e0/0xc04303e8
ADD_PAGE PA 0001a000 PC 26 QUEUE 27
VPQ 0xc04301e0/0xc04303fc
ADD_PAGE PA 0001b000 PC 27 QUEUE 28
VPQ 0xc04301e0/0xc0430410
ADD_PAGE PA 0001c000 PC 28 QUEUE 29
VPQ 0xc04301e0/0xc0430424
ADD_PAGE PA 0001d000 PC 29 QUEUE 30
VPQ 0xc04301e0/0xc0430438
ADD_PAGE PA 0001e000 PC 30 QUEUE 31
VPQ 0xc04301e0/0xc043044c
ADD_PAGE PA 0001f000 PC 31 QUEUE 32
VPQ 0xc04301e0/0xc0430460
ADD_PAGE PA 00020000 PC 32 QUEUE 33
VPQ 0xc04301e0/0xc0430474
ADD_PAGE PA 00021000 PC 33 QUEUE 34
VPQ 0xc04301e0/0xc0430488
ADD_PAGE PA 00022000 PC 34 QUEUE 35
VPQ 0xc04301e0/0xc043049c
ADD_PAGE PA 00023000 PC 35 QUEUE 36
VPQ 0xc04301e0/0xc04304b0
ADD_PAGE PA 00024000 PC 36 QUEUE 37
VPQ 0xc04301e0/0xc04304c4
ADD_PAGE PA 00025000 PC 37 QUEUE 38
VPQ 0xc04301e0/0xc04304d8
ADD_PAGE PA 00026000 PC 38 QUEUE 39
VPQ 0xc04301e0/0xc04304ec
ADD_PAGE PA 00027000 PC 39 QUEUE 40
VPQ 0xc04301e0/0xc0430500
ADD_PAGE PA 00028000 PC 40 QUEUE 41
VPQ 0xc04301e0/0xc0430514
ADD_PAGE PA 00029000 PC 41 QUEUE 42
VPQ 0xc04301e0/0xc0430528
ADD_PAGE PA 0002a000 PC 42 QUEUE 43
VPQ 0xc04301e0/0xc043053c
ADD_PAGE PA 0002b000 PC 43 QUEUE 44
VPQ 0xc04301e0/0xc0430550
ADD_PAGE PA 0002c000 PC 44 QUEUE 45
VPQ 0xc04301e0/0xc0430564
ADD_PAGE PA 0002d000 PC 45 QUEUE 46
VPQ 0xc04301e0/0xc0430578
ADD_PAGE PA 0002e000 PC 46 QUEUE 47
VPQ 0xc04301e0/0xc043058c
ADD_PAGE PA 0002f000 PC 47 QUEUE 48
VPQ 0xc04301e0/0xc04305a0
ADD_PAGE PA 00030000 PC 48 QUEUE 49
VPQ 0xc04301e0/0xc04305b4
ADD_PAGE PA 00031000 PC 49 QUEUE 50
VPQ 0xc04301e0/0xc04305c8
ADD_PAGE PA 00032000 PC 50 QUEUE 51
VPQ 0xc04301e0/0xc04305dc
ADD_PAGE PA 00033000 PC 51 QUEUE 52
VPQ 0xc04301e0/0xc04305f0
ADD_PAGE PA 00034000 PC 52 QUEUE 53
VPQ 0xc04301e0/0xc0430604
ADD_PAGE PA 00035000 PC 53 QUEUE 54
VPQ 0xc04301e0/0xc0430618
ADD_PAGE PA 00036000 PC 54 QUEUE 55
VPQ 0xc04301e0/0xc043062c
ADD_PAGE PA 00037000 PC 55 QUEUE 56
VPQ 0xc04301e0/0xc0430640
ADD_PAGE PA 00038000 PC 56 QUEUE 57
VPQ 0xc04301e0/0xc0430654
ADD_PAGE PA 00039000 PC 57 QUEUE 58
VPQ 0xc04301e0/0xc0430668
ADD_PAGE PA 0003a000 PC 58 QUEUE 59
VPQ 0xc04301e0/0xc043067c
ADD_PAGE PA 0003b000 PC 59 QUEUE 60
VPQ 0xc04301e0/0xc0430690
ADD_PAGE PA 0003c000 PC 60 QUEUE 61
VPQ 0xc04301e0/0xc04306a4


Fatal trap 12: page fault while in kernel mode
mp_lock = 00000000; cpuid = 0; lapic.id = 00000000
fault virtual address	= 0x44
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0202451
stack pointer	        = 0x10:0xc059aafc
frame pointer	        = 0x10:0xc059ab0c
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=0

CPU0 stopping CPUs: 0x00000000
 stopped
Stopped at      0xc0202451:     cmpl    %eax,0(%edi)
db> trace
(null)(c059ab28,44) at 0xc0202451
(null)(44,1,0,c040c520,c040c3a0) at 0xc01f3e56
(null)(c059abf4,c081b000,2,c059abf8,c059abec) at 0xc02eeaa5
(null)(0,c081b000,2,0,c) at 0xc02e8ade
(null)(c059aca8,0,c081b00c) at 0xc036706a
(null)(18,c0430010,c0810010,c081aff0,0) at 0xc0366cf4
(null)(3d000,0,c042eee0,c03f937c,5a5000) at 0xc034ff2b
(null)(5a5000,3fbf8000,c081a000,c059ad98,c01e3f18) at 0xc02f2c13
(null)(0,597c00,5a5000,0,c01398cc) at 0xc02ea62f
(null)(597000,0,0,0,0) at 0xc01e3f18
(null)() at 0xc01398cc
db> 

-- 
Chuck Tuffli
Agilent Technologies



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]