Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[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 1.5.0.7 (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-2.6.16.29 and tried to apply all of them to a
pristine Linux kernel 2.6.16.29 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-2.6.16.29/include/linux/elfnote.h
./include/linux/elfnote.h
|--- ../orig-linux-2.6.16.29/include/linux/elfnote.h    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
http://linuxsilo.net/

"Ubi sapientas ibi libertas"


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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