hpsahba icon indicating copy to clipboard operation
hpsahba copied to clipboard

DKMS Make error. Proxmox 7 (Kernel 5.13.19)

Open ghost opened this issue 3 years ago • 7 comments

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 avatar Nov 28 '21 12:11 ghost

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

ghost avatar Dec 16 '21 00:12 ghost

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/

emanuelebruno avatar Feb 22 '22 08:02 emanuelebruno

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

JiangXL avatar Aug 18 '22 09:08 JiangXL

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

Kab1r avatar Aug 18 '22 09:08 Kab1r

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

ghost avatar Aug 27 '22 20:08 ghost

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 avatar Aug 27 '22 23:08 ghost

Echo

ghost avatar Aug 28 '22 02:08 ghost