I've been trying to install xenomai on debian and I'm confused about all the version numbers. I'm on Debian 6 (Linux debian 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux)
Steps I followed,
- installed the linux-patch-xenomai from apt via
aptitude install linux-patch-xenomai
- then according to
/usr/share/doc/linux-patch-xenomai/README.Debian
I need the kernel source. I got the kernel source viaaptitude install linux-source-2.6
- expand the source tree
tar -xvf linux-source-2.6.32.tar.bz2
in/usr/src/
then apply the patch as explained in the above
README.Debian
by/usr/src/kernel-patches/i386/apply/xenomai
which fails1 out of 4 hunks FAILED -- saving rejects to file arch/x86/kernel/process_64.c.rej 1 out of 6 hunks FAILED -- saving rejects to file arch/x86/mm/fault.c.rej 1 out of 15 hunks FAILED -- saving rejects to file kernel/sched.c.rej 1 out of 1 hunk FAILED -- saving rejects to file kernel/signal.c.rej
Why is this failing even though the above README.Debian
states This is intended for vanilla and Debian kernel sources
? I know debian 6 is eol but any help is appreciated.