Date: Fri, 14 Sep 2007 14:11:30 +0200 From: "Attilio Rao" <attilio@freebsd.org> To: "Mario Sergio Fujikawa Ferreira" <lioux-list@uol.com.br> Cc: freebsd-current@freebsd.org Subject: Re: hang on startx with nvidia / also with emu10kx Message-ID: <3bbf2fe10709140511p5462d638t5bdb608c7afff1da@mail.gmail.com> In-Reply-To: <20070914024239.84366.qmail@exxodus.fedaykin.here> References: <20070914024239.84366.qmail@exxodus.fedaykin.here>
next in thread | previous in thread | raw e-mail | index | archive | help
2007/9/14, Mario Sergio Fujikawa Ferreira <lioux-list@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10709140511p5462d638t5bdb608c7afff1da>