From owner-freebsd-bugs Fri Mar 24 10:03:12 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA14680 for bugs-outgoing; Fri, 24 Mar 1995 10:03:12 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA14668 for ; Fri, 24 Mar 1995 10:03:05 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA29812; Sat, 25 Mar 1995 03:59:29 +1000 Date: Sat, 25 Mar 1995 03:59:29 +1000 From: Bruce Evans Message-Id: <199503241759.DAA29812@godzilla.zeta.org.au> To: freebsd-bugs@FreeBSD.org, jali@oce.nl Subject: Re: Endless kernel error message loop Sender: bugs-owner@FreeBSD.org Precedence: bulk > * The program below, straight from Steven's "Advanced Programming In The > * Unix Environment", crashes FreeBSD 1.1.5.1 and FreeBSD 2.0-RELEASE. > * > * When compiled and run as 'a.out a.out z', it results in an endless loop > * in the kernel, printing the message: 'vnode pager write error: 5'. > * A forced reset and a reboot is needed. > * Funny thing is that if the file to copy is within a pagesize (4K) it > * works fine. If the file is bigger than 4K, things go wrong. It works a bit better under -current. `a.out a.out z' doesn't cause any kernel printfs, but after `cp /bin/bash /tmp' and `a.out bash z', `rm z' causes the kernel printfs: vnode_pager_output: attempt to write meta-data!!! == -xfffe8000 vnode_pager_output: attempt to write meta-data!!! == -xfffe9000 and then `a.out bash z' causes the kernel printf: free inode //506 had 400 blocks `z' had inode 506 but only 32 512-byte blocks. Bruce