Skip to contentSkip to conversation

2.6.14-rc4-rt6, depmod

DISCUSSION Applied Fernando Lopez-Lezcano 3 participants 4 messages Oct 16, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Fernando Lopez-Lezcano

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

kernel/time.c +1 -0
Index: linux-2.6.14-rc4-rt6/kernel/time.c
===================================================================
@@ -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 */
 
kernel/time/timeofday.c +1 -0
Index: linux-2.6.14-rc4-rt6/kernel/time/timeofday.c
===================================================================
@@ -213,6 +213,7 @@
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(do_monotonic_clock);
 
 /**
  * getnsmonotonic - Returns the monotonic time in a timespec
Applied
#2 lore raw
Quoted 5 lines · Steven Rostedt
Quoted 3 lines

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

#3 lore raw
In reply to Fernando Lopez-Lezcano
Quoted 4 lines · Fernando Lopez-Lezcano

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

arch/i386/kernel/i8253.c +1 -0
Index: linux-2.6.14-rc4-rt6/arch/i386/kernel/i8253.c
===================================================================
@@ -14,6 +14,7 @@
 #include "io_ports.h"
 
 DEFINE_RAW_SPINLOCK(i8253_lock);
+EXPORT_SYMBOL(i8253_lock);
 
 static void init_pit_timer(int mode)
 {