* [gentoo-user] Failure of zfs-kmod with 3.13.* kernel
@ 2014-02-08 18:07 Scott Ellis
2014-02-08 19:50 ` Neil Bothwick
0 siblings, 1 reply; 3+ messages in thread
From: Scott Ellis @ 2014-02-08 18:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]
When trying to build zfs-kmod against a a 3.13.[0|1|2] kernel, spl works
fine, but zfs fails. It looks like the issue is that the configure script
isn't doing quite the right check for bdi_setup_and_register, so
HAVE_BDI_SETUP_AND_REGISTER doesn't get defined, and then there's a
mismatch in the definitions between zfs and the kernel source. The
offending bit in the configure log looks to be:
configure:17996: checking whether bdi_setup_and_register() is available
configure:18024: cp conftest.c build && make modules -C /usr/src/linux
EXTRA_CFLAGS=-Werror
M=/var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build
/var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build/conftest.c:
In function 'main':
/var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build/conftest.c:91:25:
error: ignoring return value of 'bdi_setup_and_register', declared with
attribute warn_unused_result [-Werror=unused-result]
bdi_setup_and_register(NULL, NULL, 0);
^
Anyone else seeing this?
[-- Attachment #2: Type: text/html, Size: 1305 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel
2014-02-08 18:07 [gentoo-user] Failure of zfs-kmod with 3.13.* kernel Scott Ellis
@ 2014-02-08 19:50 ` Neil Bothwick
2014-02-09 16:02 ` Scott Ellis
0 siblings, 1 reply; 3+ messages in thread
From: Neil Bothwick @ 2014-02-08 19:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
On Sat, 8 Feb 2014 10:07:31 -0800, Scott Ellis wrote:
> When trying to build zfs-kmod against a a 3.13.[0|1|2] kernel, spl works
> fine, but zfs fails. It looks like the issue is that the configure
> script isn't doing quite the right check for bdi_setup_and_register, so
> HAVE_BDI_SETUP_AND_REGISTER doesn't get defined, and then there's a
> mismatch in the definitions between zfs and the kernel source. The
> offending bit in the configure log looks to be:
Bug report with hacky workaround
https://bugs.gentoo.org/show_bug.cgi?id=499672
Works for me.
--
Neil Bothwick
Profanity, The Language of Computer Professionals.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel
2014-02-08 19:50 ` Neil Bothwick
@ 2014-02-09 16:02 ` Scott Ellis
0 siblings, 0 replies; 3+ messages in thread
From: Scott Ellis @ 2014-02-09 16:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
Ah, I missed that bug report. Thanks for the pointer (and the workaround).
On Sat, Feb 8, 2014 at 11:50 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sat, 8 Feb 2014 10:07:31 -0800, Scott Ellis wrote:
>
> > When trying to build zfs-kmod against a a 3.13.[0|1|2] kernel, spl works
> > fine, but zfs fails. It looks like the issue is that the configure
> > script isn't doing quite the right check for bdi_setup_and_register, so
> > HAVE_BDI_SETUP_AND_REGISTER doesn't get defined, and then there's a
> > mismatch in the definitions between zfs and the kernel source. The
> > offending bit in the configure log looks to be:
>
> Bug report with hacky workaround
>
> https://bugs.gentoo.org/show_bug.cgi?id=499672
>
> Works for me.
>
>
> --
> Neil Bothwick
>
> Profanity, The Language of Computer Professionals.
>
[-- Attachment #2: Type: text/html, Size: 1371 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-09 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-08 18:07 [gentoo-user] Failure of zfs-kmod with 3.13.* kernel Scott Ellis
2014-02-08 19:50 ` Neil Bothwick
2014-02-09 16:02 ` Scott Ellis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox