From nobody Wed Jun 23 11:04:59 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8EE8611D9B58 for ; Wed, 23 Jun 2021 11:05:05 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G90m03fD6z4V7M for ; Wed, 23 Jun 2021 11:05:03 +0000 (UTC) (envelope-from ohartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1624446301; bh=E+umS5nRLTpumVZy3EoXMzS11DV4D7ddban/lQ267tU=; h=X-UI-Sender-Class:Date:From:To:Subject; b=lTslp2yXlThi/PlGhM1J/sLgSLzFG0TIf5A9jaOZEHu1v05Ywnml7BhA2NEkvBGHk ueugrbiiHZoaOgpuYgAXHm8+QhVklv45w6fqgipBkYG5a5SWIFviCwf3XbhzK0+Q5x pl8NJJ5787nGYoffv6YgS+60yFxJIUlqyYEho4Mk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([93.232.138.215]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mo6qp-1lSkgI0j8N-00pcF2 for ; Wed, 23 Jun 2021 13:05:01 +0200 Date: Wed, 23 Jun 2021 13:04:59 +0200 From: "O. Hartmann" To: freebsd-current Subject: storcli: howto crossflash Fujitsu PRAID400i to LSI3008 HBA? Message-ID: <20210623130455.60efd02f@freyja> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:OeJH3gKC3xf1wkjo8HkoAnkKkqZxfFgf3/0qvEuRxg46PXyrU8/ Rl7AVHbw1RhJDwK0dXF3UQXxIFHgSH1DXLFSn1zEim5sCdqd+gK7Z4bnW+aIlJNaVG4JrCI pMZjs4xmS9rvX/RPyANE0xhye/4Ze1BxkIKgCYWGKcHVDswkxx28rLgirf+s26ej3HTB+e6 JL5KVNNcJHZhWlQuVLywA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:s90D/DlEjWQ=:foze61R+ZeNQ44qIDCfAA0 41bbspN3EyHja29LH6C0EYxHBaCC0WJKSz6zQgHKS8/uMaGpNs86dxZSUusI0aiQLyNEX/jxC AP2Zcqfaw/HZcWV5CY3sIgE7vXED4jrQ9tlu3ZZ1HdNLJsOq4l9V+jnFK7YO775z8NOsFUFUR IZrjtOAX4z+4ETeWfloOwTFXfHjMUZfUlmnIBL9HlHSLl5/jcWYl1u/XkYS/0KhK8zonnYl0a rVBLpJJlWn1ZO6R4JAg1cpRosek5nhMQxkAijREkao52zZEgZF6r2KQhFdkQqF/p6+SjTuItW NhS5N3qayQWHJqz+ZAMHcoI2Swy4FVgtaxEHiZJp/KpdCevgfsbb3199O1+zfM7DA2OAChAt7 RAQTvkVejqfT//pXx/NrkuqkI6dAYMYWwhEJFDZQ8eFYGlCy3O4YG+rsvSLOsTaAc8eAuQAKL swU2bK8bpBBEjmmggvxKjwUx0AtgI1VKaJd12jGKnY3pndIRrZlupPQQtXPON3ybHbCO5n0yn hA76cOxrNAIKUATZ/y4UvJMre2AB/UTt3z2p3H9b/lrTqxGS8X1VUP8MRdYzIrCadBipKBOS9 YsWfn241iCKulU9x1ZY6YJ81LzCxxLiX4aZOwp5A5jdAe7khxBeUi1I3wGLj/h/+31QxyBxWC wpcDnK06GYawySyQn0kbmkLoJSgfZyl/rh6ut53yv837AbGUVr+YwnuDXYrSxkmoRbN8A4ZE3 bkI5Z9n+OLBNfEt6SqtDoawMop+BL2GsnxzWwJDbvrdL17kMlprDLIKeWymBNuZ8dRjDqDiW9 ENz468oQtyhudY1peaG/CVGhfez3dNAM66+r2XLo755gowx1L6qQRi6XWyHy0wRRrmviHFQkX RjNpga78XZtYF0DU/O7HTsLtqvD/m/qvOckDG+DSqD68mBVfpETLmdrChGqToBuH6q/tLtWyr s58etkVL35VzWMpgkLn/EO4jJ7qSgpnnYvupZCcHGdBzkLfcxNSN5M0zvXqHA+pbnRr23MT91 W0Xs3kAU0nBcnkDrp7on3ojZsn/6cu9p9FFVB99V/XYn6Rq+TVqVaOzvXK4E0VcZ3eBCDOPRS wJCE6nQtYuQjuTZts5kiPFcbIq17pGX31zfxb28huYgp/f186MxUAvb1g== X-Rspamd-Queue-Id: 4G90m03fD6z4V7M X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=lTslp2yX; dmarc=none; spf=none (mx1.freebsd.org: domain of ohartmann@walstatt.org has no SPF policy when checking 212.227.17.21) smtp.mailfrom=ohartmann@walstatt.org X-Spamd-Result: default: False [-1.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.61)[-0.609]; RECEIVED_SPAMHAUS_PBL(0.00)[93.232.138.215:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.21:from]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.988]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[walstatt.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.17.21:from:127.0.2.255]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.21:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N Hello out there. I have a bunch of Fujitsu PRAID400i Controller from some servers we switch= to FreeBSD driven systems and ZFS. I will not use RAID controllers with ZFS s= o I tried to cross flash these controllers, but without any success. The DOS t= ools I use produce on several mainboards a PAL error. The motherboard's UEFI I uitilise doesn't provide a UEFI shell, so at that point it seems I'm stuck= . I found the FreeBSD port storcli, but the tool doesn't crossflash - or it do= esn't reveal its magic knobs to do so. The sas3flash FreeBSD binary imag from Broadcom https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8i doesn't recognize the test adapter (the adapters seem to have different st= ages of firmware brandings, some from 2015 do have Avago, other, newer from 201= 9, seem to be branded with Broadcom): pciconf -lvbc mrsas0@pci0:1:0:0: class=3D0x010400 rev=3D0x02 hdr=3D0x00 vendor=3D0x= 1000 device=3D0x005f subvendor=3D0x1734 subdevice=3D0x1211 vendor =3D 'Broadcom / LSI' device =3D 'MegaRAID SAS-3 3008 [Fury]' class =3D mass storage subclass =3D RAID bar [10] =3D type I/O Port, range 32, base 0xe000, size 256, enabled bar [14] =3D type Memory, range 64, base 0xfb300000, size 65536, ena= bled bar [1c] =3D type Memory, range 64, base 0xfb200000, size 1048576, e= nabled cap 01[50] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] =3D PCI-Express 2 endpoint max data 256(4096) FLR NS max read 512 link x4(x8) speed 8.0(8.0) ASPM disabled(L0s) cap 05[a8] =3D MSI supports 1 message, 64 bit, vector masks cap 11[c0] =3D MSI-X supports 97 messages, enabled Table in map 0x14[0xe000], PBA in map 0x14[0xf000] ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 1 corrected ecap 0019[1e0] =3D PCIe Sec 1 lane errors 0 ecap 0004[1c0] =3D Power Budgeting 1 ecap 0016[190] =3D DPA 1 ecap 000e[148] =3D ARI 1 The sas3flash utility reports: # /tmp/Installer_P16_for_FreeBSD/sas3flash_freebsd_amd64_rel/sas3flash Avago Technologies SAS3 Flash Utility Version 17.00.00.00 (2018.04.02) Copyright 2008-2018 Avago Technologies. All rights reserved. No Avago SAS adapters found! Limited Command Set Available! Finished Processing Commands Successfully. Exiting SAS3Flash. Does anyone have had success on flashing this type of SAS controller from = IR firmware to IT firmware? Thanks in advance, oliver