Package Details: openafs-modules-dkms 1.8.13.1-1

Git Clone URL: https://aur.archlinux.org/openafs-modules-dkms.git (read-only, click to copy)
Package Base: openafs-modules-dkms
Description: Kernel module for OpenAFS (dkms)
Upstream URL: http://www.openafs.org
Licenses: IPL-1.0
Conflicts: openafs, openafs-features-libafs, openafs-modules
Provides: openafs-modules
Submitter: Bevan
Maintainer: Bevan
Last Packager: Bevan
Votes: 17
Popularity: 0.000000
First Submitted: 2014-03-23 13:24 (UTC)
Last Updated: 2024-12-21 09:26 (UTC)

Dependencies (3)

Required by (2)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

Bevan commented on 2023-09-01 18:57 (UTC)

Thanks for the followup! I just noticed that there is another patch available for Linux 6.5, so there will be another update of this package soon.

fraret commented on 2023-09-01 17:08 (UTC)

Indeed, it was working in the background and I was not seeing the cpu usage due to the low refresh rate on htop. Just for future reference in case someone finds themselves in my place in the future, the log is actually in /var/lib/dkms/openafs/1.8.10/build/make.log and aborting installation with Ctrl-c will delete the openafs folder and the log with it.

Bevan commented on 2023-09-01 16:41 (UTC)

Are you sure there is no CPU activity, not even on a single core? Most of the time required for building the OpenAFS kernel module is from running the configure script and not the actual compilation. And that is unfortunately limited to a single core.

There should be a log file of the build located at /var/lib/dkms/openafs/1.8.10/6.4.12-arch1-1/x86_64/log/make.log. You can also open that with tail -f during the installation to see if it is actually doing something.

fraret commented on 2023-09-01 15:31 (UTC) (edited on 2023-09-01 15:31 (UTC) by fraret)

Hi, Trying to install it on 6.4.12-arch1-1 with paru, installation freezes when doing dkms install:

