Date: Fri, 19 Sep 2003 17:05:13 +0300 From: Aleksey Ovcharenko <alexovch@ic.kharkov.ua> To: freebsd-questions@freebsd.org Subject: Fatal trap 12: page fault while in kernel mode Message-ID: <200309191705.13895.alexovch@ic.kharkov.ua>
next in thread | raw e-mail | index | archive | help
Hi! I updated my 4.8-STABLE to 4.9-PRERELEASE (FreeBSD 4.9-PRERELEASE #0: Fri Sep 19 11:36:02 EEST 2003), run portupgrade -rRa and in a few mins I saw crash: IdlePTD at phsyical address 0x0042e000 initial pcb at physical address 0x00372c00 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x41413042 fault code = supervisor read, page not present instruction pointer = 0x8:0xc026cfd7 stack pointer = 0x10:0xe32c8cb0 frame pointer = 0x10:0xe32c8cb4 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 = 63994 (du) interrupt mask = none trap number = 12 panic: page fault syncing disks... 55 43 29 19 11 5 done Uptime: 18m49s --- #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc0177df0 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc017823d in panic (fmt=0xc031fc2c "%s") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc02c87f4 in trap_fatal (frame=0xe32c8c70, eva=1094791234) at /usr/src/sys/i386/i386/trap.c:974 #4 0xc02c8489 in trap_pfault (frame=0xe32c8c70, usermode=0, eva=1094791234) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc02c801b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 4608, tf_esi = -1022012928, tf_ebp = -483619660, tf_isp = -483619684, tf_ebx = -1024392832, tf_edx = 1094791234, tf_ecx = 7, tf_eax = 22, tf_trapno = 12, tf_err = 0, tf_eip = -1071198249, tf_cs = 8, tf_eflags = 66054, tf_esp = 8, tf_ss = -483619592}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc026cfd7 in zalloc (z=0xc2f10180) at /usr/src/sys/vm/vm_zone.c:70 #7 0xc025c70f in ufsdirhash_build (ip=0xc2fa4600) at /usr/src/sys/ufs/ufs/ufs_dirhash.c:166 #8 0xc0256cce in ufs_lookup (ap=0xe32c8db8) at /usr/src/sys/ufs/ufs/ufs_lookup.c:196 #9 0xc025c4c5 in ufs_vnoperate (ap=0xe32c8db8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #10 0xc01a28de in vfs_cache_lookup (ap=0xe32c8e10) at vnode_if.h:77 #11 0xc025c4c5 in ufs_vnoperate (ap=0xe32c8e10) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #12 0xc01a5915 in lookup (ndp=0xe32c8e8c) at vnode_if.h:52 #13 0xc01a5400 in namei (ndp=0xe32c8e8c) at /usr/src/sys/kern/vfs_lookup.c:153 #14 0xc01ab301 in lstat (p=0xe30cd040, uap=0xe32c8f80) at /usr/src/sys/kern/vfs_syscalls.c:1824 #15 0xc02c8a65 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134546432, tf_esi = 134546536, tf_ebp = -1077937616, tf_isp = -483618860, tf_ebx = 672180108, tf_edx = 3, tf_ecx = 134546496, tf_eax = 190, tf_trapno = 12, tf_err = 2, tf_eip = 671855176, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937756, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 #16 0xc02b9695 in Xint0x80_syscall () #17 0x280b7879 in ?? () #18 0x280b70f6 in ?? () #19 0x8048e86 in ?? () #20 0x8048902 in ?? () (kgdb) After that I could finish my upgrade w/o any crashes or so. Any ideas what was that? Or where to look? -- Sincerely Yours, Aleksey Ovcharenko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309191705.13895.alexovch>