Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2009 19:45:02 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Damian Gerow <dgerow@afflictions.org>
Cc:        freebsd-current@freebsd.org, Robert Noland <rnoland@freebsd.org>
Subject:   Re: No display after resume in r196086
Message-ID:  <3bbf2fe10908131045h407ddfd8o8c4204532cc82ad@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/8/13 Damian Gerow <dgerow@afflictions.org>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10908131045h407ddfd8o8c4204532cc82ad>