X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C874DF.7E9DA6CA@onstor-exch02.onstor.net>; Thu, 21 Feb 2008 16:14:23 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C874DF.7E9DA6CA"
Content-class: urn:content-classes:message
Subject: Warren's PROM upgrade crash
Date: Thu, 21 Feb 2008 16:13:50 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E085F9D89@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Warren's PROM upgrade crash
Thread-Index: Ach032swmPgmFLB2SRemN/use0cBvQ==
From: "Mike Lee" <mike.lee@onstor.com>
To: "dl-Cougar" <dl-Cougar@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C874DF.7E9DA6CA
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All:

Warren is seeing a crash on the embedded processors when he attempts a =
PROM upgrade.

The crashing stack is as follows:

heuristic-fence-post' command.
(gdb) where
#0  eee_forwardPacket (edesc=3D0x200200b900) at eee-fwd.c:2266
#1  0x8301525c in eee_sendFragmentedMessage (src=3D0xffffffff86518c20,
    num_bytes=3D4, dest_port=3D1073741824, source_port=3D1073942574, =
firstDesc=3D0x0)
    at eee-msg.c:183
#2  0x83015334 in eee_alloc_or_send_message (src=3D0xffffffff86518c20,
    num_bytes=3D4, dest_port=3D1073741824, source_port=3D1073942574, =
first_edesc=3D0x0)
    at eee-msg.c:245
#3  0x830157e8 in eee_sendMessage (src=3D0xffffffff86518c20, =
num_bytes=3D4,
    dest_port=3D1073741824, source_port=3D1073942574) at eee-msg.c:384
#4  0x83417478 in do_ack (descr=3D0x40031d5d80, =
msgType=3DpromUpgradeStartAck)
    at upgrade-app.c:74
#5  0x834174b4 in ack_start (descr=3D0x40031d5d80) at upgrade-app.c:92
#6  0x83417710 in do_start (descr=3D0x40031d5d80, =
cb=3D0xffffffff8383b590)
    at upgrade-app.c:206
#7  0x83417c58 in receive_upgrade_message (descr=3D0x40031d5d80)
    at upgrade-app.c:409
#8  0x83012d4c in eee_deliverPacketToApp (edesc=3D0x40031d5d80, =
app_id=3D46)
    at eee-fwd.c:2005
#9  0x83012e28 in eee_processPacket (edesc=3D0x40031d5d80) at =
eee-fwd.c:2117
#10 0x830103bc in eee_poll_local_queue (cb=3D0xffffffff83936ec0, =
tref=3D2)
    at eee-fwd.c:242
#11 0x8301746c in eee_poll (num_loops=3D21) at eee-poll.c:551
#12 0x8304ef84 in getchar () at serio-api.c:333
#13 0x830435e8 in get_line (p=3D0xffffffff86518f28 "", usehist=3D1) at =
hist.c:145
#14 0x83043d34 in get_input (p=3D0xffffffff86518f28 "") at hist.c:259
#15 0x83043d6c in get_cmd (p=3D0xffffffff86518f28 "") at hist.c:284
#16 0x8304d97c in runtime_prompt () at test.c:558
#17 0x8340f168 in smp_entry (a0=3D18446656112779329535, cpu_num=3D2, =
a2=3D0,
    a3=3D1128678705) at smp.c:246
warning: Warning: GDB can't find the start of the function at =
0xffffffff9fc0bccc.
(gdb) list
2261
2262        dp =3D edesc->hdr.dest_port;
2263
2264        if (EEE_GET_APP_ID(dp) =3D=3D 0)
2265            panic("eee_forwardPacket, appid =3D 0, edesc =3D %p\n", =
edesc);
2266        if (EEE_GET_PKT_LEN(edesc) =3D=3D 0)
2267            panic("eee_forwardPacket, pktlen =3D 0, edesc =3D %p\n", =
edesc);
2268
2269        slot_id =3D EEE_GET_SLOT_NUM(dp);
2270        cpu_id =3D EEE_GET_DEST_CPU(dp);
(gdb) p/x edesc
$1 =3D 0x200200b900
(gdb) p/x *edesc
$2 =3D {hdr =3D {control =3D 0x40100004, offset =3D 0x4b000000,
    dest_port =3D 0x40000000, src_port =3D 0x4003102e, attr =3D 0x0, =
next =3D 0x0},
  bd =3D {{control =3D 0x0, len =3D 0x0, res_ =3D 0x0, buf =3D 0x0}, =
{control =3D 0x8000,
      len =3D 0x4, res_ =3D 0x0, buf =3D 0x200f9c5840}, {control =3D =
0x0, len =3D 0x0,
      res_ =3D 0x0, buf =3D 0x0}, {control =3D 0x0, len =3D 0x0, res_ =
=3D 0x0,
      buf =3D 0x0}, {control =3D 0x0, len =3D 0x0, res_ =3D 0x0, buf =3D =
0x0}, {
      control =3D 0x0, len =3D 0x0, res_ =3D 0x0, buf =3D 0x0}}}
(gdb)

Anyone can quickly tell what is going wrong? =20
Or willing to take up this one?

-Mike


