* Re: [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-15
2005-05-31 8:18 ` [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-15 Serge Noiraud
@ 2005-05-31 8:55 ` Michal Schmidt
2005-05-31 12:09 ` Gene Heskett
2005-05-31 16:17 ` Gene Heskett
2 siblings, 0 replies; 8+ messages in thread
From: Michal Schmidt @ 2005-05-31 8:55 UTC (permalink / raw)
To: Serge Noiraud; +Cc: Eran Mann, Ingo Molnar, linux-kernel
Serge Noiraud wrote:
> Kernel: arch/i386/boot/bzImage is ready
> Building modules, stage 2.
> MODPOST
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/pci/hotplug/shpchp.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/pci/hotplug/pciehp.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/pci/hotplug/pci_hotplug.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/pci/hotplug/ibmphp.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/pci/hotplug/cpqphp.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/net/plip.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/char/watchdog/cpu5wdt.ko] undefined!
> *** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/block/sx8.ko] undefined!
Have you tried loading and using some of these modules with older -RT
kernels? If they have been using init_MUTEX_LOCKED on RT semaphores,
they should have BUG & Oops. Recent -RT kernels have added extra check
for this during linking. The fact that you are prevented from building
these modules is a Good Thing(TM).
Maybe these drivers should be using completions instead of semaphores.
A quick fix would be changing the 'struct semaphore' to 'struct
compat_semaphore'.
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-15
2005-05-31 8:18 ` [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-15 Serge Noiraud
2005-05-31 8:55 ` Michal Schmidt
@ 2005-05-31 12:09 ` Gene Heskett
2005-05-31 16:17 ` Gene Heskett
2 siblings, 0 replies; 8+ messages in thread
From: Gene Heskett @ 2005-05-31 12:09 UTC (permalink / raw)
To: linux-kernel
On Tuesday 31 May 2005 04:18, Serge Noiraud wrote:
>Le mar 31/05/2005 à 09:28, Eran Mann a écrit :
>> Ingo Molnar wrote:
>> > i have released the -V0.7.47-10 Real-Time Preemption patch,
>> > which can be downloaded from the usual place:
>> >
>> > http://redhat.com/~mingo/realtime-preempt/
>>
>> I tried to compile -V0.7.47-15 and it fails to compile.
>> net/sunrpc/sched.c: In function `rpc_run_timer':
>> net/sunrpc/sched.c:107: error: `RPC_TASK_HAS_TIMER' undeclared
>> (first use in this function)
>> ...
>>
>> It seems the following hunk of the patch is bogus as it removes a
>> required define:
>>
>> --- linux/include/linux/sunrpc/sched.h.orig
>> +++ linux/include/linux/sunrpc/sched.h
>> @@ -138,7 +138,6 @@ typedef void
>> (*rpc_action)(struct rpc_
>> #define RPC_TASK_RUNNING 0
>> #define RPC_TASK_QUEUED 1
>> #define RPC_TASK_WAKEUP 2
>> -#define RPC_TASK_HAS_TIMER 3
>>
>> #define RPC_IS_RUNNING(t) (test_bit(RPC_TASK_RUNNING,
>> &(t)->tk_runstate))
>> #define rpc_set_running(t) (set_bit(RPC_TASK_RUNNING,
>> &(t)->tk_runstate))
>
>We also have the following :
>
>Kernel: arch/i386/boot/bzImage is ready
> Building modules, stage 2.
> MODPOST
>*** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/shpchp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/pciehp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/pci_hotplug.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/ibmphp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/cpqphp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/net/plip.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/char/watchdog/cpu5wdt.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/block/sx8.ko] undefined! ...
>if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
> System.map -b /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root -r
> 2.6.12-rc5-RT-V0.7.47-15-DAV06; fi WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/scsi/qla2xxx/qla2xxx.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/shpchp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/pciehp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/pci_hotplug.ko
> needs unknown symbol
> there_is_no_init_MUTEX_LOCKED_for_RT_semaphores WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/ibmphp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/cpqphp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/net/plip.ko needs unknown
> symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/char/watchdog/cpu5wdt.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/block/sx8.ko needs unknown
> symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores make[3]: ***
> [_modinst_post] Error 1
>error: Bad exit status from /var/tmp/rpm-tmp.89329 (%install)
I had no such error, applying the
realtime-preempt-2.6.12-rc5-V0.7.47-15 patch to rc5-git5 (other than
the Makefile, easily fixed, and lib/Kconfig.debug, as git5 had
already played with the location of the frame pointers option. I
left it at the git5 level, seemed to work. Its built, but not
rebooted to, working on wedding photo's for the neighbors ATM.
I used the "linux-2.6.12-rc5-git5-RT-V0.7.47-15" throughout _my_
scripts and the Makefile as the version number. I note your error
messages seem to indicate a miss-match there.
So many thanks to the original poster, whose message prompted me to
take another swing at it.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-15
2005-05-31 8:18 ` [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-15 Serge Noiraud
2005-05-31 8:55 ` Michal Schmidt
2005-05-31 12:09 ` Gene Heskett
@ 2005-05-31 16:17 ` Gene Heskett
2 siblings, 0 replies; 8+ messages in thread
From: Gene Heskett @ 2005-05-31 16:17 UTC (permalink / raw)
To: linux-kernel; +Cc: Serge Noiraud, Eran Mann, Ingo Molnar
On Tuesday 31 May 2005 04:18, Serge Noiraud wrote:
>Le mar 31/05/2005 à 09:28, Eran Mann a écrit :
>> Ingo Molnar wrote:
>> > i have released the -V0.7.47-10 Real-Time Preemption patch,
>> > which can be downloaded from the usual place:
>> >
Ingo:
I had little problem in applying this patch to 2.6.12-rc5-git5 after
deleting those 10 or so bogus lines, the only real failure being the
Makefile, easily fixed.
I took the defaults for all the new stuff in a make oldconfig started
with the .config from rc5-git5.
I've rebooted to it & it generally feels good, but the missus came in
just now and said something about the video quality of my home tv
channel, and I found that I do not have video from tvtime now, only
audio, and a very noisey messages log when tvtime is running (git5 by
itself ran tvtime ok), plus a lot of output on the VT that started
boinc & einstein@home, something about a memory being exceeded. But
its at 1 second intervals and not copy/pastable across a ctl+alt+F1
to ctl+alt+F7 switch.
That I've stopped & restarted from an xwindow, hopeing the messages
will repeat shortly.
Ah, heres one:
2005-05-31 12:12:13 [Einstein@Home] result
H1_1262.4__1262.8_0.1_T00_Test02_3: memory usage 125263872.000000
exceeds limit 70000000.000000
Which, due to the decimal display format, makes zip sense to me. I've
stopped it.
.config, pieces of logs available for the asking.
>> > http://redhat.com/~mingo/realtime-preempt/
>>
>> I tried to compile -V0.7.47-15 and it fails to compile.
>> net/sunrpc/sched.c: In function `rpc_run_timer':
>> net/sunrpc/sched.c:107: error: `RPC_TASK_HAS_TIMER' undeclared
>> (first use in this function)
>> ...
>>
>> It seems the following hunk of the patch is bogus as it removes a
>> required define:
>>
>> --- linux/include/linux/sunrpc/sched.h.orig
>> +++ linux/include/linux/sunrpc/sched.h
>> @@ -138,7 +138,6 @@ typedef void
>> (*rpc_action)(struct rpc_
>> #define RPC_TASK_RUNNING 0
>> #define RPC_TASK_QUEUED 1
>> #define RPC_TASK_WAKEUP 2
>> -#define RPC_TASK_HAS_TIMER 3
>>
>> #define RPC_IS_RUNNING(t) (test_bit(RPC_TASK_RUNNING,
>> &(t)->tk_runstate))
>> #define rpc_set_running(t) (set_bit(RPC_TASK_RUNNING,
>> &(t)->tk_runstate))
>
>We also have the following :
>
>Kernel: arch/i386/boot/bzImage is ready
> Building modules, stage 2.
> MODPOST
>*** Warning: "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/shpchp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/pciehp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/pci_hotplug.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/ibmphp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/pci/hotplug/cpqphp.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/net/plip.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/char/watchdog/cpu5wdt.ko] undefined! *** Warning:
> "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores"
> [drivers/block/sx8.ko] undefined! ...
>if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
> System.map -b /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root -r
> 2.6.12-rc5-RT-V0.7.47-15-DAV06; fi WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/scsi/qla2xxx/qla2xxx.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/shpchp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/pciehp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/pci_hotplug.ko
> needs unknown symbol
> there_is_no_init_MUTEX_LOCKED_for_RT_semaphores WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/ibmphp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/pci/hotplug/cpqphp.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/net/plip.ko needs unknown
> symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/char/watchdog/cpu5wdt.ko needs
> unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
> WARNING:
> /var/tmp/kernel-2.6.12rc5RTV0.7.4715DAV06-root/lib/modules/2.6.12-r
>c5-RT-V0.7.47-15-DAV06/kernel/drivers/block/sx8.ko needs unknown
> symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores make[3]: ***
> [_modinst_post] Error 1
>error: Bad exit status from /var/tmp/rpm-tmp.89329 (%install)
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
^ permalink raw reply [flat|nested] 8+ messages in thread