Comments (2)
Well, good news:
[root@sysrescue ~/hpsahba/contrib/dkms]# modprobe hpsa hpsa_use_nvram_hba_flag=1
[root@sysrescue ~/hpsahba/contrib/dkms]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 631.9M 1 loop /run/archiso/sfs/airootfs
sda 8:0 0 931.5G 0 disk
sdb 8:16 0 931.5G 0 disk
sdc 8:32 0 931.5G 0 disk
sdd 8:48 0 279.4G 0 disk
├─sdd1 8:49 0 278.4G 0 part
├─sdd2 8:50 0 1K 0 part
└─sdd5 8:53 0 976M 0 part
sde 8:64 0 279.4G 0 disk
├─sde1 8:65 0 278.4G 0 part
├─sde2 8:66 0 1K 0 part
└─sde5 8:69 0 976M 0 part
sdf 8:80 0 931.5G 0 disk
sdg 8:96 0 931.5G 0 disk
sdh 8:112 0 931.5G 0 disk
sr0 11:0 1 703M 0 rom /run/archiso/bootmnt
I ran this on Systemrescue 9.0 running kernel 5.15.22, I had to patch hpsa.c from dkms, patch coming soon
from hpsahba.
The patching dkms script assumes kernel 5.8 if none specified. So the patch below should be applied on top of the 5.8 kernel patch, although I have not checked the newer ones to see if they would work without modifications.
--- hpsa.c 2022-03-15 22:05:12.046873522 +0200
+++ hpsa_new.c 2022-03-15 21:50:31.490115346 +0200
@@ -79,7 +79,7 @@
MODULE_AUTHOR("Hewlett-Packard Company");
MODULE_DESCRIPTION("Driver for HP Smart Array Controller version " \
HPSA_DRIVER_VERSION);
-MODULE_SUPPORTED_DEVICE("HP Smart Array Controllers");
+//MODULE_SUPPORTED_DEVICE("HP Smart Array Controllers");
MODULE_VERSION(HPSA_DRIVER_VERSION);
MODULE_LICENSE("GPL");
MODULE_ALIAS("cciss");
@@ -5774,7 +5774,7 @@
/* Get the ptr to our adapter structure out of cmd->host. */
h = sdev_to_hba(cmd->device);
- BUG_ON(cmd->request->tag < 0);
+ BUG_ON(scsi_cmd_to_rq(cmd)->tag < 0);
dev = cmd->device->hostdata;
if (!dev) {
@@ -5813,7 +5813,7 @@
* Retries always go down the normal I/O path.
*/
if (likely(cmd->retries == 0 &&
- !blk_rq_is_passthrough(cmd->request) &&
+ !blk_rq_is_passthrough(scsi_cmd_to_rq(cmd)) &&
h->acciopath_status)) {
rc = hpsa_ioaccel_submit(h, c, cmd);
if (rc == 0)
@@ -5977,7 +5977,7 @@
*/
static int hpsa_get_cmd_index(struct scsi_cmnd *scmd)
{
- int idx = scmd->request->tag;
+ int idx = scsi_cmd_to_rq(scmd)->tag;
if (idx < 0)
return idx;
from hpsahba.
Related Issues (20)
- Tested and working on HP P212 controller HOT 2
- P410 SMART Support for Drives HOT 3
- Have to run mod probe after every reboot HOT 6
- P212 4TB Drive HOT 1
- dkms module will not build on Ubuntu 20.04.2 LTS HOT 2
- Commande not found HOT 7
- patch.sh version detection not working properly HOT 2
- Documenting PSU Explosion HOT 2
- Please rename kernel module HOT 1
- Working on HP P410 / Desktop Motherboard / D2700 Enclosure.
- DKMS Make error. Proxmox 7 (Kernel 5.13.19) HOT 7
- SUCCESS: HP P411
- hpsa-dkms doesn't patch kenerl during kernel update HOT 2
- Succes creating HBA on P410 but... HOT 1
- Success: P410i FW6.60 w/ Ubuntu 22.04 ILO2 Remote Media Boot HOT 2
- Linux 6.0 Kernel support HOT 12
- How do I get the device location? HOT 1
- /
- After applying through Linux, are the drives available to Windows? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpsahba.