From hsu@clinet.fi Wed Feb 19 08:01:46 1997 Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA29046 for ; Wed, 19 Feb 1997 08:01:31 -0800 (PST) Received: from news.clinet.fi (root@news.clinet.fi [194.100.0.3]) by hauki.clinet.fi (8.8.5/8.6.4) with ESMTP id SAA21952 for ; Wed, 19 Feb 1997 18:01:10 +0200 (EET) Received: (root@localhost) by news.clinet.fi (8.8.4/8.6.4) id SAA03478; Wed, 19 Feb 1997 18:01:19 +0200 (EET) Message-Id: <199702191601.SAA03478@news.clinet.fi> Date: Wed, 19 Feb 1997 18:01:19 +0200 (EET) From: Heikki Suonsivu Reply-To: hsu@clinet.fi To: FreeBSD-gnats-submit@freebsd.org Subject: panic: vm_fault: fault on nofault entry X-Send-Pr-Version: 3.2 >Number: 2770 >Category: kern >Synopsis: panic: vm_fault: fault on nofault entry >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 19 08:10:01 PST 1997 >Closed-Date: Thu Aug 10 11:39:53 PDT 2000 >Last-Modified: Thu Aug 10 11:40:54 PDT 2000 >Originator: Heikki Suonsivu >Release: FreeBSD 2.2-GAMMA i386 >Organization: Clinet, Espoo, Finland >Environment: 2.2, news server. 2940, 128M, P150. >Description: hsu#news.clinet.fi Wed 1: gdb -k kernel.5 vmcore.5 GDB is free software and you are welcome to 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. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... IdlePTD 271000 current pcb at 0x210c98 panic: vm_fault: fault on nofault entry, addr: %lx #0 boot (howto=256) at ../../kern/kern_shutdown.c:243 243 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=256) at ../../kern/kern_shutdown.c:243 #1 0xf0112402 in panic ( fmt=0xf01ba8a7 "vm_fault: fault on nofault entry, addr: %lx") at ../../kern/kern_shutdown.c:367 #2 0xf01ba9ce in vm_fault (map=0xf3ce7f00, vaddr=4139446272, fault_type=1 '\001', change_wiring=0) at ../../vm/vm_fault.c:201 #3 0xf01cf4f4 in trap_pfault (frame=0xefbffc74, usermode=0) at ../../i386/i386/trap.c:642 #4 0xf01cf21f in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 8191, tf_esi = -187545600, tf_ebp = -272630456, tf_isp = -272630628, tf_ebx = -155520966, tf_edx = -158917020, tf_ecx = 49210, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -266653641, tf_cs = 8, tf_eflags = 66182, tf_esp = -188058368, tf_ss = -272630396}) at ../../i386/i386/trap.c:311 #5 0xf01b3037 in ufs_lookup (ap=0xefbffd84) at ../../ufs/ufs/ufs_lookup.c:279 #6 0xf0130619 in lookup (ndp=0xefbffef4) at vnode_if.h:31 #7 0xf013015b in namei (ndp=0xefbffef4) at ../../kern/vfs_lookup.c:156 #8 0xf0135b5d in vn_open (ndp=0xefbffef4, fmode=1538, cmode=436) at ../../kern/vfs_vnops.c:92 #9 0xf0133423 in open (p=0xf48b1400, uap=0xefbfff94, retval=0xefbfff84) at ../../kern/vfs_syscalls.c:684 #10 0xf01cfcef in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 16611828, tf_esi = 187448, tf_ebp = -272641872, tf_isp = -272629788, tf_ebx = 20820437, tf_edx = 104, tf_ecx = -272642038, tf_eax = 5, tf_trapno = 12, tf_err = 7, tf_eip = 134842801, tf_cs = 31, tf_eflags = 663, tf_esp = -272642236, tf_ss = 39}) at ../../i386/i386/trap.c:892 #11 0x80989b1 in ?? () #12 0x4fab in ?? () #13 0xcfeb in ?? () #14 0xedc7 in ?? () #15 0xf477 in ?? () #16 0x99eb in ?? () #17 0xc592 in ?? () #18 0x1096 in ?? () (kgdb) frame 5 #5 0xf01b3037 in ufs_lookup (ap=0xefbffd84) at ../../ufs/ufs/ufs_lookup.c:279 279 ep = (struct direct *)((char *)bp->b_data + entryoffsetinblock); (kgdb) list 274 * Full validation checks are slow, so we only check 275 * enough to insure forward progress through the 276 * directory. Complete checks can be run by patching 277 * "dirchk" to be true. 278 */ 279 ep = (struct direct *)((char *)bp->b_data + entryoffsetinblock); 280 if (ep->d_reclen == 0 || 281 (dirchk && ufs_dirbadentry(vdp, ep, entryoffsetinblock))) { 282 int i; 283 (kgdb) print bp $1 = (struct buf *) 0xf6871e64 (kgdb) print *bp $2 = {b_hash = {le_next = 0xf687ade8, le_prev = 0xf6855a5c}, b_vnbufs = { le_next = 0xf68ab358, le_prev = 0xf4ca7530}, b_freelist = { tqe_next = 0xf68681fc, tqe_prev = 0xf02213a8}, b_act = {tqe_next = 0x0, tqe_prev = 0xf484ffd4}, b_proc = 0x0, b_flags = 1049104, b_qindex = 0, b_usecount = 4 '\004', b_error = 0, b_bufsize = 8192, b_bcount = 8192, b_resid = 0, b_dev = 1148, b_un = { b_addr = 0xf6bad000 "Path: news.clinet.fi!news.cs.hut.fi!news.funet.fi!news.eunet.fi!EU.net!news.mathworks.com!fu-berlin.de!informatik.tu-muenchen.de!lrz-muenchen.de!news.rz.uni-passau.de!borodin!gorlatch\nFrom: gorlatch@f"...}, b_kvabase = 0xf6bad000 "Path: news.clinet.fi!news.cs.hut.fi!news.funet.fi!news.eunet.fi!EU.net!news.mathworks.com!fu-berlin.de!informatik.tu-muenchen.de!lrz-muenchen.de!news.rz.uni-passau.de!borodin!gorlatch\nFrom: gorlatch@f"..., b_kvasize = 8192, b_saveaddr = 0x0, b_lblkno = 5, b_blkno = 1025104, b_iodone = 0, b_iodone_chain = 0x0, b_vp = 0xf4ca7500, b_dirtyoff = 0, b_dirtyend = 0, b_rcred = 0x0, b_wcred = 0x0, b_validoff = 0, b_validend = 0, b_pblkno = 1025104, b_savekva = 0x0, b_driver1 = 0x0, b_driver2 = 0x0, b_spc = 0x0, b_cluster = {cluster_head = {tqh_first = 0x0, tqh_last = 0xf68422f8}, cluster_entry = {tqe_next = 0x0, tqe_prev = 0xf68422f8}}, b_pages = {0xf0404970, 0xf04056a4, 0x0 }, b_npages = 1010607} (kgdb) print entryoffsetinblock $3 = 8250 (kgdb) >How-To-Repeat: I do not know, but running a busy news server seems to help. >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: johan State-Changed-When: Thu Aug 10 11:33:29 PDT 2000 State-Changed-Why: Alot has changed since 2.2.X :-) Have you seen this panic in more recent versions of FreeBSD, for example 4.1-Release? Have you been able to reproduce the panic in anyway since the report? http://www.freebsd.org/cgi/query-pr.cgi?pr=2770 State-Changed-From-To: feedback->closed State-Changed-By: johan State-Changed-When: Thu Aug 10 11:39:53 PDT 2000 State-Changed-Why: : host mail.clinet.fi[194.100.0.7] said: 550 ... User unknown http://www.freebsd.org/cgi/query-pr.cgi?pr=2770 >Unformatted: