From owner-freebsd-current@FreeBSD.ORG Thu Aug 13 17:45:04 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 A7E591065673; Thu, 13 Aug 2009 17:45:04 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id EE92E8FC4F; Thu, 13 Aug 2009 17:45:03 +0000 (UTC) Received: by bwz19 with SMTP id 19so961729bwz.37 for ; Thu, 13 Aug 2009 10:45:03 -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=TBSp5dvF8WPBKtIgjyJmRUu41ggj8Nf4vRujBzaWJmk=; b=K3tZwAf1SUFR7HQkZnD+MitPMprTl7N12F9aGM+IzmdQkgnpUZOOADVuqWAVDD8//A f4Q+5ACpfMNUHZv4kYCBnzvD54TnvEiB7BW8gbJ/IF6DPKwC6MtCUIZAlbIQxkXoBmD/ RlsTFNcHLKH9wUJ7/HWGrxvi2CBkBfasK3SMQ= 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=dAhsd5TszjZrFFg7jqkROqoecmpMhamAUlOv/l5w10wjx73kqpitI6bfZVr8quvodw QUopCmQMM2KVwOy6S3S7f4BZoE+34Uxq3W83Glz84/0pTms3TwpYWn9RWwBkVuBftgd1 yqueSy27rXRiUqPZr3oM5bkSYKUYYcC4ksyJw= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.113.9 with SMTP id y9mr419401fap.61.1250185502931; Thu, 13 Aug 2009 10:45:02 -0700 (PDT) In-Reply-To: <20090813173627.GA1498@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> <3bbf2fe10908130938v525a18c3p9c4e10db662ab3c0@mail.gmail.com> <20090813173627.GA1498@plebeian.afflictions.org> Date: Thu, 13 Aug 2009 19:45:02 +0200 X-Google-Sender-Auth: f7d920b885d3594a Message-ID: <3bbf2fe10908131045h407ddfd8o8c4204532cc82ad@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 17:45:05 -0000 2009/8/13 Damian Gerow : > Attilio Rao wrote: > : So, what you can do is to compile a kernel with the following options: > : KDB, DDB, INVARIANT_SUPPORT, INVARIANTS, WITNESS > > As I'm running GENERIC, these options are already present. > > : 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. > > I've set ddb script kdb.enter.default="textdump set; capture on; show > allpcpu; bt; ps; alltrace; showalllocks; showalllock; call doadump; reset", > as I don't have a serial console on this machine (and my USB<->serial > adapter doesn't work on FreeBSD). > > The script does not run when resuming in graphics mode, unfortunately. > Try as I might, I just don't get anything. I'm not sure what exactly > the system is doing when it resumes, as attempts to create files on > the local fs seem to fail. You have to manually break in DDB for that. BTW, differently from GENERIC, remove WITNESS_SKIPSPIN, just in case. Attilio -- Peace can only be achieved by understanding - A. Einstein