Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721Ab2KFRdw (ORCPT ); Tue, 6 Nov 2012 12:33:52 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:41527 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752012Ab2KFRdu (ORCPT ); Tue, 6 Nov 2012 12:33:50 -0500 Date: Tue, 6 Nov 2012 17:38:45 +0000 From: Alan Cox To: Dave Jones Cc: Hugh Dickins , Sasha Levin , Daniel Vetter , Sasha Levin , Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, florianSchandinat@gmx.de Subject: Re: tty, vt: lockdep warnings Message-ID: <20121106173845.4a50d661@pyramind.ukuu.org.uk> In-Reply-To: <20121106164214.GA18246@redhat.com> References: <50899507.1040900@oracle.com> <20121026143754.50277bd8@pyramind.ukuu.org.uk> <20121105175937.26f31d2a@pyramind.ukuu.org.uk> <5097FEA9.2090603@oracle.com> <20121105201507.79fe47d7@pyramind.ukuu.org.uk> <20121106161100.216c6d79@pyramind.ukuu.org.uk> <20121106164214.GA18246@redhat.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEWysKsSBQMIAwIZCwj///8wIhxoRDXH9QHCAAABeUlEQVQ4jaXTvW7DIBAAYCQTzz2hdq+rdg494ZmBeE5KYHZjm/d/hJ6NfzBJpp5kRb5PHJwvMPMk2L9As5Y9AmYRBL+HAyJKeOU5aHRhsAAvORQ+UEgAvgddj/lwAXndw2laEDqA4x6KEBhjYRCg9tBFCOuJFxg2OKegbWjbsRTk8PPhKPD7HcRxB7cqhgBRp9Dcqs+B8v4CQvFdqeot3Kov6hBUn0AJitrzY+sgUuiA8i0r7+B3AfqKcN6t8M6HtqQ+AOoELCikgQSbgabKaJW3kn5lBs47JSGDhhLKDUh1UMipwwinMYPTBuIBjEclSaGZUk9hDlTb5sUTYN2SFFQuPe4Gox1X0FZOufjgBiV1Vls7b+GvK3SU4wfmcGo9rPPQzgIabfj4TYQo15k3bTHX9RIw/kniir5YbtJF4jkFG+dsDK1IgE413zAthU/vR2HVMmFUPIHTvF6jWCpFaGw/A3qWgnbxpSm9MSmY5b3pM1gvNc/gQfwBsGwF0VCtxZgAAAAASUVORK5CYII= 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: 1266 Lines: 29 > > The root > > cause is loading two different framebuffers with one taking over from > > another - that should be an obscure corner case and once the fuzz testing > > can avoid. > > > > I had a semi-informed poke at this and came up with a possible patch (not very tested) > > If this fixes the real problems we've been seeing, I'll dance a jig. Youtube... At this point my bigger concern is that it'll just make something else warn instead. The underlying problem is that fbcon layer implements a single threaded notifier whose locking semantics are at best random. It's not calld with a specific set of locks each time. Possibly it sohuld be two notifiers (one for fb stuff, one for console layer stuff) but the entire layer is horrible. I live in home the KMS guys will rip out the useful bits and build a straight kms fb layer with refcounting and the like 8) Testing certainly needed and if it's still blowing up then hopefully further traces will help fix up the other cases we don't know about. 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/