Package: linux-modules-extra-2.6
Version: 2.6.18-7+etch2
Severity: normal
Tags: patch

Hello,
Applying both patches below (also the rgmanager #400204) to the source  
redhat-cluster, I was able to get a proper redhat-cluster-source package and 
then able to recompile a linux-modules-extra-2.6 and get correct 
redhat-cluster-modules packages containing functional gnbd.ko that could be 
loaded.
Please, include these patches (also #400204) into the next round of (security) 
kernel updates for Etch, as the lack of rgmanager and gnbd.ko **seriously** 
impact usefulness of redhat-cluster Debian packages.
These modifications do correct some packaging problems that heavily impact Etch 
packages usefulness.
Without them, one willing to use a cluster *must* tweak source code and 
recompile packages or he/she will not get a running cluster with manageability 
and non phisically local disks.
Please, carefully consider including these 2 patches into the next kernel 
update, along with the #400204 (rgmanager) with redhat-cluster.

This bug report also solves 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401073

Regards.
Andre Felipe Machado
http://www.techforce.com.br



[EMAIL PROTECTED]:/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src$ diff -u 
/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/gnbd.c.originalWaldi 
/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/gnbd.c
--- /usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/gnbd.c.originalWaldi       
2007-05-16 11:52:23.000000000 -0300
+++ /usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/gnbd.c      2007-06-01 
12:16:58.000000000 -0300
@@ -34,7 +34,7 @@
 #include <asm/uaccess.h>
 #include <asm/types.h>

-#include <linux/gnbd.h>
+#include "gnbd.h"

 static int major_nr = 0;
 uint64_t insmod_time;
[EMAIL PROTECTED]:/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src$






[EMAIL PROTECTED]:/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src$ diff -u 
/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/Makefile.originalWaldi 
/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/Makefile
--- /usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/Makefile.originalWaldi     
2007-05-16 11:52:23.000000000 -0300
+++ /usr/src/redhat-cluster-1.03.00/gnbd-kernel/src/Makefile    2007-06-01 
12:01:06.000000000 -0300
@@ -17,8 +17,8 @@
 UNINSTALL=${top_srcdir}/scripts/uninstall.pl
 endif

-linux_orig = ${top_srcdir}/patches/linux-orig
-linux_patched = ${top_srcdir}/patches/linux-patched
+linux_orig = ${top_srcdir}/linux-orig
+linux_patched = ${top_srcdir}/linux-patched


 PATCH_TARGET = gnbd.patch
@@ -52,7 +52,7 @@
                .tmp_versions *o .*.o.cmd *~


-clean:
+


 patches: pre add post
@@ -66,7 +66,7 @@
        rsync -a --delete ${linux_orig}/ ${linux_patched}/

 post:
-       ( cd ${top_srcdir}/patches ; diff -urN linux-orig linux-patched > 
${PATCH_TARGET} ; exit 0 )
+       ( cd ${top_srcdir} ; diff -urN linux-orig linux-patched > 
${PATCH_TARGET} ; exit 0 )

 add:
        cp gnbd.c ${linux_patched}/drivers/block/
[EMAIL PROTECTED]:/usr/src/redhat-cluster-1.03.00/gnbd-kernel/src$



Reply via email to