From owner-freebsd-drivers@freebsd.org Fri Nov 20 07:44:20 2015 Return-Path: Delivered-To: freebsd-drivers@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 77E45A339BB for ; Fri, 20 Nov 2015 07:44:20 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id BB6221918 for ; Fri, 20 Nov 2015 07:44:19 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: (qmail 42847 invoked from network); 20 Nov 2015 07:44:10 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 20 Nov 2015 07:44:10 -0000 Date: Fri, 20 Nov 2015 08:44:10 +0100 (CET) Message-Id: <20151120.084410.74714437.sthaug@nethelp.no> To: jonathon.reinhart@gmail.com Cc: freebsd-scsi@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: ciss(4) HP Smart Array P840 From: sthaug@nethelp.no In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 07:44:20 -0000 > 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 : > > > 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: > at scbus1 target 4 lun 0 (pass0) > 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@x.y.z:/usr/src/sys/amd64/compile/DNS amd64 # pciconf -lv ... ciss0@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: 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: at scbus0 target 0 lun 0 (pass0,da0) scbus1 on ciss0 bus 32: scbus2 on ahcich5 bus 0: at scbus2 target 0 lun 0 (pass1) <> at scbus2 target -1 lun ffffffff () scbus3 on ahciem0 bus 0: 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@nethelp.no