public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* System tap use case
@ 2006-03-21 16:11 Phil Muldoon
  2006-03-30  7:35 ` Richard J Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Muldoon @ 2006-03-21 16:11 UTC (permalink / raw)
  To: systemtap

Here's a use case that I had several years back when I worked in GES.

"We had a board we ported the Linux kernel and supporting libraries to.
The processor did not have an MMU. During the debugging phase we found
that if you subjected the  board to a ping flood, it would lock up and
require a complete power off/power on. The board was embedded in nature,
and was accessed via ssh.

As the crash only happened during a ping flood - not during a normal
ping - it was very difficult to debug the network stack in the kernel,
and in the actual network driver. 

The crashes happened at random intervals during the ping flood, and it
would never happen during a "normal" ping rate. ICMP with a higher
payload *seemed* to cause the crash more quickly, but that was purely
observational in nature."

How could system-tap help in this scenario?

Regards

Phil
-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: System tap use case
  2006-03-21 16:11 System tap use case Phil Muldoon
@ 2006-03-30  7:35 ` Richard J Moore
  0 siblings, 0 replies; 2+ messages in thread
From: Richard J Moore @ 2006-03-30  7:35 UTC (permalink / raw)
  To: Phil Muldoon; +Cc: systemtap





I don't think anyone answered this did they?

You have the extreme of extreme problems. Unless you can get data out of
your system you can't debug it deductively with any tools that are
contained within the system.

However if you can extract data, for example by triggering a crashdump from
an NMI interrupt then you're in with a chance. A few vital clues in the
dmsg buffer, whether from SystemTap instrumentation or from any other
source might just give you the temporal information you need to go with a
dump. If it doesn't then systemtap will at least allow you to easily add
additional or alternative instrumentation. You also have the choice of
dumping trace data into a relayfs channel so you can be somewhat
independent of the dmesg buffer size.


systemtap-owner@sourceware.org wrote on 21/03/2006 17:10:48:

> Here's a use case that I had several years back when I worked in GES.
>
> "We had a board we ported the Linux kernel and supporting libraries to.
> The processor did not have an MMU. During the debugging phase we found
> that if you subjected the  board to a ping flood, it would lock up and
> require a complete power off/power on. The board was embedded in nature,
> and was accessed via ssh.
>
> As the crash only happened during a ping flood - not during a normal
> ping - it was very difficult to debug the network stack in the kernel,
> and in the actual network driver.
>
> The crashes happened at random intervals during the ping flood, and it
> would never happen during a "normal" ping rate. ICMP with a higher
> payload *seemed* to cause the crash more quickly, but that was purely
> observational in nature."
>
> How could system-tap help in this scenario?
>
> Regards
>
> Phil
> --
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-30  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-21 16:11 System tap use case Phil Muldoon
2006-03-30  7:35 ` Richard J Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).