Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754152Ab2FGQVb (ORCPT ); Thu, 7 Jun 2012 12:21:31 -0400 Received: from mga01.intel.com ([192.55.52.88]:20329 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751176Ab2FGQV3 (ORCPT ); Thu, 7 Jun 2012 12:21:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="176197207" Date: Thu, 7 Jun 2012 17:37:11 +0100 From: Alan Cox To: Richard Weinberger Cc: Alan Cox , Boaz Harrosh , user-mode-linux-devel@lists.sourceforge.net, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, jslaby@suse.cz Subject: Re: [uml-devel] um: TTY fixes (?) Message-ID: <20120607173711.22ae146f@bob.linux.org.uk> In-Reply-To: <4FD0C64D.2050302@nod.at> References: <1338841657-30358-1-git-send-email-richard@nod.at> <4FCF6748.6020005@panasas.com> <4FD059AC.8050808@panasas.com> <4FD06A22.6040002@nod.at> <4FD07F14.50902@panasas.com> <4FD0802A.1020203@nod.at> <20120607115227.6643d1ad@pyramind.ukuu.org.uk> <4FD0C64D.2050302@nod.at> Organization: Intel X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Organisation: Intel Corporation UK Ltd, registered no. 1134945 (England), Registered office Pipers Way, Swindon, SN3 1RJ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 23 On Thu, 07 Jun 2012 17:18:37 +0200 Richard Weinberger wrote: > Alan, Jiri! > > If I omit ->hangup(), mingetty (And all other getty implementations) > are unable to open /dev/ttyX. open() returns -EIO. > Currently I'm testing it on FC12. > Also if I do something like "echo foo >/dev/tty1" it fails with -EIO. > And now the strange thing, opening and writing an unknown (unknown to > this upstart rubbish) tty works. E.g.: echo foo >/dev/tty10. > > Any ideas what's going wrong? Yes I know exactly what is going on. However getting a more tolerant behaviour is going to take a couple more kernels. Alan -- 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/