Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] Re: using GFS on SuSe (was: SuSe and issues with their kernel's.)
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 20 Apr 2006 12:10:38 +0200
  • Message-id: <e27mmu$qc3$2@xxxxxxxxxxxxxxxx>
Per Jessen wrote:

> But cluster-1.02.00 still fails to compile with both the SUSE
> 2.6.16-20 and the vanilla 2.6.16.9 kernel. I haven't investigated
> that any further.

OK, I did look a little closer - here's a patch to cluster-1.02.00 that
will make it build with both 2.6.16.9 and SUSEs 2.6.16-20:

http://jessen.ch/files/cluster-1.02.00.patch

Contents:
diff -urN --exclude='*mk' --exclude='*symvers' --exclude='*d'
cluster-1.02.00/cman/lib/libcman.c cluster-1.02.pj/cman/lib/libcman.c
--- cluster-1.02.00/cman/lib/libcman.c 2006-03-13 12:45:11.000000000
+0100
+++ cluster-1.02.pj/cman/lib/libcman.c 2006-04-20 12:00:55.947309669
+0200
@@ -28,7 +28,7 @@
#include <netinet/in.h>
#include <string.h>
#include <errno.h>
-#include <cluster/cnxman-socket.h>
+#include <cnxman-socket.h>
#include "libcman.h"

struct cman_handle
Files cluster-1.02.00/gfs/gfs_fsck/gfs_fsck and
cluster-1.02.pj/gfs/gfs_fsck/gfs_fsck differ
diff -urN --exclude='*mk' --exclude='*symvers' --exclude='*d'
cluster-1.02.00/gnbd-kernel/src/gnbd.c
cluster-1.02.pj/gnbd-kernel/src/gnbd.c
--- cluster-1.02.00/gnbd-kernel/src/gnbd.c 2006-02-13
21:34:17.000000000 +0100
+++ cluster-1.02.pj/gnbd-kernel/src/gnbd.c 2006-04-20
11:55:50.560388620 +0200
@@ -1048,6 +1048,7 @@
MODULE_LICENSE("GPL");

#ifndef NDEBUG
-MODULE_PARM(debugflags, "i");
+//MODULE_PARM(debugflags, "i");
+module_param(debugflags, int, 0);
MODULE_PARM_DESC(debugflags, "flags for controlling debug output");
#endif


/Per Jessen, Z├╝rich


--
http://www.spamchek.com/ - managed anti-spam and anti-virus solution.
Let us analyse your spam- and virus-threat - up to 2 months for free.


< Previous Next >