Subject: kern/14423: panic: assertion failure in genfs_gop_write()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@mit.edu>
List: netbsd-bugs
Date: 11/01/2001 17:39:59
>Number:         14423
>Category:       kern
>Synopsis:       panic: assertion failure in genfs_gop_write()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 01 14:43:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Marc Horowitz
>Release:        NetBSD 1.5Y
>Organization:
	
>Environment:

System: NetBSD oscilloscope.mit.edu 1.5Y NetBSD 1.5Y (MARC) #3: Sat Oct 20 21:07:54 EDT 2001 marc@oscilloscope.mit.edu:/u1/netbsd/src/sys/arch/i386/compile/MARC i386
Architecture: i386
Machine: i386
>Description:

Under certain conditions (in my case, an ffs mounted without softdeps,
as a non-privileged user), the kernel can be made to panic:

panic: kernel diagnostic assertion "bytes != 0" failed: file "../../../../miscfs/genfs/genfs_vnops.c", line 1327

>How-To-Repeat:

mkdir foo
echo a > foo/a
echo b > foo/b
cd foo
cat * > ab

Eventually (I believe when the disk fills), the kernel will panic with
the assertion failure above.

>Fix:

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