From owner-freebsd-stable@FreeBSD.ORG Thu Oct 2 23:52:22 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F01A016A4B3 for ; Thu, 2 Oct 2003 23:52:22 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id C29F643FAF for ; Thu, 2 Oct 2003 23:52:21 -0700 (PDT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp190-128.lns1.bne1.internode.on.net [150.101.190.128])h936qATK076580; Fri, 3 Oct 2003 16:22:11 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p1/8.11.6) with ESMTP id h936q8JW009698; Fri, 3 Oct 2003 16:52:09 +1000 (EST) (envelope-from mckay) Message-Id: <200310030652.h936q8JW009698@dungeon.home> To: Forrest Aldrich References: <6.0.0.22.2.20030922161741.01bcd6a0@192.168.1.1> In-Reply-To: <6.0.0.22.2.20030922161741.01bcd6a0@192.168.1.1> from Forrest Aldrich at "Mon, 22 Sep 2003 20:19:11 +0000" Date: Fri, 03 Oct 2003 16:52:08 +1000 From: Stephen McKay cc: stable@freebsd.org cc: Stephen McKay Subject: Re: Weird error when using VI on FreeBSD-4.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 06:52:23 -0000 On Monday, 22nd September 2003, Forrest Aldrich wrote: >I'm getting this error from time-to-time when using VI under >FreeBSD_4.9-prerelease: > >Error: input: Resource temporarily unavailable > >Basically, VI just exits/crashes (no core dump). > >The load average is pretty low: > >4:18PM up 10 days, 23:42, 4 users, load averages: 0.13, 0.21, 0.21 > >And I don't seem to have any other problems with the system. > >Wondering what this might be, or if it's a known problem, etc. It's sort-of known. It's been around for a while now, but nobody knows how to fix it. I've seen it since I upgraded to 4.8 (from 4.5). As far as I can tell, *sometimes* a read from a pty returns EAGAIN when it shouldn't. This has happened to me with /bin/cat of stdin (which was a pty in xterm), so it's nothing to do with VI as such. Stephen.