[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Patching the kernel



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.