From: Tom Z <tomz30@yahoo.com>
To: xenomai@xenomai.org
Subject: [Xenomai] problems while patching Debian kernel
Date: Tue, 12 Mar 2013 11:47:31 -0500 [thread overview]
Message-ID: <513F5C23.2090603@yahoo.com> (raw)
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
next reply other threads:[~2013-03-12 16:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 16:47 Tom Z [this message]
2013-03-12 18:19 ` [Xenomai] problems while patching Debian kernel Roland Stigge
2013-03-12 19:36 ` Gilles Chanteperdrix
2013-03-12 19:40 ` Tom Z
2013-03-12 19:53 ` Roland Stigge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513F5C23.2090603@yahoo.com \
--to=tomz30@yahoo.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.