View previous topic :: View next topic |
Author |
Message |
Hack_Benjamin Apprentice
Joined: 12 Nov 2004 Posts: 158
|
Posted: Wed Jul 06, 2005 5:56 pm Post subject: ingo molnar preemption patch vanilla-sources [solved] |
|
|
i patched the kenerl vanilla-sources with the said patch and edited menuconfig so it was set to full preemption.
during the patch i skipped one file which was seemingly not on the system xp(somethingorother)
[apologies, i forgot to note the name]
i then executed make && make modules_install and get this error:
arch/x86_64/kernel/time.c:1000: warning: function declaration isn't a prototype
arch/x86_64/kernel/time.c:1000: error: conflicting types for 'touch_softlockup_watchdog'
include/linux/sched.h:309: error: previous declaration of 'touch_softlockup_watchdog' was here
arch/x86_64/kernel/time.c:1000: error: conflicting types for 'touch_softlockup_watchdog'
include/linux/sched.h:309: error: previous declaration of 'touch_softlockup_watchdog' was here
arch/x86_64/kernel/time.c:1000: warning: data definition has no type or storage class
arch/x86_64/kernel/time.c:1001: error: parse error before "return"
make[1]: *** [arch/x86_64/kernel/time.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
where's it gone wrong?
Last edited by Hack_Benjamin on Thu Jul 07, 2005 8:36 pm; edited 1 time in total |
|
Back to top |
|
|
matthies n00b
Joined: 12 Dec 2004 Posts: 16
|
Posted: Thu Jul 07, 2005 6:25 pm Post subject: |
|
|
just to make sure: are you talking about the realtime-preempt patches, as found here:
http://people.redhat.com/mingo/realtime-preempt/ ?
if not, disregard the rest i say below...
Quote: |
during the patch i skipped one file which was seemingly not on the system xp(somethingorother)
[apologies, i forgot to note the name]
|
this is most probably the problem...
make sure that the kernel sources you use to apply the patch match *exactly* with the version mentioned in the patch name, e.g. realtime-preempt-2.6.12-final-V0.7.51-12 applies to 2.6.12 as found on kernel.org
http://www.kernel.org/pub/linux/kernel/v2.6/
if the version does not match exactly, the patch probably won't apply cleanly. |
|
Back to top |
|
|
Hack_Benjamin Apprentice
Joined: 12 Nov 2004 Posts: 158
|
Posted: Thu Jul 07, 2005 6:28 pm Post subject: |
|
|
Its not the same location but ingo molnar was making it for redhat so its more than likely the same.
[edit] it IS the same location after all! [/edit]
i suspect irs the r5 after the kernel name then... |
|
Back to top |
|
|
matthies n00b
Joined: 12 Dec 2004 Posts: 16
|
Posted: Thu Jul 07, 2005 7:13 pm Post subject: |
|
|
Hack_Benjamin wrote: | Its not the same location but ingo molnar was making it for redhat so its more than likely the same.
[edit] it IS the same location after all! [/edit]
i suspect irs the r5 after the kernel name then... |
i'm still not understanding you 100% - you mean that you are indeed talking about the realtime-preempt patches ?
if yes, then please try the correct kernel from kernel.org
p.s.: this of course is experimental software, and to be honest, will not really make a big (or even noticeable) difference on a desktop machine |
|
Back to top |
|
|
Hack_Benjamin Apprentice
Joined: 12 Nov 2004 Posts: 158
|
Posted: Thu Jul 07, 2005 8:35 pm Post subject: |
|
|
yeah, i was just trying it out to see how much it would make a difference on my desktop before i went and put it on others, but as it doesnt work for r5 of 2.6.12 i won't bother
cheers anyway |
|
Back to top |
|
|
|