--- lvm2-2.02.95/debian/changelog	2012-05-27 18:05:43.000000000 +0100
+++ lvm2-2.02.95/debian/changelog	2013-02-23 21:58:09.000000000 +0000
@@ -1,3 +1,9 @@
+lvm2 (2.02.95-4+rpi1) wheezy-staging; urgency=low
+
+  * Add patch to hopefully fix compatibility with new 3.6 kernel (LP: 1096224)
+
+ -- Peter Michael Green <plugwash@raspbian.org>  Sat, 23 Feb 2013 21:57:28 +0000
+
 lvm2 (2.02.95-4) unstable; urgency=low
 
   * Force building with -j1.
--- lvm2-2.02.95/debian/patches/series	2012-05-27 13:27:52.000000000 +0100
+++ lvm2-2.02.95/debian/patches/series	2013-02-23 21:55:29.000000000 +0000
@@ -6,3 +6,4 @@
 implicit-pointer.patch
 dm-event-api.patch
 monitoring-default-off.patch
+skip-mlock-vector.patch
--- lvm2-2.02.95/debian/patches/skip-mlock-vector.patch	1970-01-01 01:00:00.000000000 +0100
+++ lvm2-2.02.95/debian/patches/skip-mlock-vector.patch	2013-02-23 21:57:09.000000000 +0000
@@ -0,0 +1,33 @@
+Based on https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-November/000391.html
+per comment in https://bugs.launchpad.net/raspbian/+bug/1096224
+
+Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d5697b29ee009104a4ed91f79543e22cc8c8d2c4
+Commit:        d5697b29ee009104a4ed91f79543e22cc8c8d2c4
+Parent:        5ef6ca00b99e0a2ed83a00c4ddcb577dd3b52a7b
+Author:        Zdenek Kabelac <zkabelac at redhat.com>
+AuthorDate:    Tue Nov 20 09:58:53 2012 +0100
+Committer:     Zdenek Kabelac <zkabelac at redhat.com>
+CommitterDate: Tue Nov 20 10:02:51 2012 +0100
+
+mm: skip mlocking [vectors]
+
+Somehow forgotten:
+https://www.redhat.com/archives/linux-lvm/2012-June/msg00019.html
+Need for arm architecture support.
+---
+ WHATS_NEW        |    1 +
+ lib/mm/memlock.c |    1 +
+ 2 files changed, 2 insertions(+), 0 deletions(-)
+
+Index: lvm2-2.02.95/lib/mm/memlock.c
+===================================================================
+--- lvm2-2.02.95.orig/lib/mm/memlock.c	2012-03-01 21:19:20.000000000 +0000
++++ lvm2-2.02.95/lib/mm/memlock.c	2013-02-23 21:56:46.000000000 +0000
+@@ -84,6 +84,7 @@
+ static const char * const _ignore_maps[] = {
+     "[vdso]",
+     "[vsyscall]",
++    "[vectors]",
+ };
+ 
+ /* default blacklist for maps */
