Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have ubuntu 12.04 with kernel 3.5. I have to install the RT_PREEMPT patch and I followed these steps:

sudo apt-get install kernel-package fakeroot build-essential libncurses5-dev
mkdir -p ~/tmp/linux-rt
cd ~/tmp/linux-rt
wget http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.tar.bz2
wget http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/older/patch-3.4-rt7.patch.bz2
tar xjvf linux-3.4.tar.bz2
cd linux-3.4
patch -p1 < <(bunzip2 -c ../patch-3.4-rt7.patch.bz2)
cp /boot/config-$(uname -r) .config && make oldconfig
make -j8
sudo make modules_install    
sudo make install

But while booting up the kernel it's showing the kernel panic:

kernel panic - not syncing. Attempting to kill init!

I tried installing kernel 3.8 as well. But its showing error while executing the make -j8 command.

share|improve this question

put on hold as off-topic by Luis Alvarado yesterday

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Why not use the Lowlatancy Kernel that is already available in Ubuntu repositories ? Read more wiki.ubuntu.com/RealTime –  Salih Emin Jun 28 '13 at 15:26
    
Was the information above helpful to you? Do you still have this problem? Thank you! –  Elder Geek Jun 28 at 17:27

Browse other questions tagged or ask your own question.