* Post-mortem crash analysis on SNB laptop?
@ 2011-06-22 17:35 Dan McCabe
2011-06-22 17:49 ` Chris Wilson
2011-06-22 17:50 ` Ben Widawsky
0 siblings, 2 replies; 5+ messages in thread
From: Dan McCabe @ 2011-06-22 17:35 UTC (permalink / raw)
To: intel-gfx
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Post-mortem crash analysis on SNB laptop?
2011-06-22 17:35 Post-mortem crash analysis on SNB laptop? Dan McCabe
@ 2011-06-22 17:49 ` Chris Wilson
2011-06-22 17:50 ` Ben Widawsky
1 sibling, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2011-06-22 17:49 UTC (permalink / raw)
To: Dan McCabe, intel-gfx
On Wed, 22 Jun 2011 10:35:24 -0700, Dan McCabe <zen3d.linux@gmail.com> 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.
The best that I found is to run netconsole and listen for any random oops.
Having been bitten by hard hangs with early SNB chips, my systems all have
i915.reset=0 which helped at that time, and may still help if the hard
hang is due to us doing something stupid whilst trying to reset the chip.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Post-mortem crash analysis on SNB laptop?
2011-06-22 17:35 Post-mortem crash analysis on SNB laptop? Dan McCabe
2011-06-22 17:49 ` Chris Wilson
@ 2011-06-22 17:50 ` Ben Widawsky
2011-06-22 18:08 ` Chris Wilson
1 sibling, 1 reply; 5+ messages in thread
From: Ben Widawsky @ 2011-06-22 17:50 UTC (permalink / raw)
To: Dan McCabe; +Cc: intel-gfx
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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Post-mortem crash analysis on SNB laptop?
2011-06-22 17:50 ` Ben Widawsky
@ 2011-06-22 18:08 ` Chris Wilson
2011-06-22 18:14 ` Ben Widawsky
0 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2011-06-22 18:08 UTC (permalink / raw)
To: Ben Widawsky, Dan McCabe; +Cc: intel-gfx
On Wed, 22 Jun 2011 10:50:41 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> And this on some remote machine:
> netcat -u -l -p 6666
One issue that I found with netcat (at least in the incarnation above) is
that it fails to listen for more than one connection (even on UDP). Am I
doing it wrong? I ended up using a very simple UDP reader instead.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Post-mortem crash analysis on SNB laptop?
2011-06-22 18:08 ` Chris Wilson
@ 2011-06-22 18:14 ` Ben Widawsky
0 siblings, 0 replies; 5+ messages in thread
From: Ben Widawsky @ 2011-06-22 18:14 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
On Wed, Jun 22, 2011 at 07:08:41PM +0100, Chris Wilson wrote:
> On Wed, 22 Jun 2011 10:50:41 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> > And this on some remote machine:
> > netcat -u -l -p 6666
>
> One issue that I found with netcat (at least in the incarnation above) is
> that it fails to listen for more than one connection (even on UDP). Am I
> doing it wrong? I ended up using a very simple UDP reader instead.
> -Chris
I normally use different ports for different machines to avoid this. I
actually have a script which I run that does the correct stuff based on
the hostname.
>
> --
> Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-22 18:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-22 17:35 Post-mortem crash analysis on SNB laptop? Dan McCabe
2011-06-22 17:49 ` Chris Wilson
2011-06-22 17:50 ` Ben Widawsky
2011-06-22 18:08 ` Chris Wilson
2011-06-22 18:14 ` Ben Widawsky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.