ciss(4) HP Smart Array P840

Jonathon Reinhart jonathon.reinhart at gmail.com
Fri Nov 20 16:50:16 UTC 2015


On Thu, Nov 19, 2015 at 6:20 PM, Scott Long <scott4long at yahoo.com> wrote:
> Since you can see the volumes in camcontrol, the low-level driver and communications protocol is working.  What’s odd at the moment is that the volumes are returning an inquiry response that CAM doesn’t fully understand; that’s why you get the pass devices but no da devices.  Can you use camcontrol to do an inquiry request and send me the results?  Something like the following:
>
> sudo camcontrol cmd -n pass -u 0 -v -c "12 00 00 00 ff 00" -i 255 - | hd

FYI: The controller is in HBA mode.

[root at freenas] ~# uname -a
FreeBSD foo.example.com 9.3-RELEASE-p25 FreeBSD 9.3-RELEASE-p25 #0
r281084+d3a5bf7: Wed Sep  2 15:00:10 PDT 2015
root at build3.ixsystems.com:/tank/home/jkh/build/FN/objs/os-base/amd64/tank/home/jkh/build/FN/FreeBSD/src/sys/FREENAS.amd64
 amd64

[root at freenas] ~# 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:
scbus3 on camsim0 bus 0:
<>                                 at scbus3 target -1 lun -1 ()
scbus4 on umass-sim0 bus 0:
<HP iLO Internal SD-CARD 2.09>     at scbus4 target 0 lun 0 (pass2,da0)
<HP iLO LUN 01 Media 0 2.09>       at scbus4 target 0 lun 1 (pass3,da1)
scbus-1 on xpt0 bus 0:
<>                                 at scbus-1 target -1 lun -1 (xpt0)

[root at freenas] ~# camcontrol cmd -n pass -u 0 -v -c "12 00 00 00 ff
00" -i 255 - | hd
00000000  1f 00 06 02 5b 00 00 02  41 54 41 20 20 20 20 20  |....[...ATA     |
00000010  53 54 31 30 30 30 44 4d  30 30 33 2d 31 45 52 31  |ST1000DM003-1ER1|
00000020  43 43 34 36 00 00 00 00  00 00 00 00 00 00 00 00  |CC46............|
00000030  00 00 00 00 00 00 00 00  00 00 00 a2 1e e0 04 66  |...............f|
00000040  04 c0 20 e0 17 61 00 00  00 00 00 00 00 00 00 00  |.. ..a..........|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000000f0

[root at freenas] ~# camcontrol cmd -n pass -u 1 -v -c "12 00 00 00 ff
00" -i 255 - | hd
00000000  1f 00 06 02 5b 00 00 02  41 54 41 20 20 20 20 20  |....[...ATA     |
00000010  53 54 31 30 30 30 44 4d  30 30 33 2d 31 45 52 31  |ST1000DM003-1ER1|
00000020  43 43 34 36 00 00 00 00  00 00 00 00 00 00 00 00  |CC46............|
00000030  00 00 00 00 00 00 00 00  00 00 00 a2 1e e0 04 66  |...............f|
00000040  04 c0 20 e0 17 61 00 00  00 00 00 00 00 00 00 00  |.. ..a..........|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000000f0

[root at freenas] ~# lspci -nnv
...
08:00.0 Serial Attached SCSI controller [0107]: Hewlett-Packard
Company Smart Array Gen9 Controllers [103c:3239] (rev 01)
Subsystem: Hewlett-Packard Company P840 [103c:21cb]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 92c00000 (64-bit, non-prefetchable)
Memory at 92d00000 (64-bit, non-prefetchable)
I/O ports at 2000
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [b0] MSI-X: Enable+ Count=64 Masked-
Capabilities: [c0] Express Endpoint, MSI 00

[root at freenas] ~# pciconf -lv
...
ciss0 at pci0:8:0:0: class=0x010700 card=0x21cb103c chip=0x3239103c
rev=0x01 hdr=0x00
    vendor     = 'Hewlett-Packard Company'
    class      = mass storage
    subclass   = SAS
...


More information about the freebsd-scsi mailing list