------_=_NextPart_001_01C874DF.7E9DA6CA
Content-Type: text/html;
	charset="iso-8859-1"
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=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>Warren's PROM upgrade crash</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Hi All:<BR>
<BR>
Warren is seeing a crash on the embedded processors when he attempts a =
PROM upgrade.<BR>
<BR>
The crashing stack is as follows:<BR>
<BR>
heuristic-fence-post' command.<BR>
(gdb) where<BR>
#0&nbsp; eee_forwardPacket (edesc=3D0x200200b900) at eee-fwd.c:2266<BR>
#1&nbsp; 0x8301525c in eee_sendFragmentedMessage =
(src=3D0xffffffff86518c20,<BR>
&nbsp;&nbsp;&nbsp; num_bytes=3D4, dest_port=3D1073741824, =
source_port=3D1073942574, firstDesc=3D0x0)<BR>
&nbsp;&nbsp;&nbsp; at eee-msg.c:183<BR>
#2&nbsp; 0x83015334 in eee_alloc_or_send_message =
(src=3D0xffffffff86518c20,<BR>
&nbsp;&nbsp;&nbsp; num_bytes=3D4, dest_port=3D1073741824, =
source_port=3D1073942574, first_edesc=3D0x0)<BR>
&nbsp;&nbsp;&nbsp; at eee-msg.c:245<BR>
#3&nbsp; 0x830157e8 in eee_sendMessage (src=3D0xffffffff86518c20, =
num_bytes=3D4,<BR>
&nbsp;&nbsp;&nbsp; dest_port=3D1073741824, source_port=3D1073942574) at =
eee-msg.c:384<BR>
#4&nbsp; 0x83417478 in do_ack (descr=3D0x40031d5d80, =
msgType=3DpromUpgradeStartAck)<BR>
&nbsp;&nbsp;&nbsp; at upgrade-app.c:74<BR>
#5&nbsp; 0x834174b4 in ack_start (descr=3D0x40031d5d80) at =
upgrade-app.c:92<BR>
#6&nbsp; 0x83417710 in do_start (descr=3D0x40031d5d80, =
cb=3D0xffffffff8383b590)<BR>
&nbsp;&nbsp;&nbsp; at upgrade-app.c:206<BR>
#7&nbsp; 0x83417c58 in receive_upgrade_message =
(descr=3D0x40031d5d80)<BR>
&nbsp;&nbsp;&nbsp; at upgrade-app.c:409<BR>
#8&nbsp; 0x83012d4c in eee_deliverPacketToApp (edesc=3D0x40031d5d80, =
app_id=3D46)<BR>
&nbsp;&nbsp;&nbsp; at eee-fwd.c:2005<BR>
#9&nbsp; 0x83012e28 in eee_processPacket (edesc=3D0x40031d5d80) at =
eee-fwd.c:2117<BR>
#10 0x830103bc in eee_poll_local_queue (cb=3D0xffffffff83936ec0, =
tref=3D2)<BR>
&nbsp;&nbsp;&nbsp; at eee-fwd.c:242<BR>
#11 0x8301746c in eee_poll (num_loops=3D21) at eee-poll.c:551<BR>
#12 0x8304ef84 in getchar () at serio-api.c:333<BR>
#13 0x830435e8 in get_line (p=3D0xffffffff86518f28 &quot;&quot;, =
usehist=3D1) at hist.c:145<BR>
#14 0x83043d34 in get_input (p=3D0xffffffff86518f28 &quot;&quot;) at =
hist.c:259<BR>
#15 0x83043d6c in get_cmd (p=3D0xffffffff86518f28 &quot;&quot;) at =
hist.c:284<BR>
#16 0x8304d97c in runtime_prompt () at test.c:558<BR>
#17 0x8340f168 in smp_entry (a0=3D18446656112779329535, cpu_num=3D2, =
a2=3D0,<BR>
&nbsp;&nbsp;&nbsp; a3=3D1128678705) at smp.c:246<BR>
warning: Warning: GDB can't find the start of the function at =
0xffffffff9fc0bccc.<BR>
(gdb) list<BR>
2261<BR>
2262&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dp =3D =
edesc-&gt;hdr.dest_port;<BR>
2263<BR>
2264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (EEE_GET_APP_ID(dp) =
=3D=3D 0)<BR>
2265&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
panic(&quot;eee_forwardPacket, appid =3D 0, edesc =3D %p\n&quot;, =
edesc);<BR>
2266&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if =
(EEE_GET_PKT_LEN(edesc) =3D=3D 0)<BR>
2267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
panic(&quot;eee_forwardPacket, pktlen =3D 0, edesc =3D %p\n&quot;, =
edesc);<BR>
2268<BR>
2269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; slot_id =3D =
EEE_GET_SLOT_NUM(dp);<BR>
2270&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cpu_id =3D =
EEE_GET_DEST_CPU(dp);<BR>
(gdb) p/x edesc<BR>
$1 =3D 0x200200b900<BR>
(gdb) p/x *edesc<BR>
$2 =3D {hdr =3D {control =3D 0x40100004, offset =3D 0x4b000000,<BR>
&nbsp;&nbsp;&nbsp; dest_port =3D 0x40000000, src_port =3D 0x4003102e, =
attr =3D 0x0, next =3D 0x0},<BR>
&nbsp; bd =3D {{control =3D 0x0, len =3D 0x0, res_ =3D 0x0, buf =3D =
0x0}, {control =3D 0x8000,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; len =3D 0x4, res_ =3D 0x0, buf =3D =
0x200f9c5840}, {control =3D 0x0, len =3D 0x0,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; res_ =3D 0x0, buf =3D 0x0}, {control =3D =
0x0, len =3D 0x0, res_ =3D 0x0,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; buf =3D 0x0}, {control =3D 0x0, len =3D =
0x0, res_ =3D 0x0, buf =3D 0x0}, {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; control =3D 0x0, len =3D 0x0, res_ =3D =
0x0, buf =3D 0x0}}}<BR>
(gdb)<BR>
<BR>
Anyone can quickly tell what is going wrong?&nbsp;<BR>
Or willing to take up this one?<BR>
<BR>
-Mike<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C874DF.7E9DA6CA--
