LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2015, 06:03 PM   #1
amd_baz
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Rep: Reputation: Disabled
Red face preempt_rt install over Ubuntu 14.04


Hi everyone (i hope this is the right section)

Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16

i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with

patch -p1 < patch-3.18.9.patch

but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found

rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux

then

make oldconfig

then

make menuconfig

i selected Full preemptive kernel then

make

then this error

cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2


So..... Any help?? can someone walk me through this

or any other real time patch, Thanx.. plzzzzzz
 
Old 03-30-2015, 03:46 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,575

Rep: Reputation: 106Reputation: 106
rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux

You just need to delete the old link and then create a new one.

Have you configured the kernel with make oldconfig?
 
1 members found this post helpful.
Old 03-30-2015, 04:21 PM   #3
amd_baz
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
first of all thank you verry much for your respond to my post

"You just need to delete the old link and then create a new one."

can you tell me how to do that my new linux kernel folder's name is linux-3.18.9

"Have you configured the kernel with make oldconfig?"

yes using this
cp /boot/config-$(uname -r) .config && yes "" | make oldconfig
 
Old 03-31-2015, 01:47 PM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,575

Rep: Reputation: 106Reputation: 106
It might be a good idea to learn a bit bash programming.

Info bash.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about using LinuxRT PREEMPT_RT GTrax Linux - Software 12 07-17-2014 05:28 PM
[SOLVED] Disadvantages of preempt_rt TheIndependentAquarius Linux - Kernel 10 04-09-2012 08:49 AM
Is PREEMPT_RT already implemented? archieval Linux - Kernel 1 05-05-2011 03:46 PM
preemption vs preempt_rt as of 2.6.39 sammyb Linux - Kernel 1 05-03-2011 03:16 PM
PREEMPT_RT and Xenomai ranji Linux - General 1 09-11-2010 02:20 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration