From: Ben Widawsky Subject: Re: Post-mortem crash analysis on SNB laptop? Date: Wed, 22 Jun 2011 10:50:41 -0700 Message-ID: <20110622175041.GC5157@bwgnt.jf.intel.com> References: <4E0227DC.3060706@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 37FC4A030C for ; Wed, 22 Jun 2011 10:50:44 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4E0227DC.3060706@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Dan McCabe Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Jun 22, 2011 at 10:35:24AM -0700, Dan McCabe wrote: > My SNB laptop completely locks up every now and then (maybe twice a > day). Is there any good way to look at post-mortem data to help my > diagnose this issue. > > I've seen discussions suggesting that I ssh into the machine, but I > can't even do that. > > TIA > > cheers, danm Netconsole is nice for capturing the last dying breaths (with the appropriate drm.debug flags, I usually use 0x6, but I guess 0xe is the safest). Assuming netconsole is built as a module, you can run something like this on the crashing machine: modprobe netconsole netconsole=6665@${IP_ADDRESS}/eth0,6666@${REMOTE_IP}/${REMOTE_MAC} And this on some remote machine: netcat -u -l -p 6666