Skip to contentSkip to conversation

RT + comedi (dual boot ubuntu 9.10/debian 7.0)

DISCUSSION Braud Caroline 1 participant 1 message Oct 14, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thanks Martin K, I'll try that.

Quoted 61 lines · Martin K
Quoted 12 lines · Braud Caroline

Hello,

I'm back with my old distribution and I decided not to touch it anymore ... I will install RT with a more recent distrib in a separate computer.

Please can you advise me the most appropriate recent distribution to use the RT kernel and comedi drivers ? (if you have a step by step installation of the RT kernel, it would be perfect !)

Thanks,
Karo

Karo,
Recently I started with a fresh installation of Kubuntu version 13.04

I installed the source and header packages for the kernel version that came with 13.04. Also several packages were needed for building the kernel on Ubuntu I did not rebuild this kernel or use this kernel version (keep reading).
See:
http://www.howtoforge.com/kernel_compilation_ubuntu

1. I then looked up the latest released RT patch set on kernel.org:
https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/

2. I downloaded
https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/patches-3.10.14-rt9.tar.bz2

3. And the corresponding linux version (3.10.14)
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.14.tar.bz2

4. I unzipped both, putting the patches directory into the linux source dir

5. I installed quilt and applied the patch series (from the linux-x.x.x/ directory) using the command:
quilt push -a

6. I copied the default kernel configuration from the stock linux version to use as a template:
cp /boot/config-uname -r ./.config

7. Configure the kernel (enable RT PREEMPT)
make menuconfig

8. Build the kernel
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-karo kernel_image kernel_headers

9. Install
cd ../
[look for kernel*dpkg here]
dpkg -i ...

10. reboot and check to see if it worked.

---
I welcome critique on my method. I am not a kernel developer.

Quoted 10 lines

One question I have, and I'm sorry for being ignorant:
- If I had wanted to apply the RT patch for linux 3.8.13.7, how do I get kernel source version 3.8.13.7?
There is no release that I'm aware of for this version, and I was unable to find this in the kernel git repository. Was I looking in the wrong one?

-
Martin Klingensmith

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html