From owner-freebsd-scsi@freebsd.org Fri Nov 20 16:50:16 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA64EA31F08 for ; Fri, 20 Nov 2015 16:50:16 +0000 (UTC) (envelope-from jonathon.reinhart@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 950381297; Fri, 20 Nov 2015 16:50:16 +0000 (UTC) (envelope-from jonathon.reinhart@gmail.com) Received: by ioek191 with SMTP id k191so11604726ioe.3; Fri, 20 Nov 2015 08:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=YOmcETfIRs0KcohfM1HsL5lDPgVpK98+3rvN+bN8z1o=; b=xotsoElHi5eY8ZYFDzLN96keA51kY5gLxIkFpljn2mYBviRWR6VRFIE0HUigdSc7Ba aECLNG5ywWs+SPzU/YsZxgB3fkzwCkzoJdQfWe+RcJjzoB3/i099Q2++hpvHuyBF6Z09 cVuzeUr+P0H2ri3abXJeKQ1I3Yllbee9OzR+/hhIY6P/JuOerw6rXHghLaa0zZu/XTQy XqfQ2hb/1cvFQyAGNdSDv5LWC8RsBaME7IN7XtBhYpFmqGRRu5ZS4FXnZ/Oo9xyNciyI CiDeJ5bIx6hu6G91QIoT05f6msPOg7NTbrXqEyc6NaxqSyFaZ77VgYlYrBA3eyYB1Q/I 511A== X-Received: by 10.107.3.101 with SMTP id 98mr16475292iod.182.1448038215866; Fri, 20 Nov 2015 08:50:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.10.67 with HTTP; Fri, 20 Nov 2015 08:49:46 -0800 (PST) In-Reply-To: <78A8F47E-211F-4DE1-8B39-8978A5D9B7F5@yahoo.com> References: <564E05E7.8020307@freebsd.org> <78A8F47E-211F-4DE1-8B39-8978A5D9B7F5@yahoo.com> From: Jonathon Reinhart Date: Fri, 20 Nov 2015 11:49:46 -0500 Message-ID: Subject: Re: ciss(4) HP Smart Array P840 To: Scott Long Cc: Sean Bruno , freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 16:50:16 -0000 On Thu, Nov 19, 2015 at 6:20 PM, Scott Long 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: at scbus1 target 4 lun 0 (pass0) 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: at scbus4 target 0 lun 0 (pass2,da0) 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 ...