Subject: port-i386/16978: sync fails with page fault trap in genfs_putpages + 0x208
To: None <gnats-bugs@gnats.netbsd.org>
From: None <christianbiere@gmx.de>
List: netbsd-bugs
Date: 05/22/2002 19:09:54
>Number:         16978
>Category:       port-i386
>Synopsis:       sync fails with page fault trap in genfs_putpages + 0x208
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 19:10:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christian Biere
>Release:        NetBSD-current
>Organization:
>Environment:
hostname 1.5ZC NetBSD 1.5ZC (GENERIC) #4: Sun May 19 16:13:35 PDT 2002     matt@pilot.local:/export/i386/obj/sys/arch/i386/compile/GENERIC i386
>Description:
When I enter the in-kernel debugger (ALT-CTRL-ESC) and enter sync, the 
kernel runs into a page fault trap:

db> sync
Kernel: page fault trap, code=0
Stopped at genfs_putpages + 0x208: movl 0xfc(%edx),%eax
db> tr
genfs_putpages(d3911850,c02d9a80,20,d3911860,0) at genfs_putpages + 0x208
VOP_PUTPAGES(d3906a3c,0,0,0,0,11,d39118bc,c02567f2) at VOP_PUTPAGES + 0x49

[...]

I've cut the output because it differs each time (different functions) 
except the first line.
When I enter sync a 2nd time the kernel says

dump to dev 0,1 not possible

and then reboot.
>How-To-Repeat:
Boot the system in multi- or single-user mode. Enter the 
in-kernel-debugger (CTRL-ALT-ESC) and enter "sync".
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: