Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ingo molnar preemption patch vanilla-sources [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Hack_Benjamin
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 158

PostPosted: Wed Jul 06, 2005 5:56 pm    Post subject: ingo molnar preemption patch vanilla-sources [solved] Reply with quote

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
View user's profile Send private message
matthies
n00b
n00b


Joined: 12 Dec 2004
Posts: 16

PostPosted: Thu Jul 07, 2005 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hack_Benjamin
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 158

PostPosted: Thu Jul 07, 2005 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
matthies
n00b
n00b


Joined: 12 Dec 2004
Posts: 16

PostPosted: Thu Jul 07, 2005 7:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hack_Benjamin
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 158

PostPosted: Thu Jul 07, 2005 8:35 pm    Post subject: Reply with quote

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 :P

cheers anyway
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum