From: Anthony Korzan Subject: [Xen 4.5-rc] remus-drbd incompatible with Linux 3.6+ headers Date: Thu, 18 Dec 2014 16:48:26 -0500 Message-ID: <788CC804-7FC8-40C4-B17B-E02CDB7F2683@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1412405884240860388==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: rshriram@cs.ubc.ca, yanghy@cn.fujitsu.com List-Id: xen-devel@lists.xenproject.org --===============1412405884240860388== Content-Type: multipart/alternative; boundary="Apple-Mail=_65198439-598B-4081-AD97-C797BB088862" --Apple-Mail=_65198439-598B-4081-AD97-C797BB088862 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello! I have only managed to get Xen 4.5's Remus "working" on Linux Kernels = less than 3.5. The provided remus-drbd, as detailed in docs/README.remus = and available from https://github.com/rshriram/remus-drbd will not = compile with Linux Kernels 3.6 and above. One of these errors is that remus-drbd uses a two argument version of = the macro kunmap_atomic found in include/linux/highmem.h This was deprecated and is no longer included in any Kernels above 3.6. "error: macro "kunmap_atomic" passed 2 arguments, but takes just 1" Is there a patch available? If not, what set up do the Remus devs use = to test? I just need a "stable-ish" platform to modify remus on. Now I did get Remus "working" on Linux 3.4, Ubuntu 14.04, and the custom = remus-drbd. The issue I run into is that Remus only plugs and unplugs a = few hundred times until there is a "Connection timeout error." It could = be that I am using an "old" linux kernel version without much Xen = integration, but I'm stumped about this error: ### ... xc: progress: Reloading memory pages: 895015/65536 1365% xc: Saving memory: iter 1416 (last sent 568 skipped 0): 65536/65536 = 100%=20 ... xc: Saving memory: iter 1420 (last sent 567 skipped 0): 65536/65536 = 100%=20 xc: error: rdexact failed (select returned 0): Internal error xc: error: Error when reading batch size (110 =3D Connection timed out): = Internal error xc: error: error when buffering batch, finishing (110 =3D Connection = timed out): Internal error migration target: Remus Failover for domain 5 libxl: error: libxl_utils.c:430:libxl_read_exactly: file/stream = truncated reading ipc msg header from domain 5 save/restore helper = stdout pipe libxl: error: libxl_exec.c:129:libxl_report_child_exitstatus: domain 5 = save/restore helper [-1] died due to fatal signal Broken pipe libxl: warning: libxl_dom.c:2015:domain_suspend_done: Remus: Domain = suspend terminated with rc -3, teardown Remus devices... Remus: Backup failed? resuming domain at primary. xc: error: Dom 5 not suspended: (shutdown 0, reason 255): Internal error = =20 libxl: error: libxl.c:505:libxl__domain_resume: xc_domain_resume failed = for domain 5: Invalid argument ### Sincerely, Anthony= --Apple-Mail=_65198439-598B-4081-AD97-C797BB088862 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hello!

I have only managed to get = Xen 4.5's Remus "working" on Linux Kernels less than 3.5. The provided = remus-drbd, as detailed in docs/README.remus and available from https://github.com/rshrira= m/remus-drbd will not compile with Linux Kernels 3.6 and = above.

One of these errors is that remus-drbd = uses a two argument version of the macro kunmap_atomic found in = include/linux/highmem.h
This was deprecated and is no longer = included in any Kernels above 3.6.

"error: = macro "kunmap_atomic" passed 2 arguments, but takes just = 1"

Is there a patch available?  If not, = what set up do the Remus devs use to test?  I just need a = "stable-ish" platform to modify remus = on.


Now I did get Remus = "working" on Linux 3.4, Ubuntu 14.04, and the custom remus-drbd. =  The issue I run into is that Remus only plugs and unplugs a few = hundred times until there is a "Connection timeout error."  It = could be that I am using an "old" linux kernel version without much Xen = integration, but I'm stumped about this = error:

###
...
xc: = progress: Reloading memory pages: 895015/65536  1365%
xc: = Saving memory: iter 1416 (last sent 568 skipped 0): 65536/65536 =  100% 
...
xc: Saving memory: iter 1420 = (last sent 567 skipped 0): 65536/65536  100% 
xc: = error: rdexact failed (select returned 0): Internal error
xc: = error: Error when reading batch size (110 =3D Connection timed out): = Internal error
xc: error: error when buffering batch, = finishing (110 =3D Connection timed out): Internal = error
migration target: Remus Failover for domain = 5
libxl: error: libxl_utils.c:430:libxl_read_exactly: = file/stream truncated reading ipc msg header from domain 5 save/restore = helper stdout pipe
libxl: error: = libxl_exec.c:129:libxl_report_child_exitstatus: domain 5 save/restore = helper [-1] died due to fatal signal Broken pipe
libxl: = warning: libxl_dom.c:2015:domain_suspend_done: Remus: Domain suspend = terminated with rc -3, teardown Remus devices...
Remus: Backup = failed? resuming domain at primary.
xc: error: Dom 5 not = suspended: (shutdown 0, reason 255): Internal error =  
libxl: error: libxl.c:505:libxl__domain_resume: = xc_domain_resume failed for domain 5: Invalid = argument
###

Sincerely,
Anthony= --Apple-Mail=_65198439-598B-4081-AD97-C797BB088862-- --===============1412405884240860388== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1412405884240860388==--