RE: Debuggers for RT (was: Real-Time Preemption: Magic Sysrq p doesn't work)

From: kus Kusche Klaus
Date: Tue May 10 2005 - 02:55:07 EST


> * kus Kusche Klaus <kus@xxxxxxxx> wrote:
>
> > I've been asked to analyze the various tools and possibilities
> > available to debug an RT kernel.
> >
> > * kgdb and kdb seem to be deeply incompatible with the RT
> patches (they
> > mess with the scheduler, interrupts etc.), applying their
> patches to an
> > RT tree fails quite impressively.
>
> kgdb is in the -mm tree, and there are periodic ports to the
> -mm tree.
> Someone used it too on PREEMPT_RT - with some success.
> There's no deep
> incompatibility with the -RT kernel - just line-for-line collisions.
>
> Ingo

Hmmm, kgdb is currently out of reach for me: The latest downloadable
kgdb tar archive is for 2.6.7, and I can't access the CVS repository
(our firewall only allows http:80 and ftp). Does anyone have a
downloadable current version?

I tried KDB with 2.6.12-rc2 and RT 7.45-01. It patches fine (except for
one trivial reject), compiles fine, boots fine, but freezes immediately
and completely when actually entering kdb. Power off is the only way
out...

--
Klaus Kusche (Software Development - Control Systems)
KEBA AG Gewerbepark Urfahr, A-4041 Linz, Austria (Europe)
Tel: +43 / 732 / 7090-3120 Fax: +43 / 732 / 7090-6301
E-Mail: kus@xxxxxxxx WWW: www.keba.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/