From: Jason Wessel <jason.wessel@windriver.com>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Jun Koi <junkoi2004@gmail.com>,
linux-kernel@vger.kernel.org, Bernhard Kaindl <bk@suse.de>,
KGDB Mailing List <kgdb-bugreport@lists.sourceforge.net>
Subject: Re: Firewire debugging tools - firedump & fireproxy?
Date: Thu, 30 Jul 2009 03:31:55 -0500 [thread overview]
Message-ID: <4A715A7B.3070406@windriver.com> (raw)
In-Reply-To: <1248932218.27010.8.camel@maxim-laptop>
Maxim Levitsky wrote:
> On Sun, 2009-07-05 at 14:42 +0900, Jun Koi wrote:
>
>> Hi,
>>
>> I am doing some debugging via firewire. I found some references to
>> some tools named firedump & fireproxy, made by Bernhard Kaindl,
>> supposed put at following addresses:
>>
>> ftp://ftp.suse.de/private/bk/firewire/tools/firedump-0.1.tar.bz2
>> ftp://ftp.suse.de/private/bk/firewire/tools/fireproxy-0.33.tar.bz2
>>
>> However, these URLs are nolonger available. I am wondering if they
>> have been moved to somewhere else? Anybody know?
>>
>>
> Me having the same question. I have just bought everything for firewire
> debugging.
>
> Jason Wessel, what the fate of kgdbom ?
> (and kgdboe btw ....)
>
>
kgdbom ? I had heard of it in regard to fireproxy, but I have never
received any patches specific to a kgdbom implementation. Should you or
anyone else create patches for kgdbom, please cc:
kgdb-bugreport@lists.sourceforge.net.
As for kgdboe, I do not find it to be extremely reliable. It does exist
however in the kgdb development tree. You can pick a kernel from
2.6.21-> latest.
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=heads
In order to make kgdboe reliable it must get altered in one of several
ways before it would be robust enough for mainline kernel consideration.
1) The key problem is that preemption of irq code causes locks to be
held which prevent operation of the polled ethernet driver. This could
be be solved at the ethernet driver level by creating a polled interface
that has no requirement on any kind of locking. I have yet to see an
ethernet driver with such an implementation. Most if not all the polled
ethernet implementations make use of disable_irq() which is 1/2 the
battle, the other 1/2 being the spin locks or mutexs which can deadlock.
2) A possible (but not practical or desirable) solution would be to
change the kernel mechanism for synchronizing a driver or running a
thread to free a lock so as to safely use the ethernet driver for
another purpose. This solution is not worth the time because the
possibility for deadlock is far too high.
3) Develop a low level dedicated ethernet debug interface. If you have
more than one ethernet, or an ethernet device that has multiple hardware
queues, it is plausible to have a dedicated way to talk to a device
which has no restrictions on getting preempted, or used by another part
of the kernel. This lends itself to an ideal medium for kgdb
communications.
Jason.
next prev parent reply other threads:[~2009-07-30 8:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-05 5:42 Firewire debugging tools - firedump & fireproxy? Jun Koi
2009-07-30 5:36 ` Maxim Levitsky
2009-07-30 7:01 ` Jun Koi
2009-07-30 8:31 ` Jason Wessel [this message]
2009-07-30 20:57 ` Maxim Levitsky
2009-07-30 21:10 ` Jason Wessel
2009-07-31 4:55 ` Maxim Levitsky
2009-07-30 9:43 ` Andi Kleen
2009-07-30 15:37 ` Maxim Levitsky
2009-07-30 15:49 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A715A7B.3070406@windriver.com \
--to=jason.wessel@windriver.com \
--cc=bk@suse.de \
--cc=junkoi2004@gmail.com \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox