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

Have to run mod probe after every reboot #13

Closed OMMJAI closed 3 years ago

OMMJAI commented 3 years ago

I could successfully install the patch via dkms but I have to modprobe make it run automatically at every reboot

gschuurman commented 3 years ago

Running this will enable the module on boot time with the correct settings sudo echo "options hpsa hpsa_use_nvram_hba_flag=1" > /etc/modprobe.d/hpsa.conf

OMMJAI commented 3 years ago

sudo update-initramfs -u skips hpsa.conf I don’t know why

gschuurman commented 3 years ago

this did the trick for me. sudo dkms install --force hpsa-dkms/1.0 sudo modprobe -r hpsa sudo modprobe hpsa hpsa_use_nvram_hba_flag=1 sudo echo "options hpsa hpsa_use_nvram_hba_flag=1" > /etc/modprobe.d/hpsa.conf sudo update-initramfs -u what os are you using? perhaps that kernel looks into a different place for the config

OMMJAI commented 3 years ago

Debian I fail to understand why update initramfs skips hpsa

OMMJAI commented 3 years ago

I will try again though

OMMJAI commented 3 years ago

Guys problem solved problem was that earlier I had used hips options instead of options hpsa