From owner-freebsd-scsi@freebsd.org Fri Nov 20 18:17:21 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 5D765A34565 for ; Fri, 20 Nov 2015 18:17:21 +0000 (UTC) (envelope-from scott4long@yahoo.com) Received: from nm25-vm8.bullet.mail.gq1.yahoo.com (nm25-vm8.bullet.mail.gq1.yahoo.com [98.136.217.119]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 298B51305 for ; Fri, 20 Nov 2015 18:17:20 +0000 (UTC) (envelope-from scott4long@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1448043039; bh=mtD9QqSIv5L3hP7kveEEBnaI5PS5C0CmLi3zyl7Ao6I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=jyfAQQL+UQ1XZSZqcONwCTDb4Q99g+X+h4n8ttF4VvVNBHx1zaYWfFu42xvh2jn9mk5Y7LsvYTIjvbmroroeTbtoFx4t3AXKBKuK9zyuutUYNLjqV1lzqZi0FKGR4nne2EzaHPCowgS/FhIst1rtW53pXVBvC8dM4dnKkQN0Yj8oLEdKV1dV6hB3Qz1WmbxoUTSEwd2zFZDpNHHdQDppKjYoAkc8FHcTYNaaIiQ45jr5IvSWhqX4EdUsi4zx1InGPxqIm+woA2tsVRykSPaX63zrGGOd4fjGxJkpIR6o9/xuhP3AoPN6x42McO4Ut7lBBHv4z7omikpuqDragLszrA== Received: from [98.137.12.190] by nm25.bullet.mail.gq1.yahoo.com with NNFMP; 20 Nov 2015 18:10:39 -0000 Received: from [208.71.42.197] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 20 Nov 2015 18:10:39 -0000 Received: from [127.0.0.1] by smtp208.mail.gq1.yahoo.com with NNFMP; 20 Nov 2015 18:10:39 -0000 X-Yahoo-Newman-Id: 136727.43299.bm@smtp208.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ts0lR1cVM1kn_B7wESfwNKiVy4U_DErM9XOD7b6PHSN1wn4 C9kAVZt_vZ.LNhZRxQ2JY0GX_tFZvRE5ixpu5xhwB0PIErwpnjZMK4E6imPe 3p0M7qET0_6IckAOgifvQUZyPv.20S0XpWPRDve1ONcbZxngbHD2_eNYSEdQ sznSZZoRFz0pdpZmFEVPwGwBZxv.b5COUUg0YK00stZdqU9rKDp14NMnfQ2O 8xpfKYJCmQ1pYlxvE.tp9acnlLg7nzopyOsumv9es1.xIkH3ahAvJCPmc3kF bVaBEPQ6JJKzd7AAXOVROq1aLWEDvZbckOaw9bFxEI.OweQT6chX1Kyl.ITv X9ZpCeevJzJjdMOqm4PvpsJcw_KsM5f3GWlasrhBAmI0vi6QeljCyBtCEdVr CDOAJllSCJgRylBlej6D6WpzJ92GOEFAfGraqQdHfwO0Je0rqxKrxEYpaJY0 s_FbymfpelTIZVNn.N0Vb1OmiXg43uZ4yWiyzmGbY.tuu3eP9p8LfqdqzHPI PYqdDhKtBtRVZ2WMVlCkvg.4vrfl3Wuq3NVujZpzoFA-- X-Yahoo-SMTP: clhABp.swBB7fs.LwIJpv3jkWgo2NU8- Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: ciss(4) HP Smart Array P840 From: Scott Long In-Reply-To: Date: Fri, 20 Nov 2015 11:10:38 -0700 Cc: sthaug@nethelp.no, Sean Bruno , freebsd-scsi@freebsd.org, freebsd-drivers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <30640027-5C49-4AC0-9BAF-7E6208F7DD13@yahoo.com> References: <20151120.084410.74714437.sthaug@nethelp.no> To: Jonathon Reinhart X-Mailer: Apple Mail (2.3096.5) 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 18:17:21 -0000 Very strange. Thanks for testing FreeBSD 10. The problem seems to be = that the driver thinks that the controller is NOT in JBOD mode. = There=E2=80=99s special code to hide component members in RAID mode; it = changes the first byte of the inquiry response to 0x1f. That change = indeed shows up in the results that you gave me. I don=E2=80=99t see = any significant changes in the ciss driver between 10.x and 11 that = would explain why one driver detects the card mode and the other does = not. Scott > On Nov 20, 2015, at 10:24 AM, Jonathon Reinhart = wrote: >=20 > On Fri, Nov 20, 2015 at 2:44 AM, wrote: >> 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: >=20 > For giggles, I booted up FreeBSD 10.2-STABLE (r290274), and it > successfully sees the drives (P840, HBA mode). >=20 > # camcontrol devlist > at scbus1 target 4 lun 0 (pass0, da0) > at scbus1 target 5 lun 0 (pass0, da0) > ... >=20 > So I guess this is just a FreeBSD 9.3 vs 10.2 issue, and unfortunately > FreeNAS uses the former. > I'm still unsure why the difference exists, as it seems like ciss is > largely unchanged from 9.3 to 10.2.