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

DKMS Make error. Proxmox 7 (Kernel 5.13.19) #23

Open
ghost opened this issue Nov 28, 2021 · 7 comments
Open

DKMS Make error. Proxmox 7 (Kernel 5.13.19) #23

ghost opened this issue Nov 28, 2021 · 7 comments

Comments

@ghost
Copy link

ghost commented Nov 28, 2021

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
Copy link

ghost commented Dec 16, 2021

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

@emanuelebruno
Copy link

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
Copy link

JiangXL commented Aug 18, 2022

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

@Kab1r
Copy link

Kab1r commented Aug 18, 2022

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

@ghost
Copy link

ghost commented Aug 27, 2022

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

@ghost
Copy link
Author

ghost commented Aug 27, 2022 via email

@ghost
Copy link

ghost commented Aug 28, 2022

Echo

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

3 participants