Subject: kern/21576: heavy nfs write traffic panics the system
To: None <gnats-bugs@gnats.netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: netbsd-bugs
Date: 05/14/2003 17:07:15
>Number: 21576
>Category: kern
>Synopsis: heavy nfs write traffic panics the system
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 14 14:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Antti Kantee
>Release: NetBSD 1.6R
>Organization:
>Environment:
System: NetBSD brain-damage.localhost.fi 1.6R NetBSD 1.6R (BRAIN-DAMAGE.DEBUG) #
2: Sat May 3 18:29:50 EEST 2003 pooka@brain-damage.localhost.fi:/sys/arch/i386/c
ompile/BRAIN-DAMAGE.DEBUG i386
Architecture: i386
Machine: i386
NFS server 1.6.1 i386 with a 100mbit network in between.
>Description:
Writing a large file to nfs repeatedly panics the system after the
system has written a couple hundred megabytes.
panic: kernel %sassertion "%s" failed: file "%s", line %d
#0 0x1 in ?? ()
(gdb) bt
#0 0x1 in ?? ()
#1 0xc0276947 in cpu_reboot (howto=256, bootstr=0x0)
at ../../../../arch/i386/i386/machdep.c:879
#2 0xc020f533 in panic () at ../../../../kern/subr_prf.c:246
#3 0xc03335a8 in __main () at ../../../../../../lib/libkern/__assert.c:47
#4 0xc0199696 in nfs_doio_write (bp=0xc0dd6960, uiop=0xe3453f0c)
at ../../../../nfs/nfs_bio.c:986
#5 0xc0199bca in nfs_doio (bp=0xc0dd6960, p=0x0)
at ../../../../nfs/nfs_bio.c:1163
#6 0xc01a3a42 in nfssvc_iod (l=0xe33e5704)
at ../../../../nfs/nfs_syscalls.c:992
#7 0xc01a3ad0 in start_nfsio (arg=0xe33e5704)
at ../../../../nfs/nfs_syscalls.c:1022
(gdb) frame 4
#4 0xc0199696 in nfs_doio_write (bp=0xc0dd6960, uiop=0xe3453f0c)
at ../../../../nfs/nfs_bio.c:986
986 KASSERT(i == 0 || iomode == NFSV3WRITE_FILESYNC)
;
(gdb) print i
$10 = 3
(gdb) print iomode
$11 = 0
>How-To-Repeat:
Write large file to NFS filesystem.
>Fix:
Sorry, don't know currently.
>Release-Note:
>Audit-Trail:
>Unformatted: