X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C73DD7.DBA3660E@onstor-exch02.onstor.net>; Sun, 21 Jan 2007 19:46:11 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C73DD7.DBA3660E"
Content-class: urn:content-classes:message
Subject: RE: How to get crash dump from TXRX?
Date: Sun, 21 Jan 2007 19:46:11 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E9D9162@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: How to get crash dump from TXRX?
thread-index: Acc91uSkfc+mn/cbQty3vgd5ORAo/gAAC4H7
References: <BB375AF679D4A34E9CA8DFA650E2B04E02228844@onstor-exch02.onstor.net>
From: "Henry Lau" <henry.lau@onstor.com>
To: "Ron Bhanukitsiri" <ronb@onstor.com>,
	"dl-Software" <dl-software@onstor.com>,
	"Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>,
	"Jonathan Goldick" <jonathan.goldick@onstor.com>

This is a multi-part message in MIME format.

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

Hi Ron,

You may have another gdb64 already connected to the system. Try ps ax =
|grep gdb64, kill the thread and reconect. If it still fails, you have =
to logon as root to=20
10.2.11.235 with no password, port kill 4 to reset the port. Isn't it =
10.2.2.235 instead of 10.2.11.235?


Henry

-----Original Message-----
From: Ron Bhanukitsiri
Sent: Sun 1/21/2007 7:39 PM
To: dl-Software; Maxim Kozlovsky; Jonathan Goldick
Subject: How to get crash dump from TXRX?
=20
A while back, I had set the TXRX so that it would *not* automatically =
restart
when it crashed.  Can't even remember the command?  Does anyone know?

Anyway, the TXRX crashes, it goes into the command prompt in debug mode.
What are the commands I can type?  There is no help (help or ?) that I =
can
see.  Finally, how do I make it continue and dump the core  to the core =
volume?

Alternatively, I'd like to gdb64 the TXRX.  I've done it before a while =
back, but
it doesn't seem to work one.  On my TXRX1 console, I see the port.  So =
here's
what I did.  I first went to the TXRX1 console and type
	rts
	debug
and got the WAIT message.  I then went to compile2 and type.

gdb64 txrx
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you =
are
welcome to change it and/or distribute copies of it under certain =
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for =
details.
This GDB was configured as "--host=3Di686-pc-linux-gnu =
--target=3Dmips64"...
The target architecture is assumed to be mips:sb1
Breakpoint 1 at 0xffffffff830af4cc: file Panic.c, line 45.
(gdb) show architecture          =20
The target architecture is assumed to be mips:sb1
(gdb) show remoteaddressize
Undefined show command: "remoteaddressize".  Try "help show".
(gdb) show remoteaddresssize
The maximum size of the address (in bits) in a memory packet is 64.
(gdb) show mask-address
Zeroing of upper 32 bits of 64-bit addresses when talking to PMON =
targets is off.
(gdb) target pmon 10.2.11.235:2004
10.2.11.235:2004: Bad file descriptor.
(gdb) quit

As you can see, it didn't connect to the TXRX :-(.  What's wrong?

Thanks,
Ron B[ee]



------_=_NextPart_001_01C73DD7.DBA3660E
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.7650.28">
<TITLE>RE: How to get crash dump from TXRX?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Hi Ron,<BR>
<BR>
You may have another gdb64 already connected to the system. Try ps ax =
|grep gdb64, kill the thread and reconect. If it still fails, you have =
to logon as root to<BR>
10.2.11.235 with no password, port kill 4 to reset the port. Isn't it =
10.2.2.235 instead of 10.2.11.235?<BR>
<BR>
<BR>
Henry<BR>
<BR>
-----Original Message-----<BR>
From: Ron Bhanukitsiri<BR>
Sent: Sun 1/21/2007 7:39 PM<BR>
To: dl-Software; Maxim Kozlovsky; Jonathan Goldick<BR>
Subject: How to get crash dump from TXRX?<BR>
<BR>
A while back, I had set the TXRX so that it would *not* automatically =
restart<BR>
when it crashed.&nbsp; Can't even remember the command?&nbsp; Does =
anyone know?<BR>
<BR>
Anyway, the TXRX crashes, it goes into the command prompt in debug =
mode.<BR>
What are the commands I can type?&nbsp; There is no help (help or ?) =
that I can<BR>
see.&nbsp; Finally, how do I make it continue and dump the core&nbsp; to =
the core volume?<BR>
<BR>
Alternatively, I'd like to gdb64 the TXRX.&nbsp; I've done it before a =
while back, but<BR>
it doesn't seem to work one.&nbsp; On my TXRX1 console, I see the =
port.&nbsp; So here's<BR>
what I did.&nbsp; I first went to the TXRX1 console and type<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rts<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug<BR>
and got the WAIT message.&nbsp; I then went to compile2 and type.<BR>
<BR>
gdb64 txrx<BR>
GNU gdb 5.1.1<BR>
Copyright 2002 Free Software Foundation, Inc.<BR>
GDB is free software, covered by the GNU General Public License, and you =
are<BR>
welcome to change it and/or distribute copies of it under certain =
conditions.<BR>
Type &quot;show copying&quot; to see the conditions.<BR>
There is absolutely no warranty for GDB.&nbsp; Type &quot;show =
warranty&quot; for details.<BR>
This GDB was configured as &quot;--host=3Di686-pc-linux-gnu =
--target=3Dmips64&quot;...<BR>
The target architecture is assumed to be mips:sb1<BR>
Breakpoint 1 at 0xffffffff830af4cc: file Panic.c, line 45.<BR>
(gdb) show =
architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<=
BR>
The target architecture is assumed to be mips:sb1<BR>
(gdb) show remoteaddressize<BR>
Undefined show command: &quot;remoteaddressize&quot;.&nbsp; Try =
&quot;help show&quot;.<BR>
(gdb) show remoteaddresssize<BR>
The maximum size of the address (in bits) in a memory packet is 64.<BR>
(gdb) show mask-address<BR>
Zeroing of upper 32 bits of 64-bit addresses when talking to PMON =
targets is off.<BR>
(gdb) target pmon 10.2.11.235:2004<BR>
10.2.11.235:2004: Bad file descriptor.<BR>
(gdb) quit<BR>
<BR>
As you can see, it didn't connect to the TXRX :-(.&nbsp; What's =
wrong?<BR>
<BR>
Thanks,<BR>
Ron B[ee]<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C73DD7.DBA3660E--
