From owner-freebsd-current@FreeBSD.ORG Thu Aug 13 16:38:50 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11ADB1065674; Thu, 13 Aug 2009 16:38:50 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0388FC4A; Thu, 13 Aug 2009 16:38:49 +0000 (UTC) Received: by fxm24 with SMTP id 24so910211fxm.36 for ; Thu, 13 Aug 2009 09:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=etY+Nx0Nl6I38OFVk7VTujTvaskk0gg0L0VdAa+v9Ns=; b=SPlZABAUTO3nhzE2QXhuHYzAcRi4iclBZB7dfhCIP8Fyf6vuZRUKaotTDwYcS1yG+E 3Wvr15o2/qUc3L89QjKQUi2hmQ2WhlA4KHj1tlCGRD0BLTrlp93sKCWCvxp6M0fXPmB9 fngzwxQNwidSvOXi8X9ifNosGx3Hi8/tiTi3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=L0qWErxbKhYXmCehtA0np+gBQxwXLl0uGt2qiqVl1xNEE8k4LCNsh1cocZzCG7D0eL u1VviDAw6ArqaaHC2CuoFTtywhy8WKeb+F8E0l8x9ymgYzcxj7Gf9MeVvuRo8HX01tuk KRUaUfYEeQ118pKSkyMjnBdseSnUXtuOSLtiE= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.125.207 with SMTP id z15mr418324far.7.1250181528300; Thu, 13 Aug 2009 09:38:48 -0700 (PDT) In-Reply-To: <20090813162705.GA1468@plebeian.afflictions.org> References: <20090813002104.GA1481@plebeian.afflictions.org> <1250161757.1823.18.camel@balrog.2hip.net> <3bbf2fe10908130652t77767929q44ba12f39cb3f997@mail.gmail.com> <20090813162705.GA1468@plebeian.afflictions.org> Date: Thu, 13 Aug 2009 18:38:48 +0200 X-Google-Sender-Auth: c177a47b0f06ab5a Message-ID: <3bbf2fe10908130938v525a18c3p9c4e10db662ab3c0@mail.gmail.com> From: Attilio Rao To: Damian Gerow Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Robert Noland Subject: Re: No display after resume in r196086 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 16:38:50 -0000 2009/8/13 Damian Gerow : > Attilio Rao wrote: > : why don't you directly try the revision immediately before newbus > : locking (so immediately prior to r196037) and try to verify it still > : works. > > Culprit confirmed: I can resume with r196036, but not r196037. > > : I'm aware of at least one possible deadlock source but it should not > : happen while suspend/resume. However, I'm preparing an errata patch > : for newbus locking. > : If you verify newbus locking is the real culprit and that my further > : patch doesn't fix your problem we can try to hammer it down further. > > Let me know what else you might need. So, what you can do is to compile a kernel with the following options: KDB, DDB, INVARIANT_SUPPORT, INVARIANTS, WITNESS when you get the deadlock, you should break in DDB. Through a textdump(4) (or serial console or whatever you prefer) you should get the following informations: bt, ps, show allpcpu, alltrace, show alllocks and report here. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein