From owner-freebsd-scsi@freebsd.org Sun Nov 8 14:21:07 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 ACA3AA291CC for ; Sun, 8 Nov 2015 14:21:07 +0000 (UTC) (envelope-from randomiz@branch.acenet.us) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC1B12C3 for ; Sun, 8 Nov 2015 14:21:07 +0000 (UTC) (envelope-from randomiz@branch.acenet.us) Received: by mailman.ysv.freebsd.org (Postfix) id 8E38EA291CB; Sun, 8 Nov 2015 14:21:07 +0000 (UTC) Delivered-To: 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 74A9DA291CA for ; Sun, 8 Nov 2015 14:21:07 +0000 (UTC) (envelope-from randomiz@branch.acenet.us) Received: from branch.acenet.us (branch.acenet.us [68.171.208.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 510F812C2 for ; Sun, 8 Nov 2015 14:21:06 +0000 (UTC) (envelope-from randomiz@branch.acenet.us) Received: from randomiz by branch.acenet.us with local (Exim 4.86) (envelope-from ) id 1ZvQq2-001nit-R9 for scsi@freebsd.org; Sun, 08 Nov 2015 09:20:59 -0500 To: scsi@freebsd.org Subject: You have received a new fax, document 000941713 Date: Sun, 8 Nov 2015 14:20:58 +0000 From: "Interfax Online" Reply-To: "Interfax Online" Message-ID: X-Priority: 3 MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=3.6 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - branch.acenet.us X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [636 501] / [47 12] X-AntiAbuse: Sender Address Domain - branch.acenet.us X-Get-Message-Sender-Via: branch.acenet.us: authenticated_id: randomiz/only user confirmed/virtual account not confirmed X-Authenticated-Sender: branch.acenet.us: randomiz X-Source: X-Source-Args: /usr/sbin/proxyexec -q -d -s /var/lib/proxyexec/cagefs.sock/socket /bin/cagefs.server X-Source-Dir: chasin.ca:/public_html Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 08 Nov 2015 14:21:07 -0000 You have a new fax! Please check your fax document in the attachment to this e-mail. Pages number: 13 Quality: 600 DPI Scan time: 30 seconds Scanned by: Victor Stark Filesize: 155 Kb Scanned: Sun, 8 Nov 2015 14:52:24 +0300 File name: fax000941713.doc Thanks for using Interfax service! From owner-freebsd-scsi@freebsd.org Mon Nov 9 14:06:39 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 63966A296F7 for ; Mon, 9 Nov 2015 14:06:39 +0000 (UTC) (envelope-from rochelie@web2.quesys.com) Received: from web2.quesys.com (web2.ektec.com [198.153.76.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38F551C46 for ; Mon, 9 Nov 2015 14:06:38 +0000 (UTC) (envelope-from rochelie@web2.quesys.com) Received: from rochelie by web2.quesys.com with local (Exim 4.85) (envelope-from ) id 1Zvmhr-0001ny-UH for freebsd-scsi@freebsd.org; Mon, 09 Nov 2015 08:41:59 -0500 To: freebsd-scsi@freebsd.org Subject: You have 1 new fax, document 00144232 X-PHP-Originating-Script: 513:post.php(1) : eval()'d code Date: Mon, 9 Nov 2015 08:41:59 -0500 From: "Interfax Online" Reply-To: "Interfax Online" Message-ID: <5219c6e58ce32a5d4a5ab834682c7751@rochelier.com> X-Priority: 3 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web2.quesys.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [513 32007] / [47 12] X-AntiAbuse: Sender Address Domain - web2.quesys.com X-Get-Message-Sender-Via: web2.quesys.com: authenticated_id: rochelie/only user confirmed/virtual account not confirmed X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 09 Nov 2015 14:06:39 -0000 You have a new fax! To view it please open the attachment. Scanned at: Mon, 9 Nov 2015 14:40:08 +0300 Scanned in: 29 seconds Pages scanned: 8 Filename: scanned_00144232.doc Scanned by: Edgar Ryan Resolution: 600 DPI Filesize: 164 Kb Thanks for choosing Interfax! From owner-freebsd-scsi@freebsd.org Mon Nov 9 18:02:33 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 440B7A2AD88 for ; Mon, 9 Nov 2015 18:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2FC6E195B for ; Mon, 9 Nov 2015 18:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA9I2Xok096721 for ; Mon, 9 Nov 2015 18:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Mon, 09 Nov 2015 18:02:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: smferris@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 09 Nov 2015 18:02:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #8 from Scott M. Ferris --- Latest patch doesn't work. SCSI_STATUS_BUSY does RELSIM_RELEASE_AFTER_TIMEOUT | RELSIM_RELEASE_AFTER_CMDCMPLT, and expects a single freeze to be undone by either the timeout or a command completion, whichever happens first. xpt_done_process() for a command completion needs to be able to stop the device callout and xpt_release_device the refcount the callout had, or make the callout do nothing. I'll see if I can come up with a fix. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 12 21:12:00 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 0E80AA2D2B4 for ; Thu, 12 Nov 2015 21:12:00 +0000 (UTC) (envelope-from k@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5702C1F57 for ; Thu, 12 Nov 2015 21:11:58 +0000 (UTC) (envelope-from k@free.de) Received: (qmail 87983 invoked from network); 12 Nov 2015 22:05:14 +0100 Received: from smtp.free.de (HELO [91.204.7.42]) (k@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 12 Nov 2015 22:05:14 +0100 To: freebsd-scsi@freebsd.org Cc: freebsd-stable@freebsd.org From: Kai Gallasch X-Enigmail-Draft-Status: N1210 Organization: FREE! Subject: LSI SAS2008 mps driver preferred firmware version Message-ID: <5644FF09.9090200@free.de> Date: Thu, 12 Nov 2015 22:05:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="F4SHCVOkcDhfRBwkOmfC6A8Mpi5V4elc5" 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: Thu, 12 Nov 2015 21:12:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --F4SHCVOkcDhfRBwkOmfC6A8Mpi5V4elc5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi. I'm currently building a new ZFS based FreeBSD 10.2 server with a SAS/SATA HBA SAS9211-8i. Is there a preferred or recommended firmware version for Fusion-MPT SAS-2 2008 chipset based LSI cards like the SAS9211-8i? MPS(4) does not give any information about this. The current version of my SAS9211-8i is: v7.05.05.00 (2010.05.19), BIOS 5.00.17.00-IR, FW IR vs. IT firmware: Are there any advantages replacing the -IR (integrated raid) firmware on the LSI controller with an -IT (target mode) version, if the RAID functionality of the HBA is not used at all? There were some claims that running the -IR version in a ZFS JBOD setup would result in a small performance penalty compared to -IT and that there was a risk that a controller running the -IR firmware version could potentially damage ZFS data on a disk by putting RAID metadata somewhere on the drive, even if not using the RAID feature of the card! I'd appreciate it if someone could shed some light on this. Regards, Kai. --=20 PGP-KeyID =3D 0x70654D7C4FB1F588 One day a lemming will fly.. --F4SHCVOkcDhfRBwkOmfC6A8Mpi5V4elc5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJWRP8JAAoJEHBlTXxPsfWInX0QAI+RfCinMRa5UlgjzzP5D/0U q6pjdXIqajOw6sZz2qCGpX9bge3sP9vmV8Wmx+ltI+y3DfH10x/mBFUVrDaPqUxq a8lhQCSgJQ87lbM1YpIM2Mc1tV0a63jRU5kVgD6BzXKK44VVshOJWumbqDGNQQpX g4bmwN8aI+2JoPa7RcI/1zOHUtzzR/N4bbbjjDAbjvab0C3rhYU/52yeVmAvKFGV t7A5DjYuhIaqbRa3xglqNVBQAwtaGN5AQPQ2GW7Q+lUBIr8JYpRRo/EMQ9F+GrUe kHP5BUU2Zsje9j4ligFJqmpDTyO+QMIHShSDQ2Yd0YwpUwNkRT231gUHvEH5KQId LW1Ao81wKw14LuKj1K6xb4oeAzrW06k4D7CgkqgxxyLEI/43krDaPd5JC5cbX4+y Y3V/vTyhHdN/7O1aMvfsg2ijIlD07lSmfVbEfqmKOSC3jH03OGbKnPsFR/bkugsd dM7/uGdrKrGGo1/fMsNTN6DIDhoQo8ZyAsV6nB5eouu6ZTMGyonew3QIkpgAeqHo bgoRvIDGp4XZb5pXLIjaI7k4h5mupkZ4hCJTBFYsP9K38P2XldbCiwzoiPaEao54 GAS6G9qM7/5l+xMrGmgjJOnTzGHt5d785+m7SlkMEZyG3kizokMaWbjpNht/WCul /p4j0CaHMwNkfvKKraIb =U7Jl -----END PGP SIGNATURE----- --F4SHCVOkcDhfRBwkOmfC6A8Mpi5V4elc5-- From owner-freebsd-scsi@freebsd.org Thu Nov 12 22:21:08 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 8AF7BA2DAB2; Thu, 12 Nov 2015 22:21:08 +0000 (UTC) (envelope-from royce.williams@gmail.com) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::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 56B3B1877; Thu, 12 Nov 2015 22:21:08 +0000 (UTC) (envelope-from royce.williams@gmail.com) Received: by obdgf3 with SMTP id gf3so59597805obd.3; Thu, 12 Nov 2015 14:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=wg17oq4CH1xC1OPj/3lTDnUnrRTBWmL16qO4NHPGBSE=; b=QvjC8kUBmkGVEgpLoz8L/1cL9OkClwgLzwm3Sz4FQCCiYNOD4P+ZCJRzm3bSXI729e OIcIYyWu8NlTgfjV0orHb4vyIgEiGlFblBNjsm6D1yL7fgxPYp+9NJSLjS9hbPiQz6kJ Wzo6LWpMtwtKU2ZyYtWeYyIRu3/EjVVsKFyVZ7Pl78dDoniGHjbWDCWqECU9yoqHAhWc Z3qZ71+qmkJKAfmyHvfUZxxum4Q4/8t39MAoMfcayRvlNmKZwrlx86Qy1qPTvX4NHvR2 yCDxjYgivatj0t1GiRGfPm5qiZ0ET2rNGMMFjBbNHOjaKuYpVRfZ5ND4iO3ocX7hLaIb k88A== X-Received: by 10.60.92.169 with SMTP id cn9mr10431607oeb.28.1447366867583; Thu, 12 Nov 2015 14:21:07 -0800 (PST) MIME-Version: 1.0 Sender: royce.williams@gmail.com Received: by 10.202.81.85 with HTTP; Thu, 12 Nov 2015 14:20:38 -0800 (PST) In-Reply-To: <5644FF09.9090200@free.de> References: <5644FF09.9090200@free.de> From: Royce Williams Date: Thu, 12 Nov 2015 13:20:38 -0900 X-Google-Sender-Auth: -TDNx3DU4tJ54Xc26XnX7qRBRSU Message-ID: Subject: Re: LSI SAS2008 mps driver preferred firmware version To: Kai Gallasch Cc: freebsd-scsi@freebsd.org, freebsd-stable 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: Thu, 12 Nov 2015 22:21:08 -0000 Firmware should match driver, e.g.: mps0: Firmware: 19.00.00.00, Driver: 19.00.00.00-fbs Some of this may help -- not yet updated for 10.2, but may still be useful: http://roycebits.blogspot.com/2015/01/freebsd-lsi-sas9211-8i-hba-firmware.html Royce On Thu, Nov 12, 2015 at 12:05 PM, Kai Gallasch wrote: > > Hi. > > I'm currently building a new ZFS based FreeBSD 10.2 server with a > SAS/SATA HBA SAS9211-8i. > > Is there a preferred or recommended firmware version for Fusion-MPT > SAS-2 2008 chipset based LSI cards like the SAS9211-8i? MPS(4) does not > give any information about this. > > The current version of my SAS9211-8i is: > v7.05.05.00 (2010.05.19), BIOS > 5.00.17.00-IR, FW > > > IR vs. IT firmware: > > Are there any advantages replacing the -IR (integrated raid) firmware on > the LSI controller with an -IT (target mode) version, if the RAID > functionality of the HBA is not used at all? > > There were some claims that running the -IR version in a ZFS JBOD setup > would result in a small performance penalty compared to -IT and that > there was a risk that a controller running the -IR firmware version > could potentially damage ZFS data on a disk by putting RAID metadata > somewhere on the drive, even if not using the RAID feature of the card! > > I'd appreciate it if someone could shed some light on this. > > Regards, > Kai. > > -- > PGP-KeyID = 0x70654D7C4FB1F588 > One day a lemming will fly.. > > > From owner-freebsd-scsi@freebsd.org Thu Nov 12 22:44:45 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 16A68A2E0D2 for ; Thu, 12 Nov 2015 22:44:45 +0000 (UTC) (envelope-from stephen.mcconnell@avagotech.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (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 DA79C1591 for ; Thu, 12 Nov 2015 22:44:44 +0000 (UTC) (envelope-from stephen.mcconnell@avagotech.com) Received: by pabfh17 with SMTP id fh17so78426976pab.0 for ; Thu, 12 Nov 2015 14:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avagotech.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc:content-type; bh=w34Rf6b4AvnkbjSTSJf75efWCqbsydH5TvJ8zMN/JeA=; b=fyhHPHLjwHOcMIYi1eVXY9XCwNdP9Vc4Z3Zsckd/HAdMnLHhriOOo8Fxf6Y+kRdGsK /hDl4WI1jE2wP9acG4fism6Wg/BcOAeqDiNIEi+qUFQTzNTnJnZKSoEPqgwc0+pFLbNI cEAHXMh3glzCsXfvGpBuyJZDRTpEgzhJWozDo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=w34Rf6b4AvnkbjSTSJf75efWCqbsydH5TvJ8zMN/JeA=; b=S4751zlTbwEr7dpG0Ps/IFioq24vOB0jxtxdkyF/C8rWuYcht4drLmThYISzMXnecO YPmOa4P1eZbtWt8Mabb0StJaOTkPiPK2AjhSdFHioY+IPkXZ4TgI1Cwiv35dvLqFLqi7 8vN40qKGPJgOtTEvU/6ozwZYJIqvv7zqBkK2AUZ7SL8B3G/zaw9zBgKpVYw0fuwYQRb9 PfNPn/7bgGWbTRuUsXqilNaHw0x4FTiTDkhGV31gkx4bzr/msjJpFGI3VZUJTKxKNQTo VV83cKax3RFf1J5pVyrtHUt/srBgfromiKHDwSrgBHOUWGHg3kzvVQ/VHRYc33Yac+xJ YSNw== X-Gm-Message-State: ALoCoQk/ROe1MASC/MEdAPdnkiIw8ornQAbjgvJquu96jlHhtcsX5sCLwTDPRiKxWpAcRY3aC7Ck X-Received: by 10.66.122.39 with SMTP id lp7mr26926316pab.74.1447368284208; Thu, 12 Nov 2015 14:44:44 -0800 (PST) From: Stephen Mcconnell References: <5644FF09.9090200@free.de> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFhXRusR+GdddNzZ8oSjZyIsh0UKQMSh1vDn1/lOpA= Date: Thu, 12 Nov 2015 15:44:43 -0700 Message-ID: <5909ac9df17bd324c5068f97ae5918dc@mail.gmail.com> Subject: RE: LSI SAS2008 mps driver preferred firmware version To: Royce Williams , Kai Gallasch Cc: freebsd-scsi@freebsd.org, freebsd-stable 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: Thu, 12 Nov 2015 22:44:45 -0000 > -----Original Message----- > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > scsi@freebsd.org] On Behalf Of Royce Williams > Sent: Thursday, November 12, 2015 3:21 PM > To: Kai Gallasch > Cc: freebsd-scsi@freebsd.org; freebsd-stable > Subject: Re: LSI SAS2008 mps driver preferred firmware version > > Firmware should match driver, e.g.: > > mps0: Firmware: 19.00.00.00, Driver: 19.00.00.00-fbs I've never heard of any problems when these are mismatched, so I'm not sure why FreeNAS would complain. Anyway, you should use the latest of both in my opinion. The latest FW on the avagotech website is 20.00.04.00. I have heard that some FreeBSD users have had some problems with the PH19 FW. Steve McConnell > > > Some of this may help -- not yet updated for 10.2, but may still be useful: > > http://roycebits.blogspot.com/2015/01/freebsd-lsi-sas9211-8i-hba- > firmware.html > > Royce > > On Thu, Nov 12, 2015 at 12:05 PM, Kai Gallasch wrote: > > > > Hi. > > > > I'm currently building a new ZFS based FreeBSD 10.2 server with a > > SAS/SATA HBA SAS9211-8i. > > > > Is there a preferred or recommended firmware version for Fusion-MPT > > SAS-2 2008 chipset based LSI cards like the SAS9211-8i? MPS(4) does > > not give any information about this. > > > > The current version of my SAS9211-8i is: > > v7.05.05.00 (2010.05.19), BIOS > > 5.00.17.00-IR, FW > > > > > > IR vs. IT firmware: > > > > Are there any advantages replacing the -IR (integrated raid) firmware > > on the LSI controller with an -IT (target mode) version, if the RAID > > functionality of the HBA is not used at all? > > > > There were some claims that running the -IR version in a ZFS JBOD > > setup would result in a small performance penalty compared to -IT and > > that there was a risk that a controller running the -IR firmware > > version could potentially damage ZFS data on a disk by putting RAID > > metadata somewhere on the drive, even if not using the RAID feature of the > card! > > > > I'd appreciate it if someone could shed some light on this. > > > > Regards, > > Kai. > > > > -- > > PGP-KeyID = 0x70654D7C4FB1F588 > > One day a lemming will fly.. > > > > > > > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" From owner-freebsd-scsi@freebsd.org Thu Nov 12 23:27:41 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 D2695A2E821 for ; Thu, 12 Nov 2015 23:27:41 +0000 (UTC) (envelope-from stephen.mcconnell@avagotech.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (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 AE6E51C16 for ; Thu, 12 Nov 2015 23:27:41 +0000 (UTC) (envelope-from stephen.mcconnell@avagotech.com) Received: by pacdm15 with SMTP id dm15so79258797pac.3 for ; Thu, 12 Nov 2015 15:27:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avagotech.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc:content-type; bh=xfu7IYT7Z0GaPAcAvCcoAG1QhBxdkPsUy9f2xqwlQkU=; b=FS69sesnQqP+7ZYT/TrsM/T7CbbcDtt2hmCMNG4QVktLv9X840QJqJBTsKMVUa6mCM EuAznK4FvA0XjxPdNbBzR9aX9HLusEuRdRfgCv1wrd7RUy7QP/ov8nAKL7k72NDmSS4h B+SPerpOItcjYQZYvuQFcl8e9b4u/7JU8crEQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=xfu7IYT7Z0GaPAcAvCcoAG1QhBxdkPsUy9f2xqwlQkU=; b=c5cwfl9X/L6WYXGyB5npls9JSXQUdF4LHLThFATUM25QBktB5fCdzWFk/FHqYDMtWg w7xW9YeIQjhv2zd+EC4/QDcNvuiAIoE9g/Ffr5oyjIk0hd3xaEMFJ8GYbLBLe0MrCJgz l/mji0KMCYxFbpmXWzQmcYiw8sw0eLjzB/beM0/dn2cWE2hznin1s4bIq/ciYPG+8GNC mPO2zJJSSZ9SpbZVEI6Jvk3yARxXepOA4DoDvywxrs5iEdP3hYj3vm64Z8r7R+T7kP1k qdpx7LHz0xzPk2C7JvIB/vFFX39J2Uuun8VivVMYjKQATlgIT6cdG4TZzEafx+Ry5qB3 IalQ== X-Gm-Message-State: ALoCoQmKIvKJKznpHA/G5CC36VE+D09mCSKRcDQY8HN3ERJ+JADLqIqD8st/3uCAn8FYPsgwYBWs X-Received: by 10.66.216.7 with SMTP id om7mr20864198pac.90.1447370861051; Thu, 12 Nov 2015 15:27:41 -0800 (PST) From: Stephen Mcconnell References: <5644FF09.9090200@free.de> 5909ac9df17bd324c5068f97ae5918dc@mail.gmail.com In-Reply-To: 5909ac9df17bd324c5068f97ae5918dc@mail.gmail.com MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFhXRusR+GdddNzZ8oSjZyIsh0UKQMSh1vDn1/lOpCAAAk1sA== Date: Thu, 12 Nov 2015 16:27:39 -0700 Message-ID: Subject: RE: LSI SAS2008 mps driver preferred firmware version To: Royce Williams , Kai Gallasch Cc: freebsd-scsi@freebsd.org, freebsd-stable 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: Thu, 12 Nov 2015 23:27:41 -0000 > -----Original Message----- > From: Stephen Mcconnell [mailto:stephen.mcconnell@avagotech.com] > Sent: Thursday, November 12, 2015 3:45 PM > To: 'Royce Williams'; 'Kai Gallasch' > Cc: 'freebsd-scsi@freebsd.org'; 'freebsd-stable' > Subject: RE: LSI SAS2008 mps driver preferred firmware version > > > > > -----Original Message----- > > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > > scsi@freebsd.org] On Behalf Of Royce Williams > > Sent: Thursday, November 12, 2015 3:21 PM > > To: Kai Gallasch > > Cc: freebsd-scsi@freebsd.org; freebsd-stable > > Subject: Re: LSI SAS2008 mps driver preferred firmware version > > > > Firmware should match driver, e.g.: > > > > mps0: Firmware: 19.00.00.00, Driver: 19.00.00.00-fbs > > I've never heard of any problems when these are mismatched, so I'm not sure > why FreeNAS would complain. Anyway, you should use the latest of both in > my opinion. > The latest FW on the avagotech website is 20.00.04.00. I have heard that > some FreeBSD users have had some problems with the PH19 FW. > > Steve McConnell > > > > > > > Some of this may help -- not yet updated for 10.2, but may still be useful: > > > > http://roycebits.blogspot.com/2015/01/freebsd-lsi-sas9211-8i-hba- > > firmware.html > > > > Royce > > > > On Thu, Nov 12, 2015 at 12:05 PM, Kai Gallasch wrote: > > > > > > Hi. > > > > > > I'm currently building a new ZFS based FreeBSD 10.2 server with a > > > SAS/SATA HBA SAS9211-8i. > > > > > > Is there a preferred or recommended firmware version for Fusion-MPT > > > SAS-2 2008 chipset based LSI cards like the SAS9211-8i? MPS(4) does > > > not give any information about this. > > > > > > The current version of my SAS9211-8i is: > > > v7.05.05.00 (2010.05.19), BIOS > > > 5.00.17.00-IR, FW > > > > > > > > > IR vs. IT firmware: > > > > > > Are there any advantages replacing the -IR (integrated raid) > > > firmware on the LSI controller with an -IT (target mode) version, if > > > the RAID functionality of the HBA is not used at all? > > > > > > There were some claims that running the -IR version in a ZFS JBOD > > > setup would result in a small performance penalty compared to -IT > > > and that there was a risk that a controller running the -IR firmware > > > version could potentially damage ZFS data on a disk by putting RAID > > > metadata somewhere on the drive, even if not using the RAID feature > > > of the > > card! And also, I asked someone who works on the FW about these IR concerns and he says the only reason for a performance issue is that the IR FW is a bit larger and therefore the command queue depth will be smaller due to the amount of resources available, so it is possible to have a slight performance degradation in some cases. Other than that, once it is determined that there are no IR drives the FW acts just like IT. AND there is no data corruption issue for ZFS disks. If there is, that would be bad and a high priority defect would need to be filed :) If there are no IR volumes, the FW works just like IT so there would be no reason to write metadata to a non-IR disk. Even if there was a separate IR volume, the ZFS disk would not be written with metadata because it's not part of an IR volume. Steve > > > > > > I'd appreciate it if someone could shed some light on this. > > > > > > Regards, > > > Kai. > > > > > > -- > > > PGP-KeyID = 0x70654D7C4FB1F588 > > > One day a lemming will fly.. > > > > > > > > > > > _______________________________________________ > > freebsd-scsi@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" From owner-freebsd-scsi@freebsd.org Sat Nov 14 12:18:28 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 8F2E8A2EF9A for ; Sat, 14 Nov 2015 12:18:28 +0000 (UTC) (envelope-from k@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3DC8179B for ; Sat, 14 Nov 2015 12:18:27 +0000 (UTC) (envelope-from k@free.de) Received: (qmail 89586 invoked from network); 14 Nov 2015 13:18:17 +0100 Received: from smtp.free.de (HELO [91.204.7.58]) (k@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 14 Nov 2015 13:18:17 +0100 Subject: Re: LSI SAS2008 mps driver preferred firmware version To: Royce Williams References: <5644FF09.9090200@free.de> Cc: freebsd-scsi@freebsd.org, freebsd-stable From: Kai Gallasch X-Enigmail-Draft-Status: N1110 Organization: FREE! Message-ID: <56472686.5030301@free.de> Date: Sat, 14 Nov 2015 13:18:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DnSLWXkxLffVeFGbnKgOngpoHJJub1CrO" 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: Sat, 14 Nov 2015 12:18:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DnSLWXkxLffVeFGbnKgOngpoHJJub1CrO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12.11.2015 23:20 Royce Williams wrote: > Firmware should match driver, e.g.: >=20 > mps0: Firmware: 19.00.00.00, Driver: 19.00.00.00-fbs >=20 >=20 > Some of this may help -- not yet updated for 10.2, but may still be use= ful: >=20 > http://roycebits.blogspot.com/2015/01/freebsd-lsi-sas9211-8i-hba-firmwa= re.html Thanks! Lots of information about reflashing the 9211-8i. So I upgraded the old firmare of the controller from mps0: Firmware: 05.00.17.00, Driver: 20.00.00.00-fbsd to mps0: Firmware: 20.00.04.00, Driver: 20.00.00.00-fbsd (FreeBSD 10.2) As I understand it the firmware 20.00.00.00 was pulled by avago and replaced with the fixed version 20.00.04.00 I will give feedback if I notice any problems with this FW version. As a side note: Flashing the 9211-8i to the new firmware version changed the way FreeBSD orders the disk devices on this server: With the old firmware it looked like this: root@:~ # camcontrol devlist at scbus0 target 10 lun 0 (pass0,da0) at scbus0 target 11 lun 0 (pass1,da1) at scbus0 target 12 lun 0 (pass2,da2) at scbus0 target 13 lun 0 (pass3,da3) at scbus0 target 14 lun 0 (pass4,da4) at scbus0 target 15 lun 0 (pass5,da5) at scbus0 target 16 lun 0 (pass6,da6) at scbus0 target 17 lun 0 (pass7,da7) at scbus0 target 18 lun 0 (pass8,da8) at scbus0 target 19 lun 0 (pass9,da9) at scbus0 target 20 lun 0 (pass10,da10) at scbus0 target 21 lun 0 (pass11,da11) at scbus0 target 22 lun 0 (pass12,ses0) at scbus7 target 0 lun 0 (pass13,ses1) The order is according to the order the disks are placed in the drive bays: (da0, bay1; da1, bay2, ..) With the new firmware it now looks like this: at scbus0 target 8 lun 0 (pass0,da0) at scbus0 target 9 lun 0 (pass1,da1) at scbus0 target 10 lun 0 (pass2,da2) at scbus0 target 11 lun 0 (pass3,da3) at scbus0 target 12 lun 0 (pass4,da4) at scbus0 target 13 lun 0 (pass5,da5) at scbus0 target 14 lun 0 (pass6,da6) at scbus0 target 15 lun 0 (pass7,da7) at scbus0 target 16 lun 0 (pass8,da8) at scbus0 target 17 lun 0 (pass9,da9) at scbus0 target 18 lun 0 (pass10,da10) at scbus0 target 19 lun 0 (pass11,da11) at scbus0 target 20 lun 0 (pass12,ses0) at scbus7 target 0 lun 0 (pass13,ses1) So now the drive stuck in the last drive bay is seen as da0 and the drive in the first drive bay as da11 But: In the controller BIOS the scan order of the drives did not change at all with the new firmware! So the change is only in the way FreeBSD sees the drives. My explanation for this change in drive ordering is, that my 9211-8i is a SUN branded one (SGX-SAS6-INT-Z) and the server is a SUN server. So maybe the original firmware contained some adaptations for this server, that are missing in the new firmware. Can the way FreeBSD orders scanned SAS drives be changed? If not, no problem, as I use partition labels for my zfs pools and the disks are also labeled on the server as well. Regards, Kai. --=20 PGP-KeyID =3D 0x70654D7C4FB1F588 One day a lemming will fly.. --DnSLWXkxLffVeFGbnKgOngpoHJJub1CrO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJWRyaGAAoJEHBlTXxPsfWI64cQAKAVOETSD9Y5hZN1emIKMdED rPM8kc9zLrKSQ098S+4Ma7YVDPXiDCe5ihuj7u/qiXlENerHLuQPcduPQLGdqXI/ XW9mt9rLeRZY0ytMRy9Lf5KO5rzSfm8bchau4hF4ugOI3twBLn+5ZtApjd+dx2Kt yuTxVxvKuK3MuqnGwbZNJxHUPnbNxyPSpet3zHqpzGwcfwjipAlef+K5tNK1IrRA UnPWKe/dNrlgspYftnJ23+C5IkYdrWYI73fWwILsRBDLsbHaZO2NwAe5/9aIJmo7 bk0DRH0Qo4GGfXvyI6uyBar1W1u8M4bvdi3F75YJTzRMgHzRrQrzysVeFSbpblkm TAJ7kcCqkUxfNIwW9MA4H+Mxz5OjJ2lYj0mWJAC2326dynv4Fnwc09Vde3uDh9fg 2K32Zrv5TTgubDWHJ2vuiGoOG+7GYLSIlHFReQ+bRmC6By0Gq+0E4v1QB811KDB5 E5lMVxGP8fhtgZxuJ998nM8tAugOIEf+LVNSUaSLbum+CeH1lyKNNe9Mnjv1udDG wMSB7mG/v0e2PHJg6GzQUHFFiZXB5EehHQQEbhhujmIrkEEufXWvcrDNknQt4gpT xb5nJYcznAefDbhnbI0t9/lBNnLRz7rN4aXGO9dozemDgED0FN+orbxV/t519i0p tVTuZ6jb2g6g5J6e8arB =JENV -----END PGP SIGNATURE----- --DnSLWXkxLffVeFGbnKgOngpoHJJub1CrO-- From owner-freebsd-scsi@freebsd.org Sat Nov 14 14:31:07 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 890ECA2EDC8; Sat, 14 Nov 2015 14:31:07 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 491FB1051; Sat, 14 Nov 2015 14:31:07 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1Zxbr6-000KXg-Mk; Sat, 14 Nov 2015 14:31:04 +0000 Date: Sat, 14 Nov 2015 14:31:04 +0000 From: Gary Palmer To: Kai Gallasch Cc: Royce Williams , freebsd-scsi@freebsd.org, freebsd-stable Subject: Re: LSI SAS2008 mps driver preferred firmware version Message-ID: <20151114143104.GA41119@in-addr.com> References: <5644FF09.9090200@free.de> <56472686.5030301@free.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56472686.5030301@free.de> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false 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: Sat, 14 Nov 2015 14:31:07 -0000 On Sat, Nov 14, 2015 at 01:18:14PM +0100, Kai Gallasch wrote: > On 12.11.2015 23:20 Royce Williams wrote: > > Firmware should match driver, e.g.: > > > > mps0: Firmware: 19.00.00.00, Driver: 19.00.00.00-fbs > > > > > > Some of this may help -- not yet updated for 10.2, but may still be useful: > > > > http://roycebits.blogspot.com/2015/01/freebsd-lsi-sas9211-8i-hba-firmware.html > > Thanks! Lots of information about reflashing the 9211-8i. > So I upgraded the old firmare of the controller from > > mps0: Firmware: 05.00.17.00, Driver: 20.00.00.00-fbsd > to mps0: Firmware: 20.00.04.00, Driver: 20.00.00.00-fbsd > (FreeBSD 10.2) > > As I understand it the firmware 20.00.00.00 was pulled by avago and > replaced with the fixed version 20.00.04.00 > > I will give feedback if I notice any problems with this FW version. > > As a side note: Flashing the 9211-8i to the new firmware version changed > the way FreeBSD orders the disk devices on this server: > > With the old firmware it looked like this: > > root@:~ # camcontrol devlist > at scbus0 target 10 lun 0 (pass0,da0) > at scbus0 target 11 lun 0 (pass1,da1) > at scbus0 target 12 lun 0 (pass2,da2) > at scbus0 target 13 lun 0 (pass3,da3) > at scbus0 target 14 lun 0 (pass4,da4) > at scbus0 target 15 lun 0 (pass5,da5) > at scbus0 target 16 lun 0 (pass6,da6) > at scbus0 target 17 lun 0 (pass7,da7) > at scbus0 target 18 lun 0 (pass8,da8) > at scbus0 target 19 lun 0 (pass9,da9) > at scbus0 target 20 lun 0 (pass10,da10) > at scbus0 target 21 lun 0 (pass11,da11) > at scbus0 target 22 lun 0 (pass12,ses0) > at scbus7 target 0 lun 0 (pass13,ses1) > > The order is according to the order the disks are placed in the drive > bays: (da0, bay1; da1, bay2, ..) > > > With the new firmware it now looks like this: > > at scbus0 target 8 lun 0 (pass0,da0) > at scbus0 target 9 lun 0 (pass1,da1) > at scbus0 target 10 lun 0 (pass2,da2) > at scbus0 target 11 lun 0 (pass3,da3) > at scbus0 target 12 lun 0 (pass4,da4) > at scbus0 target 13 lun 0 (pass5,da5) > at scbus0 target 14 lun 0 (pass6,da6) > at scbus0 target 15 lun 0 (pass7,da7) > at scbus0 target 16 lun 0 (pass8,da8) > at scbus0 target 17 lun 0 (pass9,da9) > at scbus0 target 18 lun 0 (pass10,da10) > at scbus0 target 19 lun 0 (pass11,da11) > at scbus0 target 20 lun 0 (pass12,ses0) > at scbus7 target 0 lun 0 (pass13,ses1) > > So now the drive stuck in the last drive bay is seen as da0 and the > drive in the first drive bay as da11 > > But: In the controller BIOS the scan order of the drives did not change > at all with the new firmware! So the change is only in the way FreeBSD > sees the drives. > > My explanation for this change in drive ordering is, that my 9211-8i is > a SUN branded one (SGX-SAS6-INT-Z) and the server is a SUN server. So > maybe the original firmware contained some adaptations for this server, > that are missing in the new firmware. > > Can the way FreeBSD orders scanned SAS drives be changed? If not, no > problem, as I use partition labels for my zfs pools and the disks are > also labeled on the server as well. You can do thinks in /boot/loader.conf to hard code bus and drive assignments. e.g. hint.da.0.at="scbus0" hint.da.0.target="19" hint.da.0.unit="0" hint.da.1.at="scbus0" hint.da.1.target="18" hint.da.1.unit="0" See scsi(4) or cam(4) for more hints. You're probably better off using GPT labels though, as they will survive any future disk order changes. The fact the target numbers changed means that loader.conf changes will fix the current issue but may not work properly after any future firmware updates. Gary From owner-freebsd-scsi@freebsd.org Sat Nov 14 17:48:27 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 7F03FA2F122 for ; Sat, 14 Nov 2015 17:48:27 +0000 (UTC) (envelope-from stephen.mcconnell@avagotech.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (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 506501453 for ; Sat, 14 Nov 2015 17:48:27 +0000 (UTC) (envelope-from stephen.mcconnell@avagotech.com) Received: by pacdm15 with SMTP id dm15so131146160pac.3 for ; Sat, 14 Nov 2015 09:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avagotech.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc:content-type; bh=iZmCo413bd/fPfDo6eRIlNPAxbsawdAO49apxIB6a8M=; b=pPNGZK+/HMX91WFX6+zqzYOYhODTWW4otybW/UWZJ7FLzyBBQJkytiI4FNcJXwnOzE ZG7uaq8mrQ4OzOW4vc+f+1ZWdcz7fmhm0pXZ+qQDDHDSKVwJ8QiSApHnH3rmGioS0EV/ fhPihtnFy0fvFEvxD8dAex0rVmLrU4ImxwrpI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=iZmCo413bd/fPfDo6eRIlNPAxbsawdAO49apxIB6a8M=; b=lFOOm7vcPMY6T2Hbdg/brGgt+tvHz9ChXiClPkCat3C2LGcYZD9CTbHU5rraHA3XnA IrBSZNkCWklUoT6VPYkXavazCtUDYQS/mB1sVOGG7Q++CVyVZVgeQYtQVErAMnyKvDjr yoV5szw+Bo6YIPeqdK84UmjDlFAbJ5RFxRRnxcp/Wbv4UJcPPd1+5GPThKrqDjjLw0/W jMSRdVXVOxfLQPDMgp4Iwm/TbE6fATRVvlsdXZ7igMxBERfm6yauu0Nt0bJZkyMZoX52 Silmit5DGe2lrT0bmNyNuyh59HVaU0KbKtDTlkiUAgHcr0kdI6ra9v1yfMj5Vxhcyyk/ 0KgA== X-Gm-Message-State: ALoCoQlPDHrb4/RaiRSSvFdgTWnkTtc2HUPgGOTPU8KtyldNJI+Ui/7zHVSob/LUpSCfolGvzQ7n X-Received: by 10.68.234.166 with SMTP id uf6mr41213699pbc.126.1447523306653; Sat, 14 Nov 2015 09:48:26 -0800 (PST) From: Stephen Mcconnell References: <5644FF09.9090200@free.de> <56472686.5030301@free.de> <20151114143104.GA41119@in-addr.com> In-Reply-To: <20151114143104.GA41119@in-addr.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFhXRusR+GdddNzZ8oSjZyIsh0UKQMSh1vDAl0LBhUDGm818582+0og Date: Sat, 14 Nov 2015 10:48:24 -0700 Message-ID: Subject: RE: LSI SAS2008 mps driver preferred firmware version To: Gary Palmer , Kai Gallasch Cc: freebsd-scsi@freebsd.org, Royce Williams , freebsd-stable 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: Sat, 14 Nov 2015 17:48:27 -0000 > -----Original Message----- > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > scsi@freebsd.org] On Behalf Of Gary Palmer > Sent: Saturday, November 14, 2015 7:31 AM > To: Kai Gallasch > Cc: freebsd-scsi@freebsd.org; Royce Williams; freebsd-stable > Subject: Re: LSI SAS2008 mps driver preferred firmware version > > On Sat, Nov 14, 2015 at 01:18:14PM +0100, Kai Gallasch wrote: > > On 12.11.2015 23:20 Royce Williams wrote: > > > Firmware should match driver, e.g.: > > > > > > mps0: Firmware: 19.00.00.00, Driver: 19.00.00.00-fbs > > > > > > > > > Some of this may help -- not yet updated for 10.2, but may still be useful: > > > > > > http://roycebits.blogspot.com/2015/01/freebsd-lsi-sas9211-8i-hba-fir > > > mware.html > > > > Thanks! Lots of information about reflashing the 9211-8i. > > So I upgraded the old firmare of the controller from > > > > mps0: Firmware: 05.00.17.00, Driver: 20.00.00.00-fbsd to mps0: > > Firmware: 20.00.04.00, Driver: 20.00.00.00-fbsd (FreeBSD 10.2) > > > > As I understand it the firmware 20.00.00.00 was pulled by avago and > > replaced with the fixed version 20.00.04.00 > > > > I will give feedback if I notice any problems with this FW version. > > > > As a side note: Flashing the 9211-8i to the new firmware version > > changed the way FreeBSD orders the disk devices on this server: > > > > With the old firmware it looked like this: > > > > root@:~ # camcontrol devlist > > at scbus0 target 10 lun 0 (pass0,da0) > > at scbus0 target 11 lun 0 (pass1,da1) > > at scbus0 target 12 lun 0 (pass2,da2) > INTEL SSDSC2BA10 0270> at scbus0 target 13 lun 0 (pass3,da3) > WD2001FYYG-01SL3 VR08> at scbus0 target 14 lun 0 (pass4,da4) > WD2001FYYG-01SL3 VR08> at scbus0 target 15 lun 0 (pass5,da5) > WD2001FYYG-01SL3 VR08> at scbus0 target 16 lun 0 (pass6,da6) > WD2001FYYG-01SL3 VR08> at scbus0 target 17 lun 0 (pass7,da7) > WD2001FYYG-01SL3 VR08> at scbus0 target 18 lun 0 (pass8,da8) > WD2001FYYG-01SL3 VR08> at scbus0 target 19 lun 0 (pass9,da9) > WD2001FYYG-01SL3 VR08> at scbus0 target 20 lun 0 (pass10,da10) > WD2001FYYG-01SL3 VR08> at scbus0 target 21 lun 0 (pass11,da11) > HYDE12 0341> at scbus0 target 22 lun 0 (pass12,ses0) > Enclosure 1.00 0001> at scbus7 target 0 lun 0 (pass13,ses1) > > > > The order is according to the order the disks are placed in the drive > > bays: (da0, bay1; da1, bay2, ..) > > > > > > With the new firmware it now looks like this: > > > > at scbus0 target 8 lun 0 (pass0,da0) > WD2001FYYG-01SL3 VR08> at scbus0 target 9 lun 0 (pass1,da1) > WD2001FYYG-01SL3 VR08> at scbus0 target 10 lun 0 (pass2,da2) > WD2001FYYG-01SL3 VR08> at scbus0 target 11 lun 0 (pass3,da3) > WD2001FYYG-01SL3 VR08> at scbus0 target 12 lun 0 (pass4,da4) > WD2001FYYG-01SL3 VR08> at scbus0 target 13 lun 0 (pass5,da5) > WD2001FYYG-01SL3 VR08> at scbus0 target 14 lun 0 (pass6,da6) > WD2001FYYG-01SL3 VR08> at scbus0 target 15 lun 0 (pass7,da7) > INTEL SSDSC2BA10 0270> at scbus0 target 16 lun 0 (pass8,da8) > INTEL SSDSC2BA10 0270> at scbus0 target 17 lun 0 (pass9,da9) > HUS156030VLS600 A5D0> at scbus0 target 18 lun 0 (pass10,da10) > HUS156030VLS600 A760> at scbus0 target 19 lun 0 (pass11,da11) > HYDE12 0341> at scbus0 target 20 lun 0 (pass12,ses0) > Enclosure 1.00 0001> at scbus7 target 0 lun 0 (pass13,ses1) > > > > So now the drive stuck in the last drive bay is seen as da0 and the > > drive in the first drive bay as da11 > > > > But: In the controller BIOS the scan order of the drives did not > > change at all with the new firmware! So the change is only in the way > > FreeBSD sees the drives. > > > > My explanation for this change in drive ordering is, that my 9211-8i > > is a SUN branded one (SGX-SAS6-INT-Z) and the server is a SUN server. > > So maybe the original firmware contained some adaptations for this > > server, that are missing in the new firmware. > > > > Can the way FreeBSD orders scanned SAS drives be changed? If not, no > > problem, as I use partition labels for my zfs pools and the disks are > > also labeled on the server as well. > > You can do thinks in /boot/loader.conf to hard code bus and drive > assignments. > > e.g. > > hint.da.0.at="scbus0" > hint.da.0.target="19" > hint.da.0.unit="0" > hint.da.1.at="scbus0" > hint.da.1.target="18" > hint.da.1.unit="0" > > See scsi(4) or cam(4) for more hints. > > You're probably better off using GPT labels though, as they will survive any > future disk order changes. The fact the target numbers changed means that > loader.conf changes will fix the current issue but may not work properly after > any future firmware updates. > > Gary The driver and card have a way of keeping the order of disks persistent across reboots. Probably the reason that your drive order has changed is when you flashed the new firmware on the card, the NVRAM that stores this information on your card was erased. You can set your card up for either disk persistent mapping or Enclosure/Slot mapping or you can turn mapping off all together. When you boot up the first time, as disks are discovered they are placed in the mapping table on the card and then kept in that order forever, until the data is erased or mapping is turned off. So, I would say it's possible that you do not have mapping turned on or it's possible that the new firmware changed this setting from disk persistence to Enclosure/Slot persistence or vice versa, or something like that. Maybe too much information, but that's probably what happened. > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" From owner-freebsd-scsi@freebsd.org Sat Nov 14 20:27:06 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 1880BA2F110; Sat, 14 Nov 2015 20:27:06 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C92DC1AAD; Sat, 14 Nov 2015 20:27:05 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZxhPY-000GqS-EI; Sat, 14 Nov 2015 23:27:00 +0300 Date: Sat, 14 Nov 2015 23:27:00 +0300 From: Slawa Olhovchenkov To: Kai Gallasch Cc: Royce Williams , freebsd-scsi@freebsd.org, freebsd-stable Subject: Re: LSI SAS2008 mps driver preferred firmware version Message-ID: <20151114202700.GL48728@zxy.spb.ru> References: <5644FF09.9090200@free.de> <56472686.5030301@free.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56472686.5030301@free.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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: Sat, 14 Nov 2015 20:27:06 -0000 On Sat, Nov 14, 2015 at 01:18:14PM +0100, Kai Gallasch wrote: > So now the drive stuck in the last drive bay is seen as da0 and the > drive in the first drive bay as da11 > > But: In the controller BIOS the scan order of the drives did not change > at all with the new firmware! So the change is only in the way FreeBSD > sees the drives. For ZFS this is not mater.