Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 1998 14:09:10 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   panic - page fault while in kernel mode.
Message-ID:  <199812012209.OAA10986@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
    Our -current NNTP box crashed for the first time after a month of
    uptime and I got a crash dump.

    The kernel that crashed was about 30 days old.  I'm going to load up
    the most recent kernel tonight.  This posting is mainly informational.
    I presume that the problem is a very small timing window somewhere.

						-Matt

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet 
                    Communications & God knows what else.
    <dillon@backplane.com> (Please include original email in any response)    

GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...

"ps" -- when kernel debugging, type out a ps-like listing of active processes.

IdlePTD 11493376
initial pcb at 2280b8
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
fault virtual address   = 0x2a5c4769
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xf01f05cf
stack pointer           = 0x10:0xfc682e68
frame pointer           = 0x10:0xfc682e74
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         = 15034 (diablo)
interrupt mask          =  <- SMP: XXX
panic: from debugger
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
panic: from debugger
mp_lock = 01000003; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1

dumping to dev 401, offset 524288
dump 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=0x104) at ../../kern/kern_shutdown.c:268
268                     dumppcb.pcb_cr3 = rcr3();
(kgdb) back
#0  boot (howto=0x104) at ../../kern/kern_shutdown.c:268
#1  0xf01348a4 in panic (fmt=0xf0113e78 "from debugger")
    at ../../kern/kern_shutdown.c:430
#2  0xf0113e95 in db_panic (addr=0xf01f05cf, have_addr=0x0, count=0xffffffff, 
    modif=0xfc682ce4 "") at ../../ddb/db_command.c:432
#3  0xf0113d75 in db_command (last_cmdp=0xf02144b4, cmd_table=0xf0214314, 
    aux_cmd_tablep=0xf0225370) at ../../ddb/db_command.c:332
#4  0xf0113f02 in db_command_loop () at ../../ddb/db_command.c:454
#5  0xf0116613 in db_trap (type=0xc, code=0x0) at ../../ddb/db_trap.c:71
#6  0xf01e1a14 in kdb_trap (type=0xc, code=0x0, regs=0xfc682e2c)
    at ../../i386/i386/db_interface.c:157
#7  0xf01f385d in trap_fatal (frame=0xfc682e2c) at ../../i386/i386/trap.c:874
#8  0xf01f328c in trap_pfault (frame=0xfc682e2c, usermode=0x0)
    at ../../i386/i386/trap.c:772
#9  0xf01f2edf in trap (frame={tf_es = 0xf0150010, tf_ds = 0xf2800010, 
      tf_edi = 0x2a58f000, tf_esi = 0xfc62f160, tf_ebp = 0xfc682e74, 
      tf_isp = 0xfc682e54, tf_ebx = 0x52513d32, tf_edx = 0xf14ea120, 
      tf_ecx = 0x52513d32, tf_eax = 0x2a5c4743, tf_trapno = 0xc, tf_err = 0x2, 
      tf_eip = 0xf01f05cf, tf_cs = 0x8, tf_eflags = 0x10202, 
      tf_esp = 0x2a58f000, tf_ss = 0x52513d32}) at ../../i386/i386/trap.c:396
#10 0xf01f05cf in pmap_remove_pte (pmap=0xfc62f160, ptq=0xefca963c, 
    va=0x2a58f000) at ../../i386/i386/pmap.c:1794
#11 0xf01f0bfc in pmap_enter (pmap=0xfc62f160, va=0x2a58f000, pa=0x7a19000, 
    prot=0x5, wired=0x0) at ../../i386/i386/pmap.c:2247
#12 0xf01cf866 in vm_fault (map=0xfc62f100, vaddr=0x2a58f000, fault_type=0x1, 
    fault_flags=0x0) at ../../vm/vm_fault.c:725
#13 0xf01f3222 in trap_pfault (frame=0xfc682fbc, usermode=0x1)
    at ../../i386/i386/trap.c:753
#14 0xf01f2d63 in trap (frame={tf_es = 0xefbf0027, tf_ds = 0xfc680027, 
      tf_edi = 0x1, tf_esi = 0xfe8, tf_ebp = 0xefbfd880, tf_isp = 0xfc682fe4, 
      tf_ebx = 0x1000, tf_edx = 0x2a58e000, tf_ecx = 0x0, tf_eax = 0x76d8, 
      tf_trapno = 0xc, tf_err = 0x4, tf_eip = 0x804a740, tf_cs = 0x1f, 
      tf_eflags = 0x10297, tf_esp = 0xefbfd814, tf_ss = 0x27})
    at ../../i386/i386/trap.c:317
#15 0x804a740 in ?? ()
#16 0x804945e in ?? ()
#17 0x8048df9 in ?? ()
#18 0x8048801 in ?? ()


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



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