Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756859Ab3FGT4j (ORCPT ); Fri, 7 Jun 2013 15:56:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47025 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755977Ab3FGT4h (ORCPT ); Fri, 7 Jun 2013 15:56:37 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <51B1FEB1.8040103@hurleysoftware.com> References: <51B1FEB1.8040103@hurleysoftware.com> <20130606115417.GA520@x4> <51B09A26.3080603@hurleysoftware.com> <20130606143750.GB520@x4> To: Peter Hurley Cc: dhowells@redhat.com, Markus Trippelsdorf , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Mikael Pettersson Subject: Re: Strange intermittent EIO error when writing to stdout since v3.8.0 Date: Fri, 07 Jun 2013 20:56:12 +0100 Message-ID: <30721.1370634972@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 20 Peter Hurley wrote: > Based on the other reports from Mikael and David, I suspect this problem > may have to do with my commit 699390354da6c258b65bf8fa79cfd5feaede50b6: > > pty: Ignore slave pty close() if never successfully opened > > This commit poisons the pty under certain error conditions that may > occur from parallel open()s (or parallel close() with pending write()). In the case that I'm seeing, the tty in question isn't being opened and closed regularly. A gcc build is dumping a load of stuff out through tee and tee writes it to the tty it got as fd 1 from the parent shell. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/