Comments (18)
I've uploaded the commands we used to update GRUB to auto-boot with the good kernel version (4.4.0-57 as mentioned above) if anyone needs it:
https://gist.github.com/jasraj/646bdfc93aa6d8e2fca33fe1b5692e54
from pkg-zfs.
I'm having the same issue. I've temporarily booted into a previous kernel as a workaround.
Hope this gets fixed soon!
from pkg-zfs.
@dajhorn I can confirm it fails to build. Upon the upgrade to 4.4.0-59 I got this error:
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-59-generic /boot/vmlinuz-4.4.0-59-generic
Traceback (most recent call last):
File "/usr/share/apport/package-hooks/dkms_packages.py", line 97, in <module>
with open(apport.fileutils.make_report_path(report), 'wb') as f:
AttributeError: 'module' object has no attribute 'make_report_path'
Error! Bad return status for module build on kernel: 4.4.0-59-generic (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.7/build/make.log for more information.
and then in make.log:
CC [M] /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.o
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c: In function ‘__zpl_xattr_acl_set_access’:
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1293:4: warning: passing argument 1 of ‘posix_acl_valid’ from incompatible pointer type [enabled by default]
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: expected ‘struct user_namespace *’ but argument is of type ‘struct posix_acl *’
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1293:4: error: too few arguments to function ‘posix_acl_valid’
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: declared here
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c: In function ‘__zpl_xattr_acl_set_default’:
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1333:4: warning: passing argument 1 of ‘posix_acl_valid’ from incompatible pointer type [enabled by default]
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: expected ‘struct user_namespace *’ but argument is of type ‘struct posix_acl *’
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1333:4: error: too few arguments to function ‘posix_acl_valid’
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: declared here
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
make[5]: *** [/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.o] Fout 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.7/build/module/zfs] Fout 2
make[3]: *** [_module_/var/lib/dkms/zfs/0.6.5.7/build/module] Fout 2
make[3]: Map '/usr/src/linux-headers-4.4.0-59-generic' wordt verlaten
make[2]: *** [modules] Fout 2
make[2]: Map '/var/lib/dkms/zfs/0.6.5.7/build/module' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/var/lib/dkms/zfs/0.6.5.7/build' wordt verlaten
make: *** [all] Fout 2
So there seems to be a valid reason to bump it.
from pkg-zfs.
I am getting the same exact error as well error: too few arguments to function ‘posix_acl_valid’ error = posix_acl_valid(acl);
from pkg-zfs.
+1
from pkg-zfs.
The zfs kernel module (version 0.6.5.7) provided by the ppa does no longer compile successfully on Trusty (I get an error similar to openzfs/zfs#5408). So I guess this is quite a significant issue, provided that trusty is a LTS which is now about mid-life.
from pkg-zfs.
@dajhorn Do you still plan to upgrade the packages?
from pkg-zfs.
@jknockaert, yes, if the Linux 4.4 kernel that was pushed out in the recent Trusty point release is failing to build.
from pkg-zfs.
FWIW, zfs 0.6.5.6 - which is the official version provided for Ubuntu 16.04.1 LTS (xenial) - also fails to build with kernel 4.4.0-59 (and based on this bug, with 4.4.0-58, too). Works fine (must have built somehow) with 4.4.0-57.
from pkg-zfs.
Seems like this one is fixed. However, as noted in #195, the ZFS ppa is still distributing an outdated version of DKMS.
from pkg-zfs.
For the record, I'm still seeing the same error in 16.04, with kernel 4.4.0-59 and zfs-dkms 0.6.5.6-0ubuntu15.
from pkg-zfs.
There was a new package created ~14 hours ago (see: https://launchpad.net/~zfs-native/+archive/ubuntu/stable) and after a quick "apt-get update && apt-get upgrade" it fixed the issue for us... our ZFS machines are all running Trusty (14.04.5 LTS) however. Had to stick with the older kernel for almost a week but the sky did not fall ;-) So, alls well that ends well?
That said, we do have Xenial (16.04.1 LTS) running in qemu but couldn't reproduce the issue there; not the best test either since the VM has no actual/physical ZFS drives attached. Still, the module did load in an updated+upgraded Xenial running inside qemu and reported "no pools available".
from pkg-zfs.
The custom DKMS was removed from the ZFS ppa, so now falling back to the (updated) DKMS in the ubuntu ppa. @dajhorn Thanks for fixing! I guess this one can be closed now.
from pkg-zfs.
@DarwinAwardWinner The 16.04 package is maintained by Ubuntu.
from pkg-zfs.
I can confirm ZFS 0.6.5.8 is compiling/installing now for Kernel 4.4.0-59.
from pkg-zfs.
Closing as resolved.
Thanks for reporting breakage involving the HWE stack.
from pkg-zfs.
Request for information: I ran into this same issue when upgrading kernel to 4.4.0-62 (at least that is whe i noticed) but with Paragon's NTFS/HFS driver on Ubuntu 16.04. Could you give me any pointers what the actual issue was? All other packages like dkms should be up to date. I also wrote their support, but as this is a free product, not sure how much they care.
from pkg-zfs.
@step21, the kernel driver interface changed. Your NTFS driver probably needs to be updated by its vendor in the same way that ZoL was updated.
from pkg-zfs.
Related Issues (20)
- PPA packages for xenial / yakkety HOT 2
- Ubuntu 17.04, initramfs zfs script does not honor datasets with canmount property set to none HOT 6
- Ubuntu 14.04 ubuntu-zfs Depends: zfs-dkms but it is not installable HOT 3
- 0.6.5.11 hasn't been built for Ubuntu stable ppa HOT 1
- zfs-mount.service Working Directory Issue
- ZFS daily/stable PPA for Ubuntu 16.04 xenial possible? HOT 4
- CentsOS 7 not booting after 'yum update' - zfs kernel module missing (using zfs-kmod)
- Root on Ubuntu 18.04 "recordsize" too large?
- Problem EL7 (CentOS RHEL) to a Native ZFS Root Filesystem HOT 4
- zvol for swap and sync=? HOT 5
- Repository ubuntu server 18.04 no release file found
- EL7 (CentOS 7.6) After Native ZFS Installation, Second Array causes grub to fail: No Device found HOT 2
- Can the root be on a RAID-Z1?
- Missing command detecting ZFS-ID
- Error during upgrade to 0.8.1-1ubuntu14.2 HOT 1
- ZFS on Ubuntu16 (booting from non-zfs volume) does not mount /var from ZFS-Dataset HOT 1
- ZFS_INITRD_ADDITIONAL_DATASETS does not work
- Importing multiple encrypted pools at boot HOT 3
- compatibility with `openrc` (Devuan) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkg-zfs.