From owner-freebsd-current Mon Feb 17 1:36:13 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E606F37B401 for ; Mon, 17 Feb 2003 01:36:10 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC10E43FA3 for ; Mon, 17 Feb 2003 01:36:09 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1H9a91o024133 for ; Mon, 17 Feb 2003 01:36:09 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h1H9a9cc000671 for ; Mon, 17 Feb 2003 01:36:09 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h1H9a97q000670 for current@FreeBSD.org; Mon, 17 Feb 2003 01:36:09 -0800 (PST) Date: Mon, 17 Feb 2003 01:36:09 -0800 From: Marcel Moolenaar To: current@FreeBSD.org Subject: Fatal trap 12: page fault while in kernel mode Message-ID: <20030217093608.GA585@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gang, I got the following on my -current machine (recompiled around 23:00 PST) with my home-directory across NFS and gnome2 busy filling memory when logging in. The previous kernel had the extra protection before starting init(8). Related? :-) athlon% sudo more info.0 Good dump found on device /dev/ad0s3b Architecture: i386 Architecture version: 1 Dump length: 268369920B (255 MB) Blocksize: 512 Dumptime: Mon Feb 17 01:02:28 2003 Hostname: athlon.pn.xcllnt.net Versionstring: FreeBSD 5.0-CURRENT #11: Mon Feb 17 00:08:33 PST 2003 marcel@athlon.pn.xcllnt.net:/nfs/freebsd/5.x/src/sys/i386/compile/ATHLON Panicstring: bdwrite: buffer is not busy Bounds: 0 athlon% sudo gdb -k /sys/i386/compile/ATHLON/kernel.debug vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: bdwrite: buffer is not busy panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x50 fault code = supervisor write, page not present instruction pointer = 0x8:0xc024927c stack pointer = 0x10:0xd2b567b0 frame pointer = 0x10:0xd2b56824 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 = 501 (gconf-sanity-check-) trap number = 12 panic: page fault syncing disks, buffers remaining... panic: bdwrite: buffer is not busy Uptime: 33s Dumping 255 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 doadump () at ../../../kern/kern_shutdown.c:239 239 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:239 #1 0xc01faf89 in boot (howto=260) at ../../../kern/kern_shutdown.c:371 #2 0xc01fb1f3 in panic () at ../../../kern/kern_shutdown.c:542 #3 0xc023ef00 in bdwrite (bp=0xc7744510) at ../../../kern/vfs_bio.c:1001 #4 0xc02c693b in ffs_update (vp=0xc2832d50, waitfor=0) at ../../../ufs/ffs/ffs_inode.c:125 #5 0xc02db39f in ffs_fsync (ap=0xd2b565b8) at ../../../ufs/ffs/ffs_vnops.c:314 #6 0xc02da397 in ffs_sync (mp=0xc26ad200, waitfor=2, cred=0xc0eb5e80, td=0xc03a1fa0) at vnode_if.h:612 #7 0xc025541b in sync (td=0xc03a1fa0, uap=0x0) at ../../../kern/vfs_syscalls.c:138 #8 0xc01fab6c in boot (howto=256) at ../../../kern/kern_shutdown.c:280 #9 0xc01fb1f3 in panic () at ../../../kern/kern_shutdown.c:542 #10 0xc0336652 in trap_fatal (frame=0xd2b56770, eva=0) at ../../../i386/i386/trap.c:844 #11 0xc0336332 in trap_pfault (frame=0xd2b56770, usermode=0, eva=80) at ../../../i386/i386/trap.c:758 #12 0xc0335e20 in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -759862868, tf_esi = -759862828, tf_ebp = -759863260, tf_isp = -759863396, tf_ebx = 0, tf_edx = -1032981568, tf_ecx = 0, tf_eax = 4, tf_trapno = 12, tf_err = 2, tf_eip = -1071345028, tf_cs = 8, tf_eflags = 66118, tf_esp = -1070136918, tf_ss = -1033044992}) at ../../../i386/i386/trap.c:445 #13 0xc0325fd8 in calltrap () at {standard input}:96 #14 0xc025cc98 in vn_open_cred (ndp=0xd2b569ac, flagp=0xd2b56974, cmode=0, cred=0xc0eb5e80) at ../../../kern/vfs_vnops.c:185 #15 0xc02b7cb5 in nfs_dolock (ap=0xd2b56b98) at ../../../nfsclient/nfs_lock.c:147 #16 0xc02b70b8 in nfs_advlock (ap=0xd2b56b98) at ../../../nfsclient/nfs_vnops.c:2878 #17 0xc01dbd81 in closef (fp=0xc26d5ca8, td=0xc26df3c0) at vnode_if.h:1225 #18 0xc01db466 in fdfree (td=0xc26df3c0) at ../../../kern/kern_descrip.c:1433 #19 0xc01e1fb9 in exit1 (td=0xc26df3c0, rv=0) at ../../../kern/kern_exit.c:254 #20 0xc01e1b5e in sys_exit () at ../../../kern/kern_exit.c:116 #21 0xc033697a in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 3636, tf_ebp = -1077937460, tf_isp = -759861900, tf_ebx = 672875812, tf_edx = 6, tf_ecx = 19, tf_eax = 1, tf_trapno = 0, tf_err = 2, tf_eip = 679763039, tf_cs = 31, tf_eflags = 582, tf_esp = -1077937504, tf_ss = 47}) at ../../../i386/i386/trap.c:1033 #22 0xc032602d in Xint0x80_syscall () at {standard input}:138 ---Can't read userspace from dump, or kernel process--- -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message