Re: hang on startx with nvidia / also with emu10kx

From: Attilio Rao <attilio_at_freebsd.org>
Date: Fri, 14 Sep 2007 14:11:30 +0200
2007/9/14, Mario Sergio Fujikawa Ferreira <lioux-list_at_uol.com.br>:
> Hi,
>
> FreeBSD exxodus.fedaykin.here 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Thu Sep 13 22:46:14 BRT 2007     lioux_at_exxodus:/usr/src/sys/i386/compile/LIOUX  i386
>
>         -CURRENT as of today September 13th 2007 with latest ports.
> xorg works fine if I launch it with tightvnc. However, the system
> hangs if I try to startx using the nvidia driver. The same happens
> if I try to kldload emu10kx.
>
>         How do I force the system to issue a kernel dump when it
> hangs? I want to be able to provide a proper backtrace of the system
> if possible. :)

Please recompile the kernel with all the debugging options on (with
KDB, DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS, and without
WITNESS_SKIPSPIN, KDB_UNATTENDED).
Then, when your kernel hangs, just press ctrl+alt+esc and you should
break in ddb.
At that point it would be useful to have informations about following commands:
- ps
- show alllocks
- the backtrace of any thread (you can get it only switching to its
stack frame and doing a 'bt')

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
Received on Fri Sep 14 2007 - 10:11:32 UTC

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