Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install on Ubuntu kernel 5.15.0-113 an up #57

Open
amalitsky opened this issue Jul 16, 2024 · 1 comment
Open

Fails to install on Ubuntu kernel 5.15.0-113 an up #57

amalitsky opened this issue Jul 16, 2024 · 1 comment

Comments

@amalitsky
Copy link

Getting following error during system upgrade:

Backing up initrd.img-5.15.0-105-generic to /boot/initrd.img-5.15.0-105-generic.old-dkms
Making new initrd.img-5.15.0-105-generic
(If next boot fails, revert to initrd.img-5.15.0-105-generic.old-dkms image)
update-initramfs....
Building initial module for 5.15.0-113-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rcraid-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-113-generic (x86_64)
Consult /var/lib/dkms/rcraid/8.1.0/build/make.log for more information.
dpkg: error processing package rcraid-dkms (--configure):
 installed rcraid-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 rcraid-dkms
E:Sub-process /usr/bin/dpkg returned an error code (1)
Log ended: 2024-07-07  06:13:03

and /var/lib/dkms/rcraid/8.1.0/build/make.log:

DKMS make.log for rcraid-8.1.0 for kernel 5.15.0-116-generic (x86_64)
Mon Jul 15 05:14:01 PM PDT 2024
make: Entering directory '/var/lib/dkms/rcraid/8.1.0/build/src'
make -C /lib/modules/5.15.0-116-generic/build M=/var/lib/dkms/rcraid/8.1.0/build/src
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-116-generic'
ln -sf `basename /var/lib/dkms/rcraid/8.1.0/build/src/rcblob.x86_64.o .o` /var/lib/dkms/rcraid/8.1.0/build/src/rcblob.x86_64.o
  CC [M]  /var/lib/dkms/rcraid/8.1.0/build/src/rc_init.o
  CC [M]  /var/lib/dkms/rcraid/8.1.0/build/src/rc_msg.o
  CC [M]  /var/lib/dkms/rcraid/8.1.0/build/src/rc_mem_ops.o
  CC [M]  /var/lib/dkms/rcraid/8.1.0/build/src/rc_event.o
  CC [M]  /var/lib/dkms/rcraid/8.1.0/build/src/rc_config.o
  CC [M]  /var/lib/dkms/rcraid/8.1.0/build/src/vers.o
/var/lib/dkms/rcraid/8.1.0/build/src/rc_init.c: In function ‘rcraid_resume_one’:
/var/lib/dkms/rcraid/8.1.0/build/src/rc_init.c:1105:9: warning: ignoring return value of ‘pci_enable_device’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1105 |         pci_enable_device(adapter->pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rcraid/8.1.0/build/src/rc_init.c:1130:5: warning: ignoring return value of ‘pcim_enable_device’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1130 |     pcim_enable_device(pdev);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
  LD [M]  /var/lib/dkms/rcraid/8.1.0/build/src/rcraid.o
  MODPOST /var/lib/dkms/rcraid/8.1.0/build/src/Module.symvers
ERROR: modpost: GPL-incompatible module rcraid.ko uses GPL-only symbol 'rcu_read_unlock_strict'
make[2]: *** [scripts/Makefile.modpost:133: /var/lib/dkms/rcraid/8.1.0/build/src/Module.symvers] Error 1
make[2]: *** Deleting file '/var/lib/dkms/rcraid/8.1.0/build/src/Module.symvers'
make[1]: *** [Makefile:1830: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-116-generic'
make: *** [Makefile:68: module] Error 2
make: Leaving directory '/var/lib/dkms/rcraid/8.1.0/build/src'

Please give me some pointers, I rely on this driver and no system engineer myself.

@amalitsky amalitsky changed the title Fails to install on Ubuntu kernels 5.15.0-113 an up Fails to install on Ubuntu kernel 5.15.0-113 an up Jul 16, 2024
@Strt-Pnk
Copy link

struggled with this myself, switched to this guy's repo instead who fixed it yesterday, it's also v9.3.0.283 if you use NVMe RAID for some reason:

https://github.com/MarkLTZ/rcraid-dkms/tree/latest

you can use this post to install, in-case you don't know how to:
#47 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants