Gentoo Archives: gentoo-user

From: Scott Ellis <scotte@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel
Date: Sat, 08 Feb 2014 18:07:40
Message-Id: CAJ7Ptmze4FZ4H4HZ5nAWvMLmoYQGa2tpuUEMaL4wmeyY8_RpGQ@mail.gmail.com
1 When trying to build zfs-kmod against a a 3.13.[0|1|2] kernel, spl works
2 fine, but zfs fails. It looks like the issue is that the configure script
3 isn't doing quite the right check for bdi_setup_and_register, so
4 HAVE_BDI_SETUP_AND_REGISTER doesn't get defined, and then there's a
5 mismatch in the definitions between zfs and the kernel source. The
6 offending bit in the configure log looks to be:
7
8
9 configure:17996: checking whether bdi_setup_and_register() is available
10 configure:18024: cp conftest.c build && make modules -C /usr/src/linux
11 EXTRA_CFLAGS=-Werror
12 M=/var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build
13 /var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build/conftest.c:
14 In function 'main':
15 /var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build/conftest.c:91:25:
16 error: ignoring return value of 'bdi_setup_and_register', declared with
17 attribute warn_unused_result [-Werror=unused-result]
18 bdi_setup_and_register(NULL, NULL, 0);
19 ^
20
21 Anyone else seeing this?

Replies

Subject Author
Re: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel Neil Bothwick <neil@××××××××××.uk>