I built the 3.10-rc rbd module for a 3.8 kernel yesterday, and only had one thing to add (I know I'm reviving an old thread). There is one folder missing from the original list of files to use: include/linux/crush/* That would bring everything to: include/keys/ceph-type.h include/linux/ceph/* include/linux/crush/** fs/ceph/* net/ceph/* drivers/block/rbd.c drivers/block/rbd_types.h RBD built without a hitch. Getting CephFS to build was going to be a bit more work, but I didn't need it so I just skipped it. - Travis On Mon, Apr 29, 2013 at 8:41 PM, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote: >> >> I'm probably not the only one who would like to run a >> distribution-provided kernel (which for Debian Wheezy/Ubuntu Precise is >> 3.2) and still have a recent-enough Ceph kernel client. So I'm wondering >> whether it's feasible to backport the kernel client to an earlier kernel. > > You can grab the 3.8 kernel from debian experimental http://packages.debian.org/search?keywords=linux-image-3.8 > > I'm using it on a bunch of machines and I know of a few others using it too. > >> The plan is as follows: >> >> 1) Grab the Ceph files from https://github.com/ceph/ceph-client (and put >> them over the older kernel sources). If I got it right the files are: >> include/keys/ceph-type.h include/linux/ceph/* fs/ceph/* net/ceph/* >> drivers/block/rbd.c drivers/block/rbd_types.h >> >> 2) Make (trivial) adjustments to the source code to account for changed >> kernel interfaces. >> >> 3) Compile as modules and install the new Ceph modules under >> /lib/modules. >> >> 4) Reboot to a standard distribution kernel with up-to-date Ceph client. >> > > I would think you should be able to build a dkms package pretty easily, and it would be a lot faster to build than building an entire kernel, and much easier to maintain. Of course that depends on the degree of integration with the kernel... > > James > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com