Re: hang on startx with nvidia / also with emu10kx



2007/9/14, Mario Sergio Fujikawa Ferreira <lioux-list@xxxxxxxxxx>:
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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • FC5 - recently introduced system hangs, multiple systems
    ... and ran yum update on the system. ... A couple of weeks ago I needed to re-build my work laptop. ... I think the kernel loaded by yum update was 2.6.18-1.2200. ... Right from the start the laptop has exhibited hangs typically about ...
    (Fedora)
  • Re: 2.4.27 suddenly hangs
    ... > I‘m not sure that the below problem is kernel related, however, I think, ... > Occasionally, the system just hangs, without giving any error messages ... when mgetty was the last. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far
    ... On vanilla 2.6.20 suspend to disk works perfectly and suspend to ram works _almost_ perfectly. ... It happens after second CPU is brought back on-line. ... The fact is that I found thanks to RTC tricks, similar to PM_TRACE that system hangs in exactly three places ... As I see that is first time wakeup low page is addressing kernel memory by jumping to it. ...
    (Linux-Kernel)
  • Re: IO-APIC on nforce2 [PATCH] + [PATCH] for nmi_debug=1 + [PATCH] for idle=C1halt, 2.6.5
    ... Shuttle board after a BIOS update does not suffer from these hangs. ... Allen Martin already commented on this once: ... "Likely the root of the problem has to do with the way the Linux kernel is ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: quota and snapshots in 6.1-RELEASE
    ... Hangs on RELENG_6_1 is not so much interesting. ... into the /boot/device.hints to make ddb usable. ... add the following options to your kernel: ... Since i don't have a serial console available and I'm not that knowledgeable with debuggers, would providing a fast download link to a core dump be useful to anyone? ...
    (freebsd-stable)