On 12/15/2016 10:46 PM, Achim Schaefer wrote: > Hi Petter, > > I'm not sure how to fetch the git version, so without any hint where to > start I don't know how to do this. > > Maybe you could provide a good source of informations, so I might be > able to do it. > (I've done a much simpler version of the patch in my tree, and got it > compiled. As well I was able to fetch git repos when someone gave me the > link to th erepo. > But I don't know where to search for the repo, I don't know the normal > debian build procedure, ... > > Achim > On 15.12.2016 22:12, Petter Reinholdtsen wrote: >> Control: tags -1 + pending >> >> Thank you everyone who contributed to this bug report. I am afraid the >> zfs maintainers in Debian is heavily understaffed. But I found time to >> fetch the upstream commit and apply it to the Debian git repository. >> >> Please test the git version and let us know if it work for you. I lack >> the time to test it myself and without testing I do not want to upload >> it. > > >
did a quick test, packages and module compile without problems, importing, scrubbing and some regular create/destroy/.. operations also work as expected. will do some more in-depth testing tomorrow and report back. @Achim: you should be able to do the following (after installing git, git-buildpackage, the build-dependencies of zfsutils-linux and maybe some other stuff ;)): $ git clone git://anonscm.debian.org/pkg-zfsonlinux/zfs.git $ cd zfs $ git checkout -b testdebiankernelfix Switched to a new branch 'testdebiankernelfix' $ gbp dch --debian-branch=testdebiankernelfix $ sed 's/zfs-linux (0.6.5.8-2)/zfs-linux (0.6.5.8-2~test1)/' -i debian/changelog $ git commit -am "update changelog" $ gbp buildpackage --git-no-pristine-tar --git-debian-branch=testdebiankernelfix -uc -us now you should have the following files: $ ls -1 ../*0.6.5.8-2~test*.deb ../libnvpair1linux_0.6.5.8-2~test1_amd64.deb ../libuutil1linux_0.6.5.8-2~test1_amd64.deb ../libzfs2linux_0.6.5.8-2~test1_amd64.deb ../libzfslinux-dev_0.6.5.8-2~test1_amd64.deb ../libzpool2linux_0.6.5.8-2~test1_amd64.deb ../zfs-dbg_0.6.5.8-2~test1_amd64.deb ../zfs-dkms_0.6.5.8-2~test1_all.deb ../zfs-dracut_0.6.5.8-2~test1_all.deb ../zfs-initramfs_0.6.5.8-2~test1_all.deb ../zfsutils-linux_0.6.5.8-2~test1_amd64.deb ../zfs-zed_0.6.5.8-2~test1_amd64.deb install the subset of those which you currently have installed (probably not the dracut, -dbg and -dev ones, maybe not the zfs-zed one, most likely everything else ;)) with "dpkg -i" and it should trigger a rebuild of the zfs module during installation. I replaced the version number such that it is higher than the one currently in stretch/sid (to make it obvious which one you are using), but lower than the next regular update by the maintainers (so that that will not be skipped).

