X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C86DAE.C0626C8A@onstor-exch02.onstor.net>; Tue, 12 Feb 2008 12:37:49 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C86DAE.C0626C8A"
Content-class: urn:content-classes:message
Subject: New fcadmin commands for Cougar
Date: Tue, 12 Feb 2008 12:37:49 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E080AF369@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New fcadmin commands for Cougar
Thread-Index: AchtrsBHu5tTYHqBTOG9/892i77w6w==
From: "Jeff Miller" <IMCEAEX-_O=ONSTOR_OU=FIRST+20ADMINISTRATIVE+20GROUP_CN=RECIPIENTS_CN=JEFF+2EMILLER@onstor.com>
To: "dl-Cougar" <dl-Cougar@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C86DAE.C0626C8A
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

This has been added to the wiki :
http://wiki.onstor.net/wiki/FC_console_commands#Changes

The Cougar code has some new FC test/debug features.  The information in
the SFP prom can be displayed from the FP console.  This might be useful
when debugging FC issues, such as mismatched FC speeds.  The SFP info
will also show up in the FP core files as part of the FC control block.


There are also some new options for FC loopback testing.  The default
loopback tests actually spend most of the time in memset/memcmp and are
not actually exercising the FC hardware most of the time.  The new
options allow setting the transfer size and number of transfers between
compares.  The default transfer size is 256k and the default is to
compare buffers after every transfer.  Setting the loopback params to
256k and 100 interations, for example, would do 100 transfers and the
only compare the last one.  This would be useful for loading up the PCI
bus.  The loopback tests can be run on unused FC ports at the same time
as normal activity.  The port needs to be enabled to run the tests.  The
internal tests don't need any cable or even a SFP.


Added to the fcadmin menu (from FP console):

fcadmin <port> mode_diag_plback - run internal 10 bit loopback diag

fcadmin <port> sfp - display sfp info

fcadmin <port> diag_parm <sz> <iter> - loopback params


Example of SFP display:

FP0:2 > fcadmin 0 sfp
fcadmin 0 sfp
 20 40 56 68
vendor =3D FINISAR CORP.    pn FTLF8524P2BNL    rev A    sn PCC29G9
1GB 2GB 4GB
03 04 07 00 00 00 00 20 40 0c 15 01 2a 00 00 00
0f 07 00 00 46 49 4e 49 53 41 52 20 43 4f 52 50
2e 20 20 20 00 00 90 65 46 54 4c 46 38 35 32 34
50 32 42 4e 4c 20 20 20 41 20 20 20 03 52 00 66
00 12 00 00 50 43 43 32 39 47 39 20 20 20 20 20
20 20 20 20 30 37 30 39 31 39 20 20 68 d0 01 a6
FP0:3 >


------_=_NextPart_001_01C86DAE.C0626C8A
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>New fcadmin commands for Cougar</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">This =
has been added to the wiki :</FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
FACE=3D"Arial"><A =
HREF=3D"http://wiki.onstor.net/wiki/FC_console_commands#Changes">http://w=
iki.onstor.net/wiki/FC_console_commands#Changes</A></FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">The =
Cougar code has some new FC test/debug features.&nbsp; The information =
in the SFP prom can be displayed from the FP console.&nbsp; This might =
be useful when debugging FC issues, such as mismatched FC speeds.&nbsp; =
The SFP info will also show up in the FP core files as part of the FC =
control block.&nbsp; </FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">There =
are also some new options for FC loopback testing.&nbsp; The default =
loopback tests actually spend most of the time in memset/memcmp and are =
not actually exercising the FC hardware most of the time.&nbsp; The new =
options allow setting the transfer size and number of transfers between =
compares.&nbsp; The default transfer size is 256k and the default is to =
compare buffers after every transfer.&nbsp; Setting the loopback params =
to 256k and 100 interations, for example, would do 100 transfers and the =
only compare the last one.&nbsp; This would be useful for loading up the =
PCI bus.&nbsp; The loopback tests can be run on unused FC ports at the =
same time as normal activity.&nbsp; The port needs to be enabled to run =
the tests.&nbsp; The internal tests don't need any cable or even a =
SFP.</FONT></SPAN></P>
<BR>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Added =
to the fcadmin menu (from FP console):</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">fcadmin &lt;port&gt; mode_diag_plback - run internal 10 =
bit loopback diag</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">fcadmin &lt;port&gt; sfp - display sfp =
info</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">fcadmin &lt;port&gt; diag_parm &lt;sz&gt; &lt;iter&gt; - =
loopback params</FONT></SPAN></P>
<BR>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">Example of SFP display:</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">FP0:2 =
&gt; fcadmin 0 sfp</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">fcadmin 0 sfp</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;20 40 56 68</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">vendor =3D FINISAR CORP.&nbsp;&nbsp;&nbsp; pn =
FTLF8524P2BNL&nbsp;&nbsp;&nbsp; rev A&nbsp;&nbsp;&nbsp; sn =
PCC29G9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1GB 2GB =
4GB</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">03 04 =
07 00 00 00 00 20 40 0c 15 01 2a 00 00 00</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">0f 07 =
00 00 46 49 4e 49 53 41 52 20 43 4f 52 50</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">2e 20 =
20 20 00 00 90 65 46 54 4c 46 38 35 32 34</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">50 32 =
42 4e 4c 20 20 20 41 20 20 20 03 52 00 66</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">00 12 =
00 00 50 43 43 32 39 47 39 20 20 20 20 20</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">20 20 =
20 20 30 37 30 39 31 39 20 20 68 d0 01 a6</FONT></SPAN></P>

<P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">FP0:3 =
&gt;</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

</BODY>
</HTML>
------_=_NextPart_001_01C86DAE.C0626C8A--
