Re: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel

2014-02-09 Thread Scott Ellis
Ah, I missed that bug report. Thanks for the pointer (and the workaround).


On Sat, Feb 8, 2014 at 11:50 AM, Neil Bothwick n...@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.



[gentoo-user] Failure of zfs-kmod with 3.13.* kernel

2014-02-08 Thread Scott Ellis
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?


Re: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel

2014-02-08 Thread Neil Bothwick
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.


signature.asc
Description: PGP signature