From owner-freebsd-current@FreeBSD.ORG Fri Sep 14 12:11:32 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB93116A419 for ; Fri, 14 Sep 2007 12:11:32 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7E74C13C48D for ; Fri, 14 Sep 2007 12:11:32 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so551746ugf for ; Fri, 14 Sep 2007 05:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=cmEOe3vFvzGGg6HTpKvSyKNwC3PIwrWyj04mXQOjOUA=; b=MBhPrxuqAKixgj/BgYh/Iu1f++MTwe4IwHBQTdWmN6ZrRpp93DIsZxhM5gBC0iaIXhQ51Cq+x2vdVxnsrFvb/FdaVb+dbR9KcjD3Fm2mg9jtj5TToSFU/H6lk55qsEVTyS+2/2N8Z336iFJe6bIgxDIHx1t6p/BKSYiMcDTb6Jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rOsqkFFDPQn4wiqcHVeu2/3jcvi2Jaxyhp9i7pxbLHFYXkTSC2vQ1yoMqYbkhKvAP5ZfmZn8dG3JfhXd7F0b3jgzH52x5bcUuuU7fjsJorrx/hgwvm8NNShl368NmQGGRgggjpvX5Lb+WRMZp8sPL/LTWDal3bFZnKYXSizmvBg= Received: by 10.78.206.9 with SMTP id d9mr981320hug.1189771890206; Fri, 14 Sep 2007 05:11:30 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Fri, 14 Sep 2007 05:11:30 -0700 (PDT) Message-ID: <3bbf2fe10709140511p5462d638t5bdb608c7afff1da@mail.gmail.com> Date: Fri, 14 Sep 2007 14:11:30 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Mario Sergio Fujikawa Ferreira" In-Reply-To: <20070914024239.84366.qmail@exxodus.fedaykin.here> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070914024239.84366.qmail@exxodus.fedaykin.here> X-Google-Sender-Auth: aace3cf604a4044b Cc: freebsd-current@freebsd.org Subject: Re: hang on startx with nvidia / also with emu10kx X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2007 12:11:32 -0000 2007/9/14, Mario Sergio Fujikawa Ferreira : > 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