All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ante Karamatic <ivoks@ubuntu.com>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] Compatibility with 2.6.27
Date: Sat, 4 Oct 2008 20:45:42 +0200	[thread overview]
Message-ID: <20081004204542.75781d17@titanium> (raw)

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

Hi

In 2.6.27, CN_IDX 0x4 is taken by v86d. Since this ID is used by drbd
also, in some cases (when vesafb is loaded) drbd can't be loaded into
kernel and vice versa.

This patch changes CN_IDX_DRBD to 0x6, which is free atm. This, of
course, could change in future, and should be watched for. Other option
would be to contact upstream and request an ID for drbd.

Take care

-- 
Ante Karamatić, ivoks@ubuntu.com
Ubuntu Server Team

[-- Attachment #2: cn_idx_drbd.patch --]
[-- Type: text/x-patch, Size: 716 bytes --]

From c18caf1c9596251c12c3de5e03a71c5ea804228a Mon Sep 17 00:00:00 2001
From: Ante Karamatic <ivoks@ubuntu.com>
Date: Sat, 4 Oct 2008 20:22:46 +0200
Subject: [PATCH] Changed CN_IDX_DRBD to 0x6, since 0x4 is already occupied by v86d in
 Linux kernel.

---
 drbd/linux/drbd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drbd/linux/drbd.h b/drbd/linux/drbd.h
index d43df52..56fe673 100644
--- a/drbd/linux/drbd.h
+++ b/drbd/linux/drbd.h
@@ -343,7 +343,7 @@ enum UuidIndex {
 
 /* The following line should be moved over to linux/connector.h
  * when the time comes */
-#define CN_IDX_DRBD			0x4
+#define CN_IDX_DRBD			0x6
 #define CN_VAL_DRBD			0x1
 
 struct drbd_nl_cfg_req {
-- 
1.5.6.3


             reply	other threads:[~2008-10-04 18:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04 18:45 Ante Karamatic [this message]
2008-10-06  8:45 ` [Drbd-dev] Compatibility with 2.6.27 Lars Ellenberg

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=20081004204542.75781d17@titanium \
    --to=ivoks@ubuntu.com \
    --cc=drbd-dev@lists.linbit.com \
    /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.