All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] problems while patching Debian kernel
@ 2013-03-12 16:47 Tom Z
  2013-03-12 18:19 ` Roland Stigge
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Z @ 2013-03-12 16:47 UTC (permalink / raw)
  To: xenomai

Hi,

I encountered the follow errors while trying to patch Debian 6.0.7 
(linux-2.6.32) with the Xenomai patch installed through Software Center 
in Debian:

dpkg: warning: obsolete option '--print-installation-architecture', 
please use '--print-architecture' instead.
START applying xenomai patch (Xenomai realtime kernel patches)
Testing whether "Xenomai realtime kernel patches" patch for 2.6.32 
applies (dry run):
1 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
"Xenomai realtime kernel patches" patch for 2.6.32 does not apply cleanly

Below are the the steps I took:
1. Debian 6.0.7 is installed in a virtual machine (as I want to try it 
first before installing it on a native hardware)
2. I installed the Xenomai patches and linux kernel source 2.6.32 
through Software Center
3. I ran "/usr/src/kernel-patches/i386/apply/xenomai" as told by 
"/usr/share/doc/linux-patch-xenomai/README.Debian"

I found the following details, but not sure if they are related,
The Linux kernel source is under "/usr/src/linux-source-2.6.32", and the 
file "version.Debian" shows "2.6.32 48squeeze1", but 
"/usr/src/kernel-patches/i386/apply/xenomai" has the following lines:
KVERSIONS=(2.6.31.8 2.6.32 2.6.34 2.6.32.15)
PATCHFILES=("/usr/src/kernel-patches/diffs/xenomai/adeos-ipipe-2.6.31.8-x86-2.4-09.patch.gz" 
"/usr/src/kernel-patches/diffs/xenomai/adeos-ipipe-2.6.32-x86-2.7-01.patch.gz" 
"/usr/src/kernel-patches/diffs/xenomai/adeos-ipipe-2.6.34-x86-2.7-02.patch.gz" 
"/usr/src/kernel-patches/diffs/xenomai/adeos-ipipe-2.6.32.15-x86-2.7-01.patch.gz") 


Does that mean "2.6.32 48squeeze1" is not supported by this patch? If 
this is not the cause, then what caused the above problems? How can I 
solve them?


With many thanks,

Tom



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-12 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 16:47 [Xenomai] problems while patching Debian kernel Tom Z
2013-03-12 18:19 ` Roland Stigge
2013-03-12 19:36   ` Gilles Chanteperdrix
2013-03-12 19:40   ` Tom Z
2013-03-12 19:53     ` Roland Stigge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.