Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 22:13:19 -0400
From:      Brian McGovern <rogan.mcgovern@gmail.com>
To:        Yuri <yuri@aetern.org>
Cc:        questions@freebsd.org
Subject:   Re: isp support for QLogic 2722/firmware?
Message-ID:  <CAPe4eRRKhgALVumtNfVQ2bhEm8y9HX3U02=UNB2udjMvuV40Sg@mail.gmail.com>
In-Reply-To: <5cf2f487-a5d2-55b7-49df-51690ac22412@aetern.org>
References:  <CAPe4eRRB9o6CfijMfdxDMQFDKuxe9-C4D=FLkVpmDMn5kZz00w@mail.gmail.com> <5cf2f487-a5d2-55b7-49df-51690ac22412@aetern.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ae305106016e8207
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

 >> I'm curious if anyone has this working, and if so, any chance I can
>> obtain the firmware or process you are using? I'm hoping its something
>> like flashing an image to the card with some other OS first. TIA

> Support for this (and some other newer HBAs) was added recently to
> 14-CURRENT, see latest commits in
> https://cgit.freebsd.org/src/log/sys/dev/isp
<https://cgit.freebsd.org/src/log/sys/dev/isp>.

Its getting late locally, so take this with a grain of salt... I'm pretty
sure I grabbed the main branch from git, and effectively did a MFC (working
with 13.2-RELEASE). Looking at the diffs you pointed me to vs. whats on the
disk, it looks like I have the latest bits, but I'll check it again
tomorrow to be sure. Its possible I'm missing something.

The problem is consistent. When the adapters try to come up, and I'm using
them as kernel modules right now just so I can cycle through testing
faster, I continue to get

"isp_2700 could not load firmware image, error 2"

if I don't hack up the ispfw driver/module to have something that meets the
name requirements for "isp_2700" firmware.

and if I try to create a firmware module it can install with the
bk014519.bin firmware file, it'll happily find something for firmware, but
then throws a:
isp0: Mailbox Command (0xb) Timeout (100000us) (isp_reset:373)
isp0: Mailbox Command 'LOAD RISC RAM' failed (TIMEOUT)
isp0: F/W download failed
isp0: isp_reinit: cannot reset card
device_attach: isp0 attach returned 6

So, what I think is missing is either a.) finding a good firmware image
that I can load via the driver, or b.) figuring out how to flash firmware
to the adapter via some other means, and figure out how to skip the load
step when the driver starts. Hence why I'm hoping to find someone who has
the card working, so I can clone their process.

But, if anyone has other ideas, I'm all ears.

     -Brian

On Wed, Jul 26, 2023 at 8:55=E2=80=AFPM Yuri <yuri@aetern.org> wrote:

> Brian McGovern wrote:
> > Quick question about the isp and card support. I have an HPE branded
> > Qlogic ISP 2722 that I'm trying to bring online. Following the various
> > tutorials I loaded ispfw, then the isp driver. I got an error message
> > "isp_2700 could not load firmware image, error 2". The boards don't com=
e
> > online.
> >
> > Looking at the man page, it appears supported on the Qlogic
> > 2740/2742/2764 (aka 2722/2714) line, so I tried to chase down some
> > firmware and duplicate the isp_2400 and isp_2500 functionality with the
> > .bin file. Now, it tries to load but I get a firmware loading failure.
> > I'm assuming that either current versions and .bin files are
> > incompatible with the other loading processes, or I just screwed
> > something up in all the translation (I found a bk014519.bin file).
> >
> > I'm curious if anyone has this working, and if so, any chance I can
> > obtain the firmware or process you are using? I'm hoping its something
> > like flashing an image to the card with some other OS first. TIA
>
> Support for this (and some other newer HBAs) was added recently to
> 14-CURRENT, see latest commits in
> https://cgit.freebsd.org/src/log/sys/dev/isp.
>
>

