Date: Sat, 25 Mar 1995 03:59:29 +1000 From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org, jali@oce.nl Subject: Re: Endless kernel error message loop Message-ID: <199503241759.DAA29812@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> * 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503241759.DAA29812>