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

CentOS 8 kernel support #6

Closed andmn closed 4 years ago

andmn commented 4 years ago

Hi,

the switch to HBA mode and back was successful on HP SE316M1 system with P410i card.

But I was not able to adapt your kernel patches to build a CentOS 4.18.0 custom kernel or kernel-ml 5.6.x from elrepo-kernel. As I've seen on the kernel mailing list hpsahba will not accepted. You are able to provide patches to build the custom kernel?

Thanks.

im-0 commented 4 years ago

Hi,

try these patches with kernel-ml: https://github.com/im-0/hpsahba/tree/master/kernel/5.4. I'm successfully using them on Fedora 32 with kernel 5.6.12, which is not significantly different from the mainline kernel.

andmn commented 4 years ago

Thanks, with kernel-ml it was successful. Kernel build as shown in the CentOS Wiki with 4.18 but added kernel-ml nosrc rpm to the build directory and adding patches to the kernel-ml spec file.

Also no data loss, after reboot the partition with lvm was found.