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 Make error. Proxmox 7 (Kernel 5.13.19) #23

Open ghost opened 2 years ago

ghost commented 2 years ago

Hey all just wondering if anyone would know how to fix this error when trying to patch the kernel for this to work.

DKMS make.log for hpsa-dkms-1.0 for kernel 5.13.19-1-pve (x86_64) Sun 28 Nov 2021 11:08:57 PM AEDT make -C /usr/lib/modules/5.13.19-1-pve/build M=/var/lib/dkms/hpsa-dkms/1.0/build modules make[1]: Entering directory '/usr/src/linux-headers-5.13.19-1-pve' CC [M] /var/lib/dkms/hpsa-dkms/1.0/build/hpsa.o /var/lib/dkms/hpsa-dkms/1.0/build/hpsa.c:82:25: error: expected declaration specifiers or ‘...’ before string constant 82 | MODULE_SUPPORTED_DEVICE("HP Smart Array Controllers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/hpsa-dkms/1.0/build/hpsa.o] Error 1 make[1]: *** [Makefile:1879: /var/lib/dkms/hpsa-dkms/1.0/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.13.19-1-pve' make: *** [Makefile:14: default] Error 2

This is on a HP ProLiant DL380 G7 with the P410i.

ghost commented 2 years ago

The issue seems to be the hardcoded version in patch.sh. This pull request fixes it

emanuelebruno commented 2 years ago

Hi to all, I have succeeded to install the patch and I wrote a guide https://forum.proxmox.com/threads/proxmox-7-on-hp-g7-and-how-to-enable-hba-mode-p410-hpsahba.105320/

JiangXL commented 2 years ago

Current hpsahba can directly work on a HP ProLiant DL350 G6 with the P410i.

Kab1r commented 2 years ago

I had it working on a g7 and a previous proxmox version, but I don't use proxmox anymore

ghost commented 2 years ago

You can checkout my proxmox-friendly fork of hpsahba. It contains fixes for all currently open issues.

ghost commented 2 years ago

Hi There,Brodie Pike No longer works for KueMedia Australia, please send all emails @. Kue Media AustraliaOn 28 Aug 2022 06:44, mashuptwice @.> wrote: You can checkout my proxmox-friendly fork of hpsahba. It contains fixes for all currently open issues.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

ghost commented 2 years ago

Echo