Skip to contentSkip to conversation

3/3 kgdb over netpoll

PATCH Pavel Machek 4 participants 6 messages Feb 22, 2004 – Feb 25, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi!

This is kgdb-over-ethernet patch. Depends on netpoll, and is somehow experimental.
Pavel

drivers/net/Kconfig +6 -0
Index: linux-2.6.3-kgdb/drivers/net/Kconfig
===================================================================
@@ -187,6 +187,12 @@
 	  Note that the answer to this question won't directly affect the
 	  kernel: saying N will just cause the configurator to skip all
 	  the questions about Ethernet network cards. If unsure, say N.
+	
+config KGDB_ETH
+	bool "KGDB: On ethernet"
+	depends on KGDB
+	help
+	  Uses ethernet interface for kgdb.
 
 config MII
 	tristate "Generic Media Independent Interface device support"
drivers/net/kgdb_eth.c +170 -0

170 lines not on this page · raw message

drivers/net/Makefile +2 -0
Index: linux-2.6.3-kgdb/drivers/net/Makefile
===================================================================
@@ -32,6 +32,8 @@
 
 obj-$(CONFIG_OAKNET) += oaknet.o 8390.o
 
+obj-$(CONFIG_KGDB_ETH) += kgdb_eth.o
+
 obj-$(CONFIG_DGRS) += dgrs.o
 obj-$(CONFIG_RCPCI) += rcpci.o
 obj-$(CONFIG_VORTEX) += 3c59x.o
net/core/dev.c +0 -1
Index: linux-2.6.3-kgdb/net/core/dev.c
===================================================================
@@ -1547,7 +1547,6 @@
 }
 #endif
 
-
 /**
  *	netif_rx	-	post buffer to the network code
  *	@skb: buffer to post
net/core/skbuff.c +1 -0
Index: linux-2.6.3-kgdb/net/core/skbuff.c
===================================================================
@@ -55,6 +55,7 @@
 #include <linux/rtnetlink.h>
 #include <linux/init.h>
 #include <linux/highmem.h>
+#include <linux/debugger.h>
 
 #include <net/protocol.h>
 #include <net/dst.h>
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#1 lore raw
Quoted 4 lines · Pavel Machek

Hi!

This is kgdb-over-ethernet patch. Depends on netpoll, and is somehow experimental.

Please pick up the current kgdboe docs from -mm.

Signature · 1 line
Matt Mackall : http://www.selenic.com : Linux development and consulting
#2 lore raw

Hi!

Quoted 4 lines
Quoted 2 lines

This is kgdb-over-ethernet patch. Depends on netpoll, and is somehow experimental.

Please pick up the current kgdboe docs from -mm.

I'll try to get some docs there, unfortunately this uses completely different command line format, so it is not matter of simple copy.

Pavel

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#3 lore raw
Quoted 9 lines · Pavel Machek

Hi!

Quoted 4 lines
Quoted 2 lines

This is kgdb-over-ethernet patch. Depends on netpoll, and is somehow experimental.

Please pick up the current kgdboe docs from -mm.

I'll try to get some docs there, unfortunately this uses completely different command line format, so it is not matter of simple copy.

Uh, it's based on netpoll but doesn't use the netpoll parser?!

Signature · 1 line
Matt Mackall : http://www.selenic.com : Linux development and consulting
#4 lore raw
Quoted 6 lines · Pavel Machek
Quoted 5 lines

Hi!

Quoted 3 lines
Quoted 2 lines

This is kgdb-over-ethernet patch. Depends on netpoll, and is somehow experimental.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Please pick up the current kgdboe docs from -mm.

I'll try to get some docs there, unfortunately this uses completely different command line format, so it is not matter of simple copy.

Uh, it's based on netpoll but doesn't use the netpoll parser?!

Oops, sorry, you are right.
Pavel

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#5 lore raw
In reply to Matt Mackall
Quoted 6 lines · Matt Mackall
Quoted 5 lines · Pavel Machek

Hi!

Quoted 3 lines
Quoted 2 lines

This is kgdb-over-ethernet patch. Depends on netpoll, and is somehow experimental.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Please pick up the current kgdboe docs from -mm.

I'll try to get some docs there, unfortunately this uses completely different command line format, so it is not matter of simple copy.

Uh, it's based on netpoll but doesn't use the netpoll parser?!

kgdboe is the same. There are other bits, which are not. (kgdbwait and gdb both stop the kernel, kgdb8250=N,BAUD).

Signature · 2 lines
Tom Rini
http://gate.crashing.org/~trini/