No display after resume in r196086

Attilio Rao attilio at freebsd.org
Thu Aug 13 17:45:05 UTC 2009


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


More information about the freebsd-current mailing list