ciss(4) HP Smart Array P840

sthaug at nethelp.no sthaug at nethelp.no
Fri Nov 20 07:44:20 UTC 2015


> TL;DR: Why isn't the P840 supported by ciss(4)?
> 
> 
> I tried to setup FreeNAS 9.3 (running 9.3-RELEASE-p25) on an HP DL380
> Gen9, with the P840 RAID controller. I didn't realize that the P840 is
> not officially supported by the ciss(4) driver. In my troubleshooting,
> I ended up in the same place as documented on this forums.freenas.org
> post <https://forums.freenas.org/index.php?threads/hp-gen9-server-w-p840-hba-mode-no-drives-visible.28620/>:
> 
> > It's interesting that camcontrol devlist shows the drives, but there are no da* or ada* designations for them. I don't know what that means, but I'd speculate it's something driver-related.
> 
> Indeed:
> 
>     # camcontrol devlist -v
>     scbus0 on ciss0 bus 0:
>     scbus1 on ciss0 bus 32:
>     <ATA ST1000DM003-1ER1 CC46>        at scbus1 target 4 lun 0 (pass0)
>     <ATA ST1000DM003-1ER1 CC46>        at scbus1 target 5 lun 0 (pass1)
>     scbus2 on ciss0 bus 33:
>     ...
> 
> But there are no device names listed there, after passX, or in /dev.

This is somewhat interesting to me since I actually have 10.2-STABLE
up and running on a HP DL360 Gen9 server with what appears to be the
same controller:

# uname -a
FreeBSD nova.noc.as2116.net 10.2-STABLE FreeBSD 10.2-STABLE #0 r290663M: Tue Nov 10 18:24:51 CET 2015     sthaug at x.y.z:/usr/src/sys/amd64/compile/DNS  amd64

# pciconf -lv
...
ciss0 at pci0:3:0:0:       class=0x010400 card=0x21c0103c chip=0x3239103c rev=0x01 hdr=0x00
    vendor     = 'Hewlett-Packard Company'
    device     = 'Smart Array Gen9 Controllers'
    class      = mass storage
    subclass   = RAID

/var/run/dmesg.boot:
...
ciss0: <HP Smart Array TBD> port 0x2000-0x20ff mem 0x92c00000-0x92cfffff,0x92d00000-0x92d003ff irq 16 at device 0.0 on pci3
ciss0: PERFORMANT Transport

# camcontrol devlist -v
scbus0 on ciss0 bus 0:
<HP RAID 1(1+0) OK>                at scbus0 target 0 lun 0 (pass0,da0)
scbus1 on ciss0 bus 32:
scbus2 on ahcich5 bus 0:
<hp DVD A  DU8A6SH DHJ2>           at scbus2 target 0 lun 0 (pass1)
<>                                 at scbus2 target -1 lun ffffffff ()
scbus3 on ahciem0 bus 0:
<AHCI SGPIO Enclosure 1.00 0001>   at scbus3 target 0 lun 0 (ses0,pass2)
<>                                 at scbus3 target -1 lun ffffffff ()
scbus-1 on xpt0 bus 0:
<>                                 at scbus-1 target -1 lun ffffffff (xpt0)

# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a  10143484  1006628  8325380    11%    /
devfs               1        1        0   100%    /dev
/dev/da0s1d  25389052  6525188 16832740    28%    /usr
/dev/da0s1e  10143484   203340  9128668     2%    /var
/dev/da0s1g  77088700 16245472 54676132    23%    /usr/local

BIOS seetings that I changed: Disable UEFI, disable x2APIC.

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the freebsd-scsi mailing list