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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.