From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1FACF2C0082 for ; Wed, 14 Nov 2012 15:13:44 +1100 (EST) Message-ID: <1352866404.23412.17.camel@pasglop> Subject: Re: HVC console breakage From: Benjamin Herrenschmidt To: Anton Blanchard Date: Wed, 14 Nov 2012 15:13:24 +1100 In-Reply-To: <20121114135702.7b332dd7@kryten> References: <20121114135702.7b332dd7@kryten> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@lists.ozlabs.org, paulus@samba.org, gregkh@linuxfoundation.org, Paul Mackerras , jslaby@suse.cz, alan@linux.intel.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2012-11-14 at 13:57 +1100, Anton Blanchard wrote: > Hi, > > Commit bdb498c20040 (TTY: hvc_console, add tty install) breaks HVC on > ppc64. It looks a bit like a refcounting issue and we end up releasing > the tty. I haven't had a change to look closer yet. Adding Paulus who is looking into it. So far what we observe is that something (possibly a close() on a hvc tty by userspace) causes the port to be destroyed permanently. Typically hits with fedora 17. Cheers, Ben.