Open alkopit opened 10 months ago
sorry, problem selffixed...)
p212 I successfully turned on the HBA, but after a reboot the disks connected to the controller are not displayed. Why?
root@hba:~/hpsahba# ./hpsahba -i /dev/sg0 VENDOR_ID='HP' PRODUCT_ID='P212' BOARD_ID='0x3241103c' SOFTWARE_NAME='' HARDWARE_NAME='' RUNNING_FIRM_REV='6.64' ROM_FIRM_REV='6.63' REC_ROM_INACTIVE_REV='6.63' YET_MORE_CONTROLLER_FLAGS='0xfa51a227' NVRAM_FLAGS='0x08' HBA_MODE_SUPPORTED=1 HBA_MODE_ENABLED=1
root@hba:~/hpsahba# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 67.8M 1 loop /snap/lxd/22753 loop1 7:1 0 47M 1 loop /snap/snapd/16292 loop2 7:2 0 62M 1 loop /snap/core20/1611 loop3 7:3 0 91.9M 1 loop /snap/lxd/24061 sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 2G 0 part /boot └─sda3 8:3 0 445.1G 0 part └─ubuntu--vg-ubuntu--lv 253:0 0 100G 0 lvm / sdb 8:16 1 115.5G 0 disk ├─sdb1 8:17 1 50M 0 part ├─sdb2 8:18 1 50M 0 part └─sdb3 8:19 1 115.4G 0 part
Hi, You have to use the command sudo echo "options hpsa hpsa_use_nvram_hba_flag=1" > /etc/modprobe.d/hpsa.conf
What this does is modifies hpsa.conf. So that you will have the disks on reboot.
Could you explain how you used the dkms module on linux kernel 5.15. I am stuck on kernel 5.4 as the dkms' version number is limited to 5.8.
make.log