Re: KGDB 2.0.3 with fixes and development in ethernet interface

From: Pavel Machek
Date: Fri Jan 16 2004 - 17:21:37 EST


Hi!

> KGDB 2.0.3 is available at
> http://kgdb.sourceforge.net/kgdb-2/linux-2.6.1-kgdb-2.0.3.tar.bz2
>
> Ethernet interface still doesn't work. It responds to gdb for a couple of
> packets and then panics. gdb log for ethernet interface is pasted below.
>
> It panics and enter kgdb_handle_exception recursively and silently. To see the
> panic on screen make kgdb_handle_exception return immediately if
> kgdb_connected is non-zero.
>
> Panic trace is pasted below. It panics in skb_release_data. Looks like skb
> handling will have to changed to be have kgdb specific buffers.

This seems to be needed (if I unselect CONFIG_KGDB_THREAD, I get
compile error on x86-64).
Pavel

--- linux/kernel/kgdbstub.c 2004-01-16 16:56:51.000000000 +0100
+++ linux-cvs/kernel/kgdbstub.c 2004-01-16 20:11:45.000000000 +0100
@@ -1178,7 +1178,9 @@
#endif

EXPORT_SYMBOL(breakpoint);
+#ifdef CONFIG_KGDB_THREAD
EXPORT_SYMBOL(kern_schedule);
+#endif

static int __init opt_gdb(char *str)
{


--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/