First go to kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.24-vivid
download three files
0001-base-packaging.patch
0002-debian-changelog.patch
0003-configs-based-on-Ubuntu-3.18.0-7.8.patch
Then open terminal
cd ~
sudo apt-get update
sudo apt-get install build-essential bin86 kernel-package libqt4-dev libncurses5
-dev pkg-config
mkdir rtkernel
cd rtkernel
wget
ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.24.tar.xz
wget
ftp://ftp.kernel.org/pub/linux/kernel/pr....18.24-rt22.patch.gz
tar -xpf linux-3.18.24.tar.xz
gunzip patch-3.18.24-rt22.patch.gz
cp patch-3.1824-rt22.patch linux-3.18.24
cd linux-3.18.24
cat patch-3.18.24-rt22.patch | patch -p1
at this point go to your folders icon and then go into the download folder. copy the three files you downloaded into the new folder linux-3.18.24 located in the rtkernel folder you created earlier.
continue in terminal
cat 0001-base-packaging.patch | patch -p1
cat 0002-debian-changelog.patch | patch -p1
cat 0003-configs-based-on-Ubuntu-3.18.0-7.8.patch | patch -p1
the next step is the configuration part. you will need to do some research on how to configure the rt kernel.
make xconfig
make
sudo make modules_install
sudo make install
sudo reboot
If you are doing this on a dell d830, the wifi will no longer work at this point. go back to terminal
sudo apt-get update
sudo apt-get install firmware-b43-installer
sudo apt-get remove bcmwl-kernel-source
sudo reboot
This should have fixed the wifi.
if you wish to not have to report the kernel change you can upgrade to 14.04.3 and download the kernel, which will get rid of the splash errors, but you will have to remember to go to the advanced options in grub and select your rt kernel at bootup.
sudo apt-get dist-upgrade
sudo apt-get install linux-generic-lts-vivid
there will be one splash error but it will be related to the change we made to fix the wifi. Go ahead and click on it then deselect the check box and hit ok.
If you run accross this because of a google search, make sure to sign up for a linuxcnc account and hit thanks under my name if it works for you. There will be more later one configuring the bios and changing other settings on the d830 to make it an effective machine controller.