--000000000000ae305106016e8207
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">
<span class=3D"gmail-im">&gt;&gt; I&#39;m curious if anyone has this workin=
g, and if so, any chance I can<br>
&gt;&gt; obtain the firmware or process you are using? I&#39;m hoping its s=
omething<br>
&gt;&gt; like flashing an image to the card with some other OS first. TIA<b=
r>
<br></span>
&gt; Support for this (and some other newer HBAs) was added recently to<br>
&gt; 14-CURRENT, see latest commits in<br>
<div><a href=3D"https://cgit.freebsd.org/src/log/sys/dev/isp" rel=3D"norefe=
rrer" target=3D"_blank">&gt; https://cgit.freebsd.org/src/log/sys/dev/isp</=
a>. <br></div><div><br></div><div>Its getting late locally, so take this wi=
th a grain of salt... I&#39;m pretty sure I grabbed the main branch from gi=
t, and effectively did a MFC (working with 13.2-RELEASE). Looking at the di=
ffs you pointed me to vs. whats on the disk, it looks like I have the lates=
t bits, but I&#39;ll check it again tomorrow to be sure. Its possible I&#39=
;m missing something.<br></div><div><br></div><div>The problem is consisten=
t. When the adapters try to come up, and I&#39;m using them as kernel modul=
es right now just so I can cycle through testing faster, I continue to get<=
/div><div><br></div><div>
<span class=3D"gmail-im">&quot;isp_2700 could not load firmware image, erro=
r 2&quot;</span></div><div><span class=3D"gmail-im"><br></span></div><div><=
span class=3D"gmail-im">if I don&#39;t hack up the ispfw driver/module to h=
ave something that meets the name requirements for &quot;isp_2700&quot; fir=
mware.<br></span> </div><div><br></div><div>and if I try to create a firmwa=
re module it can install with the bk014519.bin firmware file, it&#39;ll hap=
pily find something for firmware, but then throws a:</div><div>isp0: Mailbo=
x Command (0xb) Timeout (100000us) (isp_reset:373)</div><div>isp0: Mailbox =
Command &#39;LOAD RISC RAM&#39; failed (TIMEOUT)</div><div>isp0: F/W downlo=
ad failed</div><div>isp0: isp_reinit: cannot reset card</div><div>device_at=
tach: isp0 attach returned 6</div><div><br></div><div>So, what I think is m=
issing is either a.) finding a good firmware image that I can load via the =
driver, or b.) figuring out how to flash firmware to the adapter via some o=
ther means, and figure out how to skip the load step when the driver starts=
. Hence why I&#39;m hoping to find someone who has the card working, so I c=
an clone their process.</div><div><br></div><div>But, if anyone has other i=
deas, I&#39;m all ears.</div><div><br></div><div>=C2=A0=C2=A0=C2=A0=C2=A0 -=
Brian<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Wed, Jul 26, 2023 at 8:55=E2=80=AFPM Yuri &lt;<a href=3D=
"mailto:yuri@aetern.org">yuri@aetern.org</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">Brian McGovern wrote:<br>
&gt; Quick question about the isp and card support. I have an HPE branded<b=
r>
&gt; Qlogic ISP 2722 that I&#39;m trying to bring online. Following the var=
ious<br>
&gt; tutorials I loaded ispfw, then the isp driver. I got an error message<=
br>
&gt; &quot;isp_2700 could not load firmware image, error 2&quot;. The board=
s don&#39;t come<br>
&gt; online.<br>
&gt; <br>
&gt; Looking at the man page, it appears supported on the Qlogic<br>
&gt; 2740/2742/2764 (aka 2722/2714) line, so I tried to chase down some<br>
&gt; firmware and duplicate the isp_2400 and isp_2500 functionality with th=
e<br>
&gt; .bin file. Now, it tries to load but I get a firmware loading failure.=
<br>
&gt; I&#39;m assuming that either current versions and .bin files are<br>
&gt; incompatible with the other loading processes, or I just screwed<br>
&gt; something up in all the translation (I found a bk014519.bin file).<br>
&gt; <br>
&gt; I&#39;m curious if anyone has this working, and if so, any chance I ca=
n<br>
&gt; obtain the firmware or process you are using? I&#39;m hoping its somet=
hing<br>
&gt; like flashing an image to the card with some other OS first. TIA<br>
<br>
Support for this (and some other newer HBAs) was added recently to<br>
14-CURRENT, see latest commits in<br>
<a href=3D"https://cgit.freebsd.org/src/log/sys/dev/isp" rel=3D"noreferrer"=
 target=3D"_blank">https://cgit.freebsd.org/src/log/sys/dev/isp</a>.<br>;
<br>
</blockquote></div>

--000000000000ae305106016e8207--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPe4eRRKhgALVumtNfVQ2bhEm8y9HX3U02=UNB2udjMvuV40Sg>