(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod openafs/1.8.10 -k 6.4.12-arch1-1

There is no noticeable CPU activity and it does not progress for at least 10min. Not sure if it is a package problem or my machine's.

Bevan commented on 2023-05-04 20:17 (UTC)

honza801: Yes, we need two additional patches for Linux 6.3.1. I already prepared a corresponding update which I'm testing right now. Expect a push of the update to the AUR within the next hour.

honza801 commented on 2023-05-04 18:55 (UTC)

Hi,

installing aur/openafs-modules-dkms 1.8.9-2 ends with:

(2/2) Install DKMS modules
==> dkms install --no-depmod openafs/1.8.9 -k 6.3.1-arch1-1
Error! Bad return status for module build on kernel: 6.3.1-arch1-1 (x86_64)
Consult /var/lib/dkms/openafs/1.8.9/build/make.log for more information.
==> WARNING: `dkms install --no-depmod openafs/1.8.9 -k 6.3.1-arch1-1' exited 10

make.log

In file included from /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/rx_kmutex.c:24:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_posix_lock_file’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:80:8: error: invalid use of undefined type ‘struct file_lock’
   80 |     flp->fl_flags &=~ FL_SLEEP;
      |        ^~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:80:23: error: ‘FL_SLEEP’ undeclared (first use in this function)
   80 |     flp->fl_flags &=~ FL_SLEEP;
      |                       ^~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:80:23: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:81:12: error: implicit declaration of function ‘posix_lock_file’; did you mean ‘afs_posix_lock_file’? [-Werror=implicit-function-declaration]
   81 |     return posix_lock_file(fp, flp);
      |            ^~~~~~~~~~~~~~~
      |            afs_posix_lock_file
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_posix_test_lock’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:101:5: error: implicit declaration of function ‘posix_test_lock’; did you mean ‘afs_posix_test_lock’? [-Werror=implicit-function-declaration]
  101 |     posix_test_lock(fp, flp);
      |     ^~~~~~~~~~~~~~~
      |     afs_posix_test_lock
  CC [M]  /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/Kvldbint.cs.o
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_inode_setattr’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:50:26: error: passing argument 1 of ‘inode->i_op->setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   50 | #  define f_dentry f_path.dentry
      |                          ^
      |                          |
      |                          struct dentry *
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:46: note: in expansion of macro ‘f_dentry’
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                              ^~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:50:26: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct dentry *’
   50 | #  define f_dentry f_path.dentry
      |                          ^
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:46: note: in expansion of macro ‘f_dentry’
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                              ^~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:56: error: passing argument 2 of ‘inode->i_op->setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                                        ^~~~~~~~
      |                                                        |
      |                                                        struct iattr *
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:56: note: expected ‘struct dentry *’ but argument is of type ‘struct iattr *’
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:12: error: too few arguments to function ‘inode->i_op->setattr’
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |            ^~~~~
  CC [M]  /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/Kvldbint.xdr.o
  CC [M]  /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/Kcallback.ss.o
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_setattr_prepare’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:767:12: error: implicit declaration of function ‘inode_change_ok’ [-Werror=implicit-function-declaration]
  767 |     return inode_change_ok(dp->d_inode, newattrs);
      |            ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:252: /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/rx_kmutex.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/rx_knet.c:37:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_posix_lock_file’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:80:8: error: invalid use of undefined type ‘struct file_lock’
   80 |     flp->fl_flags &=~ FL_SLEEP;
      |        ^~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:80:23: error: ‘FL_SLEEP’ undeclared (first use in this function)
   80 |     flp->fl_flags &=~ FL_SLEEP;
      |                       ^~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:80:23: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:81:12: error: implicit declaration of function ‘posix_lock_file’; did you mean ‘afs_posix_lock_file’? [-Werror=implicit-function-declaration]
   81 |     return posix_lock_file(fp, flp);
      |            ^~~~~~~~~~~~~~~
      |            afs_posix_lock_file
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_posix_test_lock’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:101:5: error: implicit declaration of function ‘posix_test_lock’; did you mean ‘afs_posix_test_lock’? [-Werror=implicit-function-declaration]
  101 |     posix_test_lock(fp, flp);
      |     ^~~~~~~~~~~~~~~
      |     afs_posix_test_lock
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_inode_setattr’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:50:26: error: passing argument 1 of ‘inode->i_op->setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   50 | #  define f_dentry f_path.dentry
      |                          ^
      |                          |
      |                          struct dentry *
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:46: note: in expansion of macro ‘f_dentry’
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                              ^~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:50:26: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct dentry *’
   50 | #  define f_dentry f_path.dentry
      |                          ^
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:46: note: in expansion of macro ‘f_dentry’
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                              ^~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:56: error: passing argument 2 of ‘inode->i_op->setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                                        ^~~~~~~~
      |                                                        |
      |                                                        struct iattr *
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:56: note: expected ‘struct dentry *’ but argument is of type ‘struct iattr *’
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:536:12: error: too few arguments to function ‘inode->i_op->setattr’
  536 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |            ^~~~~
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h: In function ‘afs_setattr_prepare’:
/var/lib/dkms/openafs/1.8.9/build/src/afs/LINUX/osi_compat.h:767:12: error: implicit declaration of function ‘inode_change_ok’ [-Werror=implicit-function-declaration]
  767 |     return inode_change_ok(dp->d_inode, newattrs);
      |            ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:252: /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP/rx_knet.o] Error 1
make[3]: *** [Makefile:2025: /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP] Error 2
FAILURE: make exit code 2
make[2]: *** [Makefile.afs:280: openafs.ko] Error 1
make[2]: Leaving directory '/var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.3.1-arch1-1-SP'
make[1]: *** [Makefile:187: linux_compdirs] Error 2
make[1]: Leaving directory '/var/lib/dkms/openafs/1.8.9/build/src/libafs'
make: *** [Makefile:15: all] Error 2

Jan

Bevan commented on 2023-03-01 10:07 (UTC)

Looks like we need a patch for Linux 6.2: https://gerrit.openafs.org/#/c/15281/

I'll update the package later today.

alexiri commented on 2023-03-01 10:00 (UTC)

The current version (1.8.9-1) breaks when building against linux-zen 6.2.1.zen1-1.

  CC [M]  /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/Krmtsys.xdr.o
  CC [M]  /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/osi_pag_module.o
  CC [M]  /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/AFS_component_version_number.o
/var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/osi_vnodeops.c: In function ‘afs_lru_cache_add’:
/var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/osi_vnodeops.c:132:34: error: implicit declaration of function ‘__pagevec_lru_add’; did you mean ‘pagevec_add’? [-Werror=implicit-function-declaration]
  132 | #  define __pagevec_lru_add_file __pagevec_lru_add
      |                                  ^~~~~~~~~~~~~~~~~
/var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/osi_vnodeops.c:140:9: note: in expansion of macro ‘__pagevec_lru_add_file’
  140 |         __pagevec_lru_add_file(&alrupages->lrupv);
      |         ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:252: /var/lib/dkms/openafs/1.8.9/build/src/libafs/MODLOAD-6.2.1-zen1-1-zen-SP/osi_vnodeops.o] Error 1

drslmr commented on 2022-06-02 11:25 (UTC)

It seams to work for me. Thank you very much for the quick help.