From owner-freebsd-scsi@freebsd.org Tue Dec 1 23:14:47 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 B7589A3E9AD for ; Tue, 1 Dec 2015 23:14:47 +0000 (UTC) (envelope-from jonathon.reinhart@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 7C3661330; Tue, 1 Dec 2015 23:14:47 +0000 (UTC) (envelope-from jonathon.reinhart@gmail.com) Received: by igvg19 with SMTP id g19so105965334igv.1; Tue, 01 Dec 2015 15:14:46 -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; bh=KElP99VON9/j+v/dc9ENRftUjSpjoz/+jNcAfWVGvOc=; b=u1zXtdYnKJQzIkM9pNDqCtCCtSvxdEB+FoUdEnSO6R5+1NnNs8aH7UknlAV0xZgs2J HsoWNMMftWx2EXnRyf0us6HO4VgI1XfXrAFHtK6ucj/spKnUGs+6Jbvw0I2ei/H7T85W VJ/e9STj9ZSH3CI4PxlpJBrqzMIapXHcRCaPdVxxRW7O9Be3EEDzWGu+zTHc0d+6hOGU dvZWb8EQg6R6CgZbzv1gI4afcoW+ruy4vbkkGqlnejiINTu19Iu/9vZxs76LqNUfOG4l CPnEvMD+c/x9BBEoT5mtLSsBAqXi9s1b/XQp5C9z/XeglM6fcl5qjFqCCBSJnY1T+wQH KUHQ== X-Received: by 10.50.150.9 with SMTP id ue9mr717219igb.40.1449011686780; Tue, 01 Dec 2015 15:14:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.10.67 with HTTP; Tue, 1 Dec 2015 15:14:17 -0800 (PST) In-Reply-To: <565E258A.7000907@freebsd.org> References: <20151120.084410.74714437.sthaug@nethelp.no> <30640027-5C49-4AC0-9BAF-7E6208F7DD13@yahoo.com> <565E258A.7000907@freebsd.org> From: Jonathon Reinhart Date: Tue, 1 Dec 2015 18:14:17 -0500 Message-ID: Subject: Re: ciss(4) HP Smart Array P840 To: Sean Bruno Cc: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Tue, 01 Dec 2015 23:14:47 -0000 On Tue, Dec 1, 2015 at 5:56 PM, Sean Bruno wrote: >> fcae8e0 Appears to be the winner here, adding JBOD / HBA mode >> support. > > If you're happy with the results, I can totally do the merge back to > stable/9 for you. But does that actually help you out here? > > sean I was able to re-build FreeNAS 9.3 with the patches, and see that the disks were assigned da* names. As far as I could tell, the patches worked. However, I was seeing periodic messages from the kernel which repeat every ~minute for all 4 drives installed: ciss0: *** Physical drive failure, Port=1I Box=1 Bay=1 reason=0x43 ciss0: *** Physical drive failure, Port=1I Box=1 Bay=2 reason=0x43 ciss0: *** Physical drive failure, Port=1I Box=1 Bay=3 reason=0x43 ciss0: *** Physical drive failure, Port=1I Box=1 Bay=4 reason=0x43 This appears to be printed from ciss_notify_complete(), and the error message actually comes from the card: /* * If the adapter gave us a text message, print it. */ if (cn->message[0] != 0) ciss_printf(sc, "*** %.80s\n", cn->message); I confirmed (by running strings on the firmware image) that it is indeed the card generating this message. HP tech support would lead one to believe otherwise, but they also asked if FreeBSD was Linux-based, so take that for what it's worth. I was unable to determine what reason=0x43 meant. The only clue I had was that the HP Smart Storage Administrator told me that my 4Kn drives were unsupported and unavailable for configuration. I wouldn't imagine this would matter, considering the card was in HBA mode. Nonetheless, I wasn't about to put a machine in production with "Physical drive failure" messages being spewed, red-herring or not. So I've let this project go for now. If anyone trying to install FreeNAS on an HP server finds this, I'd be willing to help in any way I could. Thanks for the help, Jonathon