Subject: Help with 2 crashes this week
To: None <netbsd-help@netbsd.org>
From: Byron Servies <bservies@pacang.com>
List: netbsd-help
Date: 02/05/2003 08:30:42
Hi there!

This week I have had 2 panics and I need some advice on
how to proceed in reporting or diagnosing the problem.
Please point me to the correct forum for this information,
if this is not the correct list.

I am running a custom 1.6 kernel, based on GENERIC, with
devices I do not have removed.  Since I also occasionally
run -current (on another disk), and have had crashes in
the past I could not diagnose, I have debug kernels available.

Both crashes occurred in the same place:

#26 0xc023c545 in VOP_PUTPAGES (vp=0xe4d7c180, offlo=0, offhi=0, flags=17)
at /sys/arch/i386/compile/BYRON/../../../../kern/vnode_if.c:1636
#27 0xc01e2804 in ffs_full_fsync (v=0xe3b7ce58)
at /sys/arch/i386/compile/BYRON/../../../../ufs/ffs/ffs_vnops.c:353
#28 0xc01e2574 in ffs_fsync (v=0xe3b7ce58)
at /sys/arch/i386/compile/BYRON/../../../../ufs/ffs/ffs_vnops.c:262
#29 0xc023bd98 in VOP_FSYNC (vp=0xe4d7c180, cred=0xc1552f00, flags=0, offlo=0, 
offhi=0, p=0xe3b7d004)
at /sys/arch/i386/compile/BYRON/../../../../kern/vnode_if.c:662
#30 0xc01e0f57 in ffs_sync (mp=0xc1728000, waitfor=3, cred=0xc1552f00, 
p=0xe3b7d004)
at /sys/arch/i386/compile/BYRON/../../../../ufs/ffs/ffs_vfsops.c:1065
#31 0xc0241528 in sync_fsync (v=0xe3b7cf28)
at /sys/arch/i386/compile/BYRON/../../../../miscfs/syncfs/sync_vnops.c:160
#32 0xc023bd98 in VOP_FSYNC (vp=0xe4bbbca4, cred=0xc1552f00, flags=8, offlo=0, 
offhi=0, p=0xe3b7d004)
at /sys/arch/i386/compile/BYRON/../../../../kern/vnode_if.c:662
#33 0xc02412a1 in sched_sync (v=0xe3b7d004)
at /sys/arch/i386/compile/BYRON/../../../../miscfs/syncfs/sync_subr.c:188

In examining the fs structure in frame 30 (ffs_sync), both
panics occurred on my /usr mount, which is mounted softdep,
though that may be a red herring given my lack of experience
in examining netbsd kernel issues.

Any assistance or tips would be very welcome.  config diffs
and core dumps available if you want them.

Byron