Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 1997 18:01:19 +0200 (EET)
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/2770: panic: vm_fault: fault on nofault entry
Message-ID:  <199702191601.SAA03478@news.clinet.fi>
Resent-Message-ID: <199702191610.IAA29414@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2770
>Category:       kern
>Synopsis:       panic: vm_fault: fault on nofault entry
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 08:10:01 PST 1997
>Last-Modified:
>Originator:     Heikki Suonsivu
>Organization:
Clinet, Espoo, Finland
>Release:        FreeBSD 2.2-GAMMA i386
>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 <repeats 14 times>}, 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:
	


>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702191601.SAA03478>