From owner-freebsd-questions Fri Apr 7 4:31:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from furball.winc.com (furball.winc.com [199.18.240.28]) by hub.freebsd.org (Postfix) with ESMTP id C5C4837BA3F for ; Fri, 7 Apr 2000 04:31:30 -0700 (PDT) (envelope-from tom@winc.com) Received: from localhost (tom@localhost) by furball.winc.com (8.9.3/8.9.3) with ESMTP id HAA02046 for ; Fri, 7 Apr 2000 07:30:47 -0400 (EDT) (envelope-from tom@winc.com) Date: Fri, 7 Apr 2000 07:30:47 -0400 (EDT) From: Tom Rataski To: freebsd-questions@freebsd.org Subject: Page fault in kernel mode page fault Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a 133mhz P5 systm running V3.3 solid since last september. Last sunday evening it started panicing regularly with a kernel mode page fault. It looks like anytime procmail runs the system rolls over. I have disabled and the system is stable again. Of course, the purpose of this machine is to send and receive mail so that is not a good solution. I have taken a crash and it follows at the end. The things I have done: - checked for obvious intrusions - re-installed procmail - restored from a know good backup (pre-crashing) - removed all interface cards - changed memory (all but lower 8mb since soldered on MB) - disabled external cache - rebuilt kernel w/debug None of these helped I am at a loss at what to look for next. Anybody have any suggestions?? Thanks -TomR- #furball> gdb -k GNU gdb 4.18 Copyright 1998 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-unknown-freebsd". (kgdb) symbol-file sys/compile/FURBALL/kernel.debug Reading symbols from /sys/compile/FURBALL/kernel.debug...done. (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 IdlePTD 2973696 initial pcb at 266b80 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc022ea8f stack pointer = 0x10:0xc36bdf28 frame pointer = 0x10:0xc36bdf28 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 = 292 (procmail) interrupt mask = trap number = 12 panic: page fault syncing disks... 25 25 16 10 done dumping to dev 20001, offset 49152 dump 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=256) at ../../kern/kern_shutdown.c:285 285 dumppcb.pcb_cr3 = rcr3(); (kgdb) where #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 #1 0xc014b708 in at_shutdown ( function=0xc0245c72 <__set_sysinit_set_sym_memdev_sys_init+1050>, arg=0xc362f3c0, queue=-1016907200) at ../../kern/kern_shutdown.c:446 #2 0xc0212475 in trap_fatal (frame=0xc36bdeec, eva=0) at ../../i386/i386/trap.c:942 #3 0xc0212153 in trap_pfault (frame=0xc36bdeec, usermode=0, eva=0) at ../../i386/i386/trap.c:835 #4 0xc0211dca in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 0, tf_ebp = -1016340696, tf_isp = -1016340716, tf_ebx = 0, tf_edx = 0, tf_ecx = -1065310991, tf_eax = -1065311149, tf_trapno = 12, tf_err = 0, tf_eip = -1071453553, tf_cs = 8, tf_eflags = 66178, tf_esp = -1016340664, tf_ss = -1065318207}) at ../../i386/i386/trap.c:437 #5 0xc022ea8f in strcmp (s1=0x0, s2=0xc080a4f0 "S_BASE=/") at ../../libkern/strcmp.c:50 #6 0xc08088c1 in ?? () #7 0xc08086eb in ?? () #8 0xc02126b7 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, tf_esi = 134586368, tf_ebp = -1077945276, tf_isp = -1016340508, tf_ebx = 672114736, tf_edx = 0, tf_ecx = 0, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 671859688, tf_cs = 31, tf_eflags = 582, tf_esp = -1077945400, tf_ss = 39}) at ../../i386/i386/trap.c:1100 ---Type to continue, or q to quit--- #9 0xc020521c in Xint0x80_syscall () #10 0x280e2c80 in ?? () #11 0x280b5cdc in ?? () #12 0x280b5b1a in ?? () #13 0x8053d0f in ?? () #14 0x8053da4 in ?? () #15 0x80495e1 in ?? () #16 0x8049c47 in ?? () #17 0x8049551 in ?? () (kgdb) q -- Tom Rataski Akron, Ohio USA tom at winc dot com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message