im-0 / hpsahba

Tool to enable/disable HBA mode on some HP Smart Array controllers
GNU General Public License v2.0
128 stars 45 forks source link

dkms install won't work #34

Closed jfreak53 closed 1 year ago

jfreak53 commented 1 year ago

I am trying to install the dkms module for a P812 controller, it's in HBA mode fine. But when I run the following command dkms install --force hpsa-dkms/1.0 it gives me this:

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j32 KERNELRELEASE=5.15.0-78-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for hpsa-dkms: 1.0 not found
Error! Bad return status for module build on kernel: 5.15.0-78-generic (x86_64)
Consult /var/lib/dkms/hpsa-dkms/1.0/build/make.log for more information.
jfreak53 commented 1 year ago

Nevermind, figured out the patch file didn't have my proper kernel version in it. I changed the kernel version to 5.15 and it all worked. Thanks!