Hi Ingo, I'm getting this after building 2.6.14-rc4-rt6:
WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/char/hangcheck-timer.ko needs unknown symbol do_monotonic_clock
WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/input/gameport/gameport.ko needs unknown symbol i8253_lock
WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/input/joystick/analog.ko needs unknown symbol i8253_lock
BTW, rt5 "settles" down after a while and I don't get timer problems
anymore (ie: fast key repeats and random screensaver activations). It
does right after a reboot (but I have not tried too many times).
-- Fernando
On Sat, 15 Oct 2005, Fernando Lopez-Lezcano wrote:
> Hi Ingo, I'm getting this after building 2.6.14-rc4-rt6:
>
> WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/char/hangcheck-timer.ko needs unknown symbol do_monotonic_clock
below is a patch to get this part to compile. (hopefully :-)
-- Steve
Index: linux-2.6.14-rc4-rt6/kernel/time.c
===================================================================
--- linux-2.6.14-rc4-rt6.orig/kernel/time.c 2005-10-15 11:29:19.000000000 -0400
+++ linux-2.6.14-rc4-rt6/kernel/time.c 2005-10-16 04:03:57.000000000 -0400
@@ -631,6 +631,7 @@
return ((u64)ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec;
}
+EXPORT_SYMBOL_GPL(do_monotonic_clock);
#endif /* !CONFIG_GENERIC_TIME */
Index: linux-2.6.14-rc4-rt6/kernel/time/timeofday.c
===================================================================
--- linux-2.6.14-rc4-rt6.orig/kernel/time/timeofday.c 2005-10-15 11:29:19.000000000 -0400
+++ linux-2.6.14-rc4-rt6/kernel/time/timeofday.c 2005-10-16 04:04:07.000000000 -0400
@@ -213,6 +213,7 @@
return ret;
}
+EXPORT_SYMBOL_GPL(do_monotonic_clock);
/**
* getnsmonotonic - Returns the monotonic time in a timespec
On Sat, 15 Oct 2005, Fernando Lopez-Lezcano wrote:
>
> WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/input/gameport/gameport.ko needs unknown symbol i8253_lock
> WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/input/joystick/analog.ko needs unknown symbol i8253_lock
>
And this patch should get this part to compile.
-- Steve
Index: linux-2.6.14-rc4-rt6/arch/i386/kernel/i8253.c
===================================================================
--- linux-2.6.14-rc4-rt6.orig/arch/i386/kernel/i8253.c 2005-10-16 04:12:44.000000000 -0400
+++ linux-2.6.14-rc4-rt6/arch/i386/kernel/i8253.c 2005-10-16 04:16:07.000000000 -0400
@@ -14,6 +14,7 @@
#include "io_ports.h"
DEFINE_RAW_SPINLOCK(i8253_lock);
+EXPORT_SYMBOL(i8253_lock);
static void init_pit_timer(int mode)
{
* Steven Rostedt <[email protected]> wrote:
> > WARNING:
> > /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/char/hangcheck-timer.ko
> > needs unknown symbol do_monotonic_clock
>
> below is a patch to get this part to compile. (hopefully :-)
thanks, applied this and the i8253.c one too.
Ingo