This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Patching the kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Patching the kernel
From: Jaume Sabater <jsabater@xxxxxxxxxxxxx>
Date: Fri, 29 Sep 2006 17:23:57 +0200
Delivery-date: Fri, 29 Sep 2006 08:24:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20060915)
Hello everyone.

I am working on Debian Sid AMD64. I downloaded and uncompressed the
unstable version of Xen, took the patches inside
xen-unstable/patches/linux- and tried to apply all of them to a
pristine Linux kernel downloaded from kernel.org. Two problems I found:

1. The patch "x86-elfnote-as-preprocessor-macro.patch" produced this error:

The text leading up to this was:
|diff -pruN ../orig-linux-
|--- ../orig-linux-    2006-09-19
14:06:10.000000000 +0100
|+++ ./include/linux/elfnote.h  2006-09-19 14:06:20.000000000 +0100
File to patch:

So, I skipped the patch.

2. Then I tried to "make menuconfig" in the kernel, but I could not find the expected option "Enable Xen compatible kernel" under "Processor type and features". The "Xen" group of options was not present either.

What I am trying to do is to test the upcoming new stable release on a
pristine kernel on my Debian, with my custom configuration. I want to compile the kernel using the Debian's kernel-package tools thus producing a .deb package.

Could someone please tell me what I am missing or point me to some docs
or scripts where I could find out the right way to patch the kernel?

Thanks in advance.

Jaume Sabater

"Ubi sapientas ibi libertas"

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>