X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C8700E.4C167F84@onstor-exch02.onstor.net>; Fri, 15 Feb 2008 13:06:48 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C8700E.4C167F84"
Content-class: urn:content-classes:message
Subject: RE: Are the FPs created equal...
Date: Fri, 15 Feb 2008 13:06:48 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E07A8D9CB@onstor-exch02.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0862724C@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Are the FPs created equal...
Thread-Index: AchwCzoM8jv1Q+rLSEW5yIejKkzakAAAS+YAAABgJSA=
From: "Mike Lee" <mike.lee@onstor.com>
To: "Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>
Cc: "dl-Cougar" <dl-Cougar@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8700E.4C167F84
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Thanks Max.=20
Guess I should have picked up on Andy's point about "any FP" during
lunch on Tuesday...
Could have saved me a few days worth of frustration...
So, when convenient, please let me know if you have the answer to
question c below...
-Mike

>  -----Original Message-----
> From: 	Maxim Kozlovsky =20
> Sent:	Friday, February 15, 2008 11:54 AM
> To:	Mike Lee
> Cc:	dl-Cougar
> Subject:	RE: Are the FPs created equal...
>=20
> Hello,
>=20
> Just use FP_ANY. Since all FPs are equal there could not possibly be a
> reason to try to pick up a particular FP.
>=20
> Max
>=20
> _____________________________________________
> From: Mike Lee=20
> Sent: Friday, February 15, 2008 11:46 AM
> To: Maxim Kozlovsky
> Cc: dl-Cougar
> Subject: Are the FPs created equal...
>=20
> Hi Max:
>=20
> I found that sending RMC messages from the SSC to FP3 and FP4 does not
> seem to work, while sending to FP1 and FP2 works to expectation.
>=20
> This assessment is based on the fact that when I intercept the
> FP-bound RMC message in rmc_internal_senddata() (ssc-rmc/rmc.c) and
> force the destination CPU to be 2 or 3 (or 7 for "any"), then message
> gets to the destination (and NDMP does not hang):
>         if ((sess->raddr.eaddr.seee_cpu !=3D 2) &&
>             (sess->raddr.eaddr.seee_cpu !=3D 3)) {
> 	    sess->raddr.eaddr.seee_cpu =3D 7;
>         }
>=20
> If the cpu id had been 4 (FP3) or 5 (FP4), then the RMC message would
> seem to get sent successfully, i.e. no error returned from sendmsg() /
> sendto(), but the management bus driver code would not receive it to
> do the FP-forwarding.
>=20
> My questions are:
> a. are the FPs created equal?=20
> b. is my "hack" logic above an acceptable workaround?
> c. what Onstor code gets executed between sendto() on the SSC and the
> mgmtBus_rxPacket() on the TxRx?  I think something is missing in that
> the new Cougar FPs are not fully supported.
>=20
> Thanks for your help again.
>=20
> -Mike

------_=_NextPart_001_01C8700E.4C167F84
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>RE: Are the FPs created equal...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P DIR=3DLTR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Thanks Max. =
</FONT></P>

<P DIR=3DLTR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Guess I =
should have picked up on Andy's point about &quot;any FP&quot; during =
lunch on Tuesday...</FONT></P>

<P DIR=3DLTR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Could have =
saved me a few days worth of frustration...</FONT></P>

<P DIR=3DLTR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">So, when =
convenient, please let me know if you have the answer to question c =
below...</FONT></P>

<P DIR=3DLTR><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">-Mike</FONT></P>
<UL DIR=3DLTR>
<P DIR=3DLTR><FONT FACE=3D"Arial"><SPAN =
LANG=3D"en-us"></SPAN></FONT><SPAN LANG=3D"en-us">&nbsp;<FONT SIZE=3D1 =
FACE=3D"Tahoma">-----Original Message-----</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">From: &nbsp;</FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">Maxim Kozlovsky&nbsp; </FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">Friday, February 15, 2008 11:54 AM</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">Mike Lee</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">dl-Cougar</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
</B> <FONT SIZE=3D1 FACE=3D"Tahoma">RE: Are the FPs created =
equal...</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#000080" SIZE=3D2 =
FACE=3D"Arial">Hello,</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#000080" SIZE=3D2 =
FACE=3D"Arial">Just use FP_ANY. Since all FPs are equal there could not =
possibly be a reason to try to pick up a particular =
FP.</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#000080" SIZE=3D2 =
FACE=3D"Arial">Max</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma">_____________________________________________<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">From:</FONT></B><FONT SIZE=3D2 FACE=3D"Tahoma"> Mike =
Lee<BR>
</FONT><B><FONT SIZE=3D2 FACE=3D"Tahoma">Sent:</FONT></B><FONT SIZE=3D2 =
FACE=3D"Tahoma"> Friday, February 15, 2008 11:46 AM<BR>
</FONT><B><FONT SIZE=3D2 FACE=3D"Tahoma">To:</FONT></B><FONT SIZE=3D2 =
FACE=3D"Tahoma"> Maxim Kozlovsky<BR>
</FONT><B><FONT SIZE=3D2 FACE=3D"Tahoma">Cc:</FONT></B><FONT SIZE=3D2 =
FACE=3D"Tahoma"> dl-Cougar<BR>
</FONT><B><FONT SIZE=3D2 FACE=3D"Tahoma">Subject:</FONT></B><FONT =
SIZE=3D2 FACE=3D"Tahoma"> Are the FPs created equal...</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Hi =
Max:</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I found =
that sending RMC messages from the SSC to FP3 and FP4 does not seem to =
work, while sending to FP1 and FP2 works to =
expectation.</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">This =
assessment is based on the fact that when I intercept the FP-bound RMC =
message in rmc_internal_senddata() (ssc-rmc/rmc.c) and force the =
destination CPU to be 2 or 3 (or 7 for &quot;any&quot;), then message =
gets to the destination (and NDMP does not hang):</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if =
((sess-&gt;raddr.eaddr.seee_cpu !=3D 2) &amp;&amp;</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; (sess-&gt;raddr.eaddr.seee_cpu !=3D 3)) {</FONT></SPAN></P>

<P DIR=3DLTR><SPAN =
LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp; sess-&gt;raddr.eaddr.seee_cpu =3D =
7;</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
}</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">If the =
cpu id had been 4 (FP3) or 5 (FP4), then the RMC message would seem to =
get sent successfully, i.e. no error returned from sendmsg() / sendto(), =
but the management bus driver code would not receive it to do the =
FP-forwarding.</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">My =
questions are:</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">a. are =
the FPs created equal? </FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">b. is my =
&quot;hack&quot; logic above an acceptable workaround?</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">c. what =
Onstor code gets executed between sendto() on the SSC and the =
mgmtBus_rxPacket() on the TxRx?&nbsp; I think something is missing in =
that the new Cougar FPs are not fully supported.</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Thanks =
for your help again.</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">-Mike</FONT></SPAN></P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01C8700E.4C167F84--
