Date: Tue, 11 Feb 1997 19:19:04 -0800 (PST) From: futagi@csctk.jcsnet.or.jp To: freebsd-gnats-submit@freebsd.org Subject: kern/2717: Panic with daily script (find) Message-ID: <199702120319.TAA14545@freefall.freebsd.org> Resent-Message-ID: <199702120320.TAA14643@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2717
>Category: kern
>Synopsis: Panic with daily script (find)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 11 19:20:01 PST 1997
>Last-Modified:
>Originator: Masaaki Futagi
>Organization:
Japan Computer Science Co.,Ltd.
>Release: 2.1.6R
>Environment:
FreeBSD csc-wall2.jcsnet.or.jp 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #10: Wed Feb
12 11:40:07 JST 1997 futagi@csc-wall2.jcsnet.or.jp:/usr/src/sys/compile/JFK
i386
We added our original 'firewall' code to some modules in /sys/netinet
This firewall module puts many 'printf' messages to syslog and console.
>Description:
Panic message:
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x0
fault code = supervisor write, page not present
instruction pointer = 0x8:0xf0127564 (is in cache_lookup() in vfs_cache.o)
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 = 7438 (find)
interrupt mask =
panic: page fault
At 02:03 AM when /etc/daily was running.
This problem did not occur everyday.
>How-To-Repeat:
I could not repeat the probloem manually,
but it occurd not once in midnight.
>Fix:
I found PURGE() procedure (macro) was called in cache_lookup()/vfs_cache.c
Now I inhibit interrupts while 'PURGE()' and observing.
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702120319.TAA14545>
