Take the 2-minute tour ×

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.

Please help me to solve this.

share|improve this question
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
add comment


Your Answer



Browse other questions tagged or ask your own question.