kernel panic: page fault

From: Kazuaki Oda <kaakun_at_highway.ne.jp>
Date: Mon, 03 Apr 2006 19:36:31 +0900
Hi,

I got a panic on -CURRENT.


[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0718779
stack pointer           = 0x28:0xd4422b74
frame pointer           = 0x28:0xd4422b80
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         = 14 (swi1: net)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 38s
Dumping 510 MB (2 chunks)
  chunk 0: 1MB (158 pages) ... ok
  chunk 1: 510MB (130544 pages) 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:166
166     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:166
#1  0xc066f05e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402
#2  0xc066f385 in panic (fmt=0xc088dde3 "%s") at /usr/src/sys/kern/kern_shutdown.c:558
#3  0xc083c9b0 in trap_fatal (frame=0xd4422b34, eva=8) at /usr/src/sys/i386/i386/trap.c:870
#4  0xc083c6ef in trap_pfault (frame=0xd4422b34, usermode=0, eva=8) at /usr/src/sys/i386/i386/trap.c:778
#5  0xc083c305 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1012600796, tf_esi = 0, tf_ebp = -733860992, tf_isp = -733861024, tf_ebx = 2, tf_edx = -998501728, tf_ecx = 0, tf_eax = 1498072816, tf_trapno = 12, tf_err = 0, tf_eip = -1066301575, tf_cs = 32, tf_eflags = 66050, tf_esp = -998501728, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:463
#6  0xc082836a in calltrap () at /usr/src/sys/i386/i386/exception.s:137
#7  0xc0718779 in tcp_timewait (tw=0x0, to=0xd4422c40, th=0xc3a4f024, m=0xc3a27400, tlen=0) at /usr/src/sys/netinet/tcp_input.c:3202
#8  0xc07159d8 in tcp_input (m=0xc3a27400, off0=20) at /usr/src/sys/netinet/tcp_input.c:763
#9  0xc070ee01 in ip_input (m=0xc3a27400) at /usr/src/sys/netinet/ip_input.c:656
#10 0xc06eb92f in netisr_processqueue (ni=0xc0971d18) at /usr/src/sys/net/netisr.c:236
#11 0xc06ebb2e in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:349
#12 0xc0659e65 in ithread_execute_handlers (p=0xc32fd468, ie=0xc333f100) at /usr/src/sys/kern/kern_intr.c:662
#13 0xc0659f85 in ithread_loop (arg=0xc32dc840) at /usr/src/sys/kern/kern_intr.c:745
#14 0xc0658d7d in fork_exit (callout=0xc0659f30 <ithread_loop>, arg=0xc32dc840, frame=0xd4422d38) at /usr/src/sys/kern/kern_fork.c:819
#15 0xc08283cc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:198
(kgdb)

--
Kazuaki Oda
Received on Mon Apr 03 2006 - 08:42:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC