Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2015 11:49:46 -0500
From:      Jonathon Reinhart <jonathon.reinhart@gmail.com>
To:        Scott Long <scott4long@yahoo.com>
Cc:        Sean Bruno <sbruno@freebsd.org>, freebsd-scsi@freebsd.org
Subject:   Re: ciss(4) HP Smart Array P840
Message-ID:  <CAPFHKzeOKpZrvC08yScvwK4962RpD=856UpcaY2NCosB5sYcnA@mail.gmail.com>
In-Reply-To: <78A8F47E-211F-4DE1-8B39-8978A5D9B7F5@yahoo.com>
References:  <CAPFHKzf65eSsg0aNe5wjS1jUVeh7gd9xgvAvMVuc6Shunsc9GA@mail.gmail.com> <564E05E7.8020307@freebsd.org> <CAPFHKzeetkCrvA1PwqoGYKUALEAAWpS9=%2Bm8MRF7wnW_Wf%2BwXA@mail.gmail.com> <78A8F47E-211F-4DE1-8B39-8978A5D9B7F5@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 19, 2015 at 6:20 PM, Scott Long <scott4long@yahoo.com> wrote:
> Since you can see the volumes in camcontrol, the low-level driver and com=
munications protocol is working.  What=E2=80=99s odd at the moment is that =
the volumes are returning an inquiry response that CAM doesn=E2=80=99t full=
y understand; that=E2=80=99s 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@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@build3.ixsystems.com:/tank/home/jkh/build/FN/objs/os-base/amd64/tank/h=
ome/jkh/build/FN/FreeBSD/src/sys/FREENAS.amd64
 amd64

[root@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@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-1E=
R1|
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@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-1E=
R1|
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@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=3D1/32 Maskable- 64bit+
Capabilities: [b0] MSI-X: Enable+ Count=3D64 Masked-
Capabilities: [c0] Express Endpoint, MSI 00

[root@freenas] ~# pciconf -lv
...
ciss0@pci0:8:0:0: class=3D0x010700 card=3D0x21cb103c chip=3D0x3239103c
rev=3D0x01 hdr=3D0x00
    vendor     =3D 'Hewlett-Packard Company'
    class      =3D mass storage
    subclass   =3D SAS
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPFHKzeOKpZrvC08yScvwK4962RpD=856UpcaY2NCosB5sYcnA>