evms patched kernel

The 2.6 series kernel only allows one owner of a block device (http://evms.sourceforge.net/install/kernel.html). I need to use the BD Claim patch.

This is the only change made to the default debian kernel. First get the config file of the debian binary (since we want it as identical as possible)
aptitude download linux-image-2.6.15-1-686
mkdir boot
dpkg-deb -x linux-image...deb boot/config-2.6.15-1-686

The config is now in the boot/config-2.6.15-1-686/boot dir

Now install the source (not sure of the dependencies)
aptitude install linux-source-2.6 kernel-patch-evms
cd /usr/src
tar jxf linux-source-2.6.15.tar.bz2
ln -s /usr/src/linux-source-2.6.15 linux
cd linux
cp <path>/boot/config-2.6.15-1-686 .config
export PATCHES=evms-bd-claim
PATCH_THE_KERNEL=AUTO make-kpkg --added-patches $PATCHES --initrd --append-to-version -evms kernel_image
cd ..
dpkg -i linux-image-2.6.15-evms_2.6.15-evms-10.00.Custom_i386.deb

Technorati Tags:Technorati Tags:

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <strike> <caption>
  • Lines and paragraphs break automatically.
  • Replace [debbug:xxxxx] with a link to the relevant debian bug.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • You may link to Gallery2 items on this site using a special syntax.
  • Insert Google Map macro.
  • Images can be added to this post.
  • You can link nodes to other nodes using the following syntax:
    [node:node_id,param_1="val1",param_2="val2"]

More information about formatting options