Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

closed as off-topic by Luis Alvarado Jul 25 '14 at 0:54

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.

Why not use the Lowlatancy Kernel that is already available in Ubuntu repositories ? Read more – 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 '14 at 17:27
I tried with Linux 3.6 and applied this patch also and it worked:… – user168758 Sep 10 '14 at 9:09
@SalihEmin I was asked to use the RT-patch. I didn't have choice over it. – user168758 Sep 10 '14 at 9:14