From owner-freebsd-stable@freebsd.org Sat Nov 14 12:18:28 2015 Return-Path: Delivered-To: freebsd-stable@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 8EA52A2EF98 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 E3D62179A 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-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code 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--