Hi,
randconfig [1] causes this link errors:
ERROR: "netpoll_cleanup" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_setup" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_parse_options" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_poll" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_send_udp" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_set_trap" [drivers/net/kgdboe.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [all] Error 2[1] http://www.fi.muni.cz/~xslaby/sklad/1.config
regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
-
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix kgdb build problems:
Building modules, stage 2.
ERROR: "netpoll_cleanup" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_setup" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_parse_options" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_poll" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_send_udp" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_set_trap" [drivers/net/kgdboe.ko] undefined!
make[1]: *** [__modpost] Error 1Add 'select' for net-poll/console related config symbols, but
make KGDBOE 'depend on' NET. We don't want to 'select' CONFIG_NET,
but if it is already enabled, the 'select's will enable the rest
of the needed interfaces.Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
lib/Kconfig.kgdb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)--- linux-2.6.23-rc4-mm1.orig/lib/Kconfig.kgdb
+++ linux-2.6.23-rc4-mm1/lib/Kconfig.kgdb
@@ -174,9 +174,11 @@ endchoiceconfig KGDBOE
tristate "KGDB: On ethernet" if !KGDBOE_NOMODULE
- depends on m && KGDB
+ depends on m && KGDB && NET
+ select NETCONSOLE
select NETPOLL
select NETPOLL_TRAP
+ select NET_POLL_CONTROLLER
help
Uses the NETPOLL API to communicate with the host GDB via UDP.
In order for this to work, the ethernet interface specified must
-
NETCONSOLE shouldn't be necessary. Otherwise this looks ok to my
--
Mathematics is the supreme nostalgia of our time.
-
Correct. Patch corrected. Thanks.
---
From: Randy Dunlap <randy.dunlap@oracle.com>Fix kgdb build problems:
Building modules, stage 2.
ERROR: "netpoll_cleanup" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_setup" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_parse_options" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_poll" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_send_udp" [drivers/net/kgdboe.ko] undefined!
ERROR: "netpoll_set_trap" [drivers/net/kgdboe.ko] undefined!
make[1]: *** [__modpost] Error 1Add 'select' for net-poll related config symbols, but
make KGDBOE 'depend on' NET. We don't want to 'select' CONFIG_NET,
but if it is already enabled, the 'select's will enable the rest
of the needed interfaces.Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
lib/Kconfig.kgdb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)--- linux-2.6.23-rc4-mm1.orig/lib/Kconfig.kgdb
+++ linux-2.6.23-rc4-mm1/lib/Kconfig.kgdb
@@ -174,9 +174,10 @@ endchoiceconfig KGDBOE
tristate "KGDB: On ethernet" if !KGDBOE_NOMODULE
- depends on m && KGDB
+ depends on m && KGDB && NET
select NETPOLL
select NETPOLL_TRAP
+ select NET_POLL_CONTROLLER
help
Uses the NETPOLL API to communicate with the host GDB via UDP.
In order for this to work, the ethernet interface specified must
-
Randy,
This patch is fine, and I am committing it to the for_mm kgdb tree.
I am also adding the "depends on NET" to the KGDBOE_NOMODULE section,
which would otherwise to a select on KGDBOE. We have to cover the case
for KGDB as a module and not as a module.Thanks,
Jason.-
Looks good to me, but I'll leave the actual ack to the KGDB guys.
--
Mathematics is the supreme nostalgia of our time.
-
| Linus Torvalds | Linux 2.6.21-rc4 |
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Stephane Eranian | Re: [PATCH] fix up perfmon to build on -mm |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Linus Torvalds | Re: silent semantic changes with reiser4 |
| jim owens | Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond... |
| Alan Cox | Re: impact of 4k sector size on the IO & FS stack |
| Peter Zijlstra | Re: + mm-balance_dirty_pages-reduce-calls-to-global_page_state-to-reduce-c ache-re... |
