Created attachment 470274 [details] emerge --info I cannot upgrade from 4.9 kernel to 4.10 as the latest zfs in gentoo doesn't support newer kernels. https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.6.5.9 list 4.10 kernel as supported, still emerge -v1 zfs-kmod returns: * ERROR: sys-fs/zfs-kmod-0.6.5.9::gentoo failed (setup phase): * Linux 4.9 is the latest supported version. * * Call stack: * ebuild.sh, line 115: Called pkg_setup * zfs-kmod-0.6.5.9.ebuild, line 67: Called die * The specific snippet of code: * [ ${PV} != "9999" ] && \ * { kernel_is le 4 9 || die "Linux 4.9 is the latest supported version."; } I believe this was caused by https://github.com/zfsonlinux/zfs/issues/5972. Thus, a fix should be trivial. I can try to adjust the ebuild and test in a local overlay but I don't know how to officially suggest the changes.
Created attachment 470276 [details] build log
Created attachment 470280 [details, diff] sys-fs/zfs-kmod-0.6.5.9.ebuild.diff suggested fix
Created attachment 470282 [details, diff] sys-kernel/spl-0.6.5.9.ebuild.diff suggested fix for same problem in sys-kernel/spl
I added the sys-fs/zfs-kmod-0.6.5.9 and sys-kernel/spl-0.6.5.9 ebuilds and patched them as attached. With these changes, I was successfull in emerging a 4.10.10 kernel with zfs support. As far as I can tell, everything seems to work just fine.
@ryao pushed the 4.10 update fix to zfs-kmod 2 days ago. Please sync your tree and try again :). Thanks for reporting. Resolving.
I can confirm that it works for me now. Thx.