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

[HELP] Unable to get it to work in 5.15 Manjaro #5

Open
GreatNewHope opened this issue Mar 8, 2024 · 0 comments
Open

[HELP] Unable to get it to work in 5.15 Manjaro #5

GreatNewHope opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@GreatNewHope
Copy link

I am trying to install this on a manjaro with kernel 5.15.150-1-MANJARO, but I am completely incapable of doing it... Please note that I am kind of a noob, maybe I am doing something wrong. I downloaded the raid_linux_driver and I am running makepkg -si. Thank you for your wonderful patches!

➜  rcraid-dkms-arch git:(master) ✗ ls
dkms.conf               linux-5.14.patch  linux-5.18.patch  linux-6.2.patch  pkg                                       src
fix_missing_h_files.sh  linux-5.15.patch  linux-5.4.patch   linux-6.4.patch  PKGBUILD
linux-4.15.patch        linux-5.17.patch  linux-5.6.patch   linux-6.6.patch  raid_linux_driver_8_01_00_039_public.zip
➜  rcraid-dkms-arch git:(master) ✗ rm -rf pkg
➜  rcraid-dkms-arch git:(master) ✗ rm -rf src
➜  rcraid-dkms-arch git:(master) ✗ makepkg -si
==> Making package: rcraid-dkms 17.2.1-1 (vie 08 mar 2024 11:07:59)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found raid_linux_driver_8_01_00_039_public.zip
  -> Found dkms.conf
  -> Found linux-4.15.patch
  -> Found linux-5.4.patch
  -> Found linux-5.6.patch
  -> Found linux-5.14.patch
  -> Found linux-5.15.patch
  -> Found linux-5.17.patch
  -> Found linux-5.18.patch
  -> Found linux-6.2.patch
  -> Found linux-6.4.patch
  -> Found linux-6.6.patch
==> Validating source files with md5sums...
    raid_linux_driver_8_01_00_039_public.zip ... Passed
    dkms.conf ... Passed
    linux-4.15.patch ... Passed
    linux-5.4.patch ... Passed
    linux-5.6.patch ... Passed
    linux-5.14.patch ... Passed
    linux-5.15.patch ... Passed
    linux-5.17.patch ... Passed
    linux-5.18.patch ... Passed
    linux-6.2.patch ... Passed
    linux-6.4.patch ... Passed
    linux-6.6.patch ... Passed
==> Extracting sources...
  -> Extracting raid_linux_driver_8_01_00_039_public.zip with bsdtar
==> Starting prepare()...
==> Starting build()...
patching file common_shell
patching file install_rh
patching file install_suse
patching file Makefile
patching file rc_adapter.h
patching file rc_init.c
patching file rc_mem_ops.c
patching file rc_msg.c
patching file uninstall_rh
patching file uninstall_suse
patching file Makefile
patching file rc_init.c
patching file rc_msg.c
patching file rc.h
patching file rc_msg.c
------------------------------------------------------------
- building for kernel 5.15.150-1-MANJARO
------------------------------------------------------------
make -C /lib/modules/5.15.150-1-MANJARO/build M=/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1 modules
ln -sf `basename /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rcblob.x86_64.o .o` /home/marcos/Projects/rcraid-dkms-arch/src/rc
raid-17.2.1/rcblob.x86_64.o
  CC [M]  /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.o
  CC [M]  /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_msg.o
  CC [M]  /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_mem_ops.o
  CC [M]  /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_event.o
  CC [M]  /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_config.o
  CC [M]  /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/vers.o
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_config.c: In function ‘rccfg_io’:
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_config.c:98:31: warning: this statement may fall through [-Wimplicit-fallthroug
h=]
   98 |                 srb->flags    = RC_SRB_FLAGS_DATA_IN;
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_config.c:99:9: note: here
   99 |         case SG_DXFER_TO_FROM_DEV:
      |         ^~~~
In file included from /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc.h:42,
                 from /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c:38:
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c: In function ‘rc_queue_cmd’:
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c:328:22: error: too many arguments to function ‘rc_queue_cmd_lck’
  328 | static DEF_SCSI_QCMD(rc_queue_cmd)
      |                      ^~~~~~~~~~~~
./include/scsi/scsi_host.h:519:22: note: in definition of macro ‘DEF_SCSI_QCMD’
  519 |                 rc = func_name##_lck (cmd, cmd->scsi_done);                     \
      |                      ^~~~~~~~~
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c:186:13: note: declared here
  186 | int         rc_queue_cmd_lck(struct scsi_cmnd * scp);
      |             ^~~~~~~~~~~~~~~~
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c: In function ‘rcraid_resume_one’:
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c:1102:9: warning: ignoring return value of ‘pci_enable_device’ declared w
ith attribute ‘warn_unused_result’ [-Wunused-result]
 1102 |         pci_enable_device(adapter->pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.c:1127:5: warning: ignoring return value of ‘pcim_enable_device’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
 1127 |     pcim_enable_device(pdev);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:289: /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1/rc_init.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1907: /home/marcos/Projects/rcraid-dkms-arch/src/rcraid-17.2.1] Error 2
make: *** [Makefile:60: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
@FritzOnFire FritzOnFire self-assigned this Mar 8, 2024
@FritzOnFire FritzOnFire added the bug Something isn't working label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants