Re: No display after resume in r196086

From: Attilio Rao <attilio_at_freebsd.org>
Date: Thu, 13 Aug 2009 19:45:02 +0200
2009/8/13 Damian Gerow <dgerow_at_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
Received on Thu Aug 13 2009 - 15:45:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC