I have created a patch for the 'ciss' device driver that allows FreeBSD to talk to HP SmartArray/SmartHBA RAID/HBA controller cards that fixes a number of problems we have had with it on our systems (HP servers with the HP SmartHBA H241 controllers and multiple HP D6020 external SAS disk cabinets (70 SAS drives per cabinet). Now, most of these normal users might not have seen or experienced:
1. More than (ca) 48 physical drives per SAS bus can't be used if the card is put into HBA/JBOD/passthru mode.
2. If a physical drive have the same target number as the max number of logical (RAID volumes) supported then it is silently skipped
3. SES enumeration didn't work ("sesutil map" didn't show anything connected to these controllers).
4. Unplugging a SAS cable and reconnecting it "on the fly" every now and then (often) the server would panic and reboot
The patch fixes this plus adds a couple of things:
5. Added sysctl support so "sysctl -a" now lists the kernel tunables available.
6. Added a "hw.ciss.verbose" tunable to be able to get more verbose output.
(also fixes a couple of spelling errors but that's just cosmetic)
I've tested it on systems with HP H241 "SmartHBA" cards and also some old systems with HP P400 "SmartArray" cards (but only with a few drives). But it would be great if some more people could test-drive it to make sure it doesn't break stuff for other users...
So I'm looking for other people with other types of HP RAID cards (using the "ciss" driver) willing to testdrive with patch... (you'll need to build you own kernel with the patch applied. After having built & installed the custom kernel, set 'hw.ciss.verbose = "2"' in /boot/loader.conf and reboot).
Differential:
https://reviews.freebsd.org/D25155
Bug reports:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246279
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246280
1. More than (ca) 48 physical drives per SAS bus can't be used if the card is put into HBA/JBOD/passthru mode.
2. If a physical drive have the same target number as the max number of logical (RAID volumes) supported then it is silently skipped
3. SES enumeration didn't work ("sesutil map" didn't show anything connected to these controllers).
4. Unplugging a SAS cable and reconnecting it "on the fly" every now and then (often) the server would panic and reboot
The patch fixes this plus adds a couple of things:
5. Added sysctl support so "sysctl -a" now lists the kernel tunables available.
6. Added a "hw.ciss.verbose" tunable to be able to get more verbose output.
(also fixes a couple of spelling errors but that's just cosmetic)
I've tested it on systems with HP H241 "SmartHBA" cards and also some old systems with HP P400 "SmartArray" cards (but only with a few drives). But it would be great if some more people could test-drive it to make sure it doesn't break stuff for other users...
So I'm looking for other people with other types of HP RAID cards (using the "ciss" driver) willing to testdrive with patch... (you'll need to build you own kernel with the patch applied. After having built & installed the custom kernel, set 'hw.ciss.verbose = "2"' in /boot/loader.conf and reboot).
Differential:
https://reviews.freebsd.org/D25155
Bug reports:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246279
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246280