All of lore.kernel.org
 help / color / mirror / Atom feed
* [Drbd-dev] Compatibility with 2.6.27
@ 2008-10-04 18:45 Ante Karamatic
  2008-10-06  8:45 ` Lars Ellenberg
  0 siblings, 1 reply; 2+ messages in thread
From: Ante Karamatic @ 2008-10-04 18:45 UTC (permalink / raw)
  To: drbd-dev

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] Compatibility with 2.6.27
  2008-10-04 18:45 [Drbd-dev] Compatibility with 2.6.27 Ante Karamatic
@ 2008-10-06  8:45 ` Lars Ellenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ellenberg @ 2008-10-06  8:45 UTC (permalink / raw)
  To: drbd-dev

On Sat, Oct 04, 2008 at 08:45:42PM +0200, Ante Karamatic wrote:
> 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.

thanks.  we have known (and, unfortunately, ignored) that for a year
now, V86D was added last October.  guess we have to fix it now.

	Lars

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-06  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-04 18:45 [Drbd-dev] Compatibility with 2.6.27 Ante Karamatic
2008-10-06  8:45 ` Lars Ellenberg

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.