hang on startx with nvidia / also with emu10kx

Attilio Rao attilio at freebsd.org
Fri Sep 14 05:11:32 PDT 2007


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


More information about the freebsd-current mailing list