Subject: Netbsd debug problem
To: None <port-arm@netbsd.org>
From: None <jack123@tammylam.com>
List: port-arm
Date: 12/21/2005 12:06:01
This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C60626.E8DBA330
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The following are some of the dubug incidents I have captured.
Debug mode was entered in a few times when I manually type in "reboot", =
and it went into debug during boot up.
Other than there is a problem with the OS, I wonder if panic condition =
has to do with my socket communication.
In a socket connect statement if the server is not listening, the =
connect statement would not time out for 75 seconds.
Although not always consistence, when a connection cannot be made to =
server after about may be 200 tries, it would go into debug mode.
I am using the TS7200 by EmbeddedArm.com
Appreciate any help.
Thanks
Jack

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

>> NetBSD/TS7200 Gzip Boot, Revision 1.2
>> (joff@construct, Tue Jul  5 17:28:07 MST 2005)
>> Load address: 0x200000
Uncompressing image...done.
Jumping to image @ 0x200000...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

panic: kernel diagnostic assertion "(pg->flags & PG_PAGEOUT) =3D=3D 0" =
failed: file
"/home/joff/NetBSD-3/src/sys/uvm/uvm_page.c", line 1322
Stopped in pid 0.1 () at        0xc038b910:     mov     r15, r14
db>
db> bt
0xc0320550
        scp=3D0xc0320550 rlv=3D0xc03e80a8 (netbsd:__assert+0x34)
        rsp=3D0xc01d9ef0 rfp=3D0xc01d9f04
        r7=3D0xc04d68d4 r6=3D0x00016064
        r5=3D0x00000000 r4=3D0x0000052a
netbsd:__assert+0x10
        scp=3D0xc03e8084 rlv=3D0xc038589c (netbsd:uvm_pagefree+0x23c)
        rsp=3D0xc01d9f08 rfp=3D0xc01d9f2c
        r4=3D0xc106af18
netbsd:uvm_pagefree+0x10
        scp=3D0xc0385670 rlv=3D0xc03846a0 (0xc03846a0)
        rsp=3D0xc01d9f30 rfp=3D0xc01d9f6c
        r8=3D0x000004a4 r7=3D0xc04d68d4
        r6=3D0x00016064 r5=3D0x00000000 r4=3D0x014a4000
0xc038439c
        scp=3D0xc038439c rlv=3D0xc0377bd0 (0xc0377bd0)
        rsp=3D0xc01d9f70 rfp=3D0xc01d9f84
        r10=3D0x0000000a r9=3D0xc04d3104
        r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000001 r5=3D0xc04d2f60
        r4=3D0x00200128
0xc0377b98
        scp=3D0xc0377b98 rlv=3D0xc02f0554 (0xc02f0554)
        rsp=3D0xc01d9f88 rfp=3D0xc01d9fec
0xc02f0518
        scp=3D0xc02f0518 rlv=3D0xc020016c (0xc020016c)
        rsp=3D0xc01d9ff0 rfp=3D0xc01d9ffc
        r10=3D0x0000000a r9=3D0x00000009
        r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000006 r5=3D0x00200000
        r4=3D0x00200128
0xc020016c
        scp=3D0xc020016c rlv=3D0xc03d58e8 (0xc03d58e8)
        rsp=3D0xc01da000 rfp=3D0x00000000
db>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
db> bt
netbsd:epcomintr+0x10
scp=3D0xc03d9ff0 rlv=3D0xc03d66d8 (0xc03d66d8)
rsp=3D0xc2cbfe4c rfp=3D0xc2cbfe78
r10=3D0xc04d7f90 r9=3D0xc2cbfe7c
r8=3D0x00000000 r7=3D0x00000080 r6=3D0x000000c0 r5=3D0xc110fe40=20
r4=3D0x00000080
0xc03d64e0
scp=3D0xc03d64e0 rlv=3D0xc03d683c (0xc03d683c)
rsp=3D0xc2cbfe7c rfp=3D0xc2cbff10
r10=3D0xc244a2e8 r9=3D0x00000000
r8=3D0xc04d6f08 r7=3D0xc04d4af4 r6=3D0x00000000 r5=3D0xc04c9e6c=20
r4=3D0x0000000c
0xc03124e0
scp=3D0xc03124e0 rlv=3D0xc0311e80 (0xc0311e80)
rsp=3D0xc2cbff14 rfp=3D0xc2cbff48
r10=3D0xc0407e2c r9=3D0x00000000
r8=3D0x00000000 r7=3D0xc04c81f0 r6=3D0xc2442990 r5=3D0x00000000=20
r4=3D0xc244a2e8
0xc0311ac8
scp=3D0xc0311ac8 rlv=3D0xc03586e4 (netbsd:sched_sync+0x138)
rsp=3D0xc2cbff4c rfp=3D0xc2cbffb0
r10=3D0xc041b174 r9=3D0x00000000
r8=3D0xc048b6ec r7=3D0xc2cbff54 r6=3D0xc110ec00 r5=3D0x00000000=20
r4=3D0xc0419c74
netbsd:sched_sync+0x10
scp=3D0xc03585bc rlv=3D0xc0392dfc (netbsd:proc_trampoline+0x18)
rsp=3D0xc2cbffb4 rfp=3D0xc01d9e1c
r10=3D0xc04d3104 r9=3D0x00000000
r8=3D0xc04d6f08 r7=3D0x00000000 r6=3D0x00000000 r5=3D0xc244a2e8=20
r4=3D0xc03585ac
Bad frame pointer: 0xc01d9e1c
db>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
db> bt
0xc03207b0
scp=3D0xc03207b0 rlv=3D0xc03e8948 (netbsd:__assert+0x34)
rsp=3D0xc01d9ef0 rfp=3D0xc01d9f04
r7=3D0xc04d68b0 r6=3D0x00017234
r5=3D0x00000000 r4=3D0x0000053e
netbsd:__assert+0x10=20
scp=3D0xc03e8924 rlv=3D0xc03861a0 (netbsd:uvm_pagefree+0x23c)
rsp=3D0xc01d9f08 rfp=3D0xc01d9f2c
r4=3D0xc106c0e8
netbsd:uvm_pagefree+0x10
scp=3D0xc0385f74 rlv=3D0xc0384fa4 (0xc0384fa4)
rsp=3D0xc01d9f30 rfp=3D0xc01d9f6c
r8=3D0x000004e0 r7=3D0xc04d68b0
r6=3D0x00017234 r5=3D0x00000000 r4=3D0x014e0000
0xc0384ca0
scp=3D0xc0384ca0 rlv=3D0xc03784a8 (0xc03784a8)
rsp=3D0xc01d9f70 rfp=3D0xc01d9f84=20
r10=3D0x0000000a r9=3D0xc04d30e0
r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000001 r5=3D0xc04d2f3c
r4=3D0x00200128
0xc0378470
scp=3D0xc0378470 rlv=3D0xc02f0720 (0xc02f0720)
rsp=3D0xc01d9f88 rfp=3D0xc01d9fec=20
0xc02f06e4
scp=3D0xc02f06e4 rlv=3D0xc020016c (0xc020016c)
rsp=3D0xc01d9ff0 rfp=3D0xc01d9ffc
r10=3D0x0000000a r9=3D0x00000009
r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000006 r5=3D0x00200000
r4=3D0x00200128=20
0xc020016c
scp=3D0xc020016c rlv=3D0xc03d61a4 (0xc03d61a4)
rsp=3D0xc01da000 rfp=3D0x00000000
db>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
ts7200# reboot
Oct 26 23:07:29 ts7200 reboot: rebooted by root
Oct 26 23:07:29 ts7200 syslogd: Exiting on signal 15
syncing disks... done
unmounting file systems... done
rebooting...
>> NetBSD/TS7200 Gzip Boot, Revision 1.2
>> (joff@construct <mailto:joff@construct>, Wed Oct 19 13:32:53 MST =
2005)
>> Load address: 0x200000
Uncompressing image...done.
Jumping to image @ 0x200000...=20
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.=20
panic: kernel diagnostic assertion "pg->flags & PG_TABLED" failed: file =
"/home/j
off/NetBSD-3/src/sys/uvm/uvm_page.c", line 231
Stopped in pid 0.1 () at 0xc038c210: mov r15, r14=20
db>=20
db> bt
0xc03207b0
scp=3D0xc03207b0 rlv=3D0xc03e8948 (netbsd:__assert+0x34)
rsp=3D0xc01d9ed0 rfp=3D0xc01d9ee4
r7=3D0xc04d68b0 r6=3D0x801501ee
r5=3D0x00000000 r4=3D0x000000e7
netbsd:__assert+0x10=20
scp=3D0xc03e8924 rlv=3D0xc0386810 (netbsd:uvm_pageremove+0x144)
rsp=3D0xc01d9ee8 rfp=3D0xc01d9f04
r4=3D0xc1064ee8
netbsd:uvm_pageremove+0x10
scp=3D0xc03866dc rlv=3D0xc038614c (netbsd:uvm_pagefree+0x1e8)=20
rsp=3D0xc01d9f08 rfp=3D0xc01d9f2c
r6=3D0x00010034 r5=3D0x00000000
r4=3D0xc1064ee8
netbsd:uvm_pagefree+0x10
scp=3D0xc0385f74 rlv=3D0xc0384fa4 (0xc0384fa4)
rsp=3D0xc01d9f30 rfp=3D0xc01d9f6c=20
r8=3D0x00000360 r7=3D0xc04d68b0
r6=3D0x00010034 r5=3D0x00000000 r4=3D0x01360000
0xc0384ca0
scp=3D0xc0384ca0 rlv=3D0xc03784a8 (0xc03784a8)
rsp=3D0xc01d9f70 rfp=3D0xc01d9f84
r10=3D0x0000000a r9=3D0xc04d30e0=20
r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000001 r5=3D0xc04d2f3c
r4=3D0x00200128
0xc0378470
scp=3D0xc0378470 rlv=3D0xc02f0720 (0xc02f0720)
rsp=3D0xc01d9f88 rfp=3D0xc01d9fec
0xc02f06e4
scp=3D0xc02f06e4 rlv=3D0xc020016c (0xc020016c)=20
rsp=3D0xc01d9ff0 rfp=3D0xc01d9ffc
r10=3D0x0000000a r9=3D0x00000009
r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000006 r5=3D0x00200000
r4=3D0x00200128
0xc020016c
scp=3D0xc020016c rlv=3D0xc03d61a4 (0xc03d61a4)=20
rsp=3D0xc01da000 rfp=3D0x00000000
db>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Subject: Re: debug mode question
To: None <jack123@tammylam.com>
From: Allen Briggs <briggs@netbsd.org>
List: port-arm
Date: 12/17/2005 15:17:19=20
On Thu, Dec 15, 2005 at 12:17:53PM -0500, jack123@tammylam.com wrote:
>    I am running netbsd with an ARM cpu.
Which version of NetBSD on what kind of system with what kind of network
interface?
>    It  seems  to  go  into  debug  mode when there is a prolonged =
network
>    outage.
You mean when the local ethernet link goes down for a while?  What is
the system doing when it fails?
>    I have attached the debug info below.
It would help to have some more information.  It looks like you're
missing some symbols in the backtrace--not sure what you can do to
help that, but it would be useful to know what messages appear before
the db> prompt.  Specifically, it looks like a diagnostic assertion
failed.  It would probably be useful to know what message was printed
when that failed.  A 'ps' listing from within ddb would also be =
useful.-allen--=20
                  Use NetBSD!  http://www.NetBSD.org/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

------=_NextPart_000_000E_01C60626.E8DBA330
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>The following are some of the dubug =
incidents I=20
have captured.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Debug mode was entered in a few times =
when I=20
manually type in "reboot", and it went into debug during boot =
up.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Other than there is a problem with the =
OS, I wonder=20
if panic condition has to do with my socket communication.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In a socket connect statement if the =
server is not=20
listening, the connect statement would not time out for 75 =
seconds.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Although not always consistence, when a =
connection=20
cannot be made to server after about may be 200 tries, it would go into =
debug=20
mode.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am using the TS7200 by=20
EmbeddedArm.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Appreciate any help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jack</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>=
</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&gt;&gt; NetBSD/TS7200 Gzip Boot, =
Revision=20
1.2<BR>&gt;&gt; (</FONT><A href=3D"mailto:joff@construct"><FONT =
face=3DArial=20
size=3D2>joff@construct</FONT></A><FONT face=3DArial size=3D2>, Tue =
Jul&nbsp; 5=20
17:28:07 MST 2005)<BR>&gt;&gt; Load address: 0x200000<BR>Uncompressing=20
image...done.<BR>Jumping to image @ 0x200000...<BR>Copyright (c) 1996, =
1997,=20
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005<BR>&nbsp;&nbsp;&nbsp; The =
NetBSD=20
Foundation, Inc.&nbsp; All rights reserved.<BR>Copyright (c) 1982, 1986, =
1989,=20
1991, 1993<BR>&nbsp;&nbsp;&nbsp; The Regents of the University of=20
California.&nbsp; All rights reserved.</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>panic: kernel diagnostic assertion =
"(pg-&gt;flags=20
&amp; PG_PAGEOUT) =3D=3D 0" failed:=20
file<BR>"/home/joff/NetBSD-3/src/sys/uvm/uvm_page.c", line =
1322<BR>Stopped in=20
pid 0.1 () at&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0xc038b910:&nbsp;&nbsp;&nbsp;&nbsp; mov&nbsp;&nbsp;&nbsp;&nbsp; r15,=20
r14<BR>db&gt;<BR>db&gt;=20
bt<BR>0xc0320550<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
scp=3D0xc0320550=20
rlv=3D0xc03e80a8=20
(netbsd:__assert+0x34)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
rsp=3D0xc01d9ef0 =
rfp=3D0xc01d9f04<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r7=3D0xc04d68d4 =
r6=3D0x00016064<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r5=3D0x00000000=20
r4=3D0x0000052a<BR>netbsd:__assert+0x10<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;=20
scp=3D0xc03e8084 rlv=3D0xc038589c=20
(netbsd:uvm_pagefree+0x23c)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
rsp=3D0xc01d9f08 =
rfp=3D0xc01d9f2c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r4=3D0xc106af18<BR>netbsd:uvm_pagefree+0x10<BR>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
scp=3D0xc0385670 rlv=3D0xc03846a0=20
(0xc03846a0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rsp=3D0xc01d9f30=20
rfp=3D0xc01d9f6c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
r8=3D0x000004a4=20
r7=3D0xc04d68d4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
r6=3D0x00016064=20
r5=3D0x00000000=20
r4=3D0x014a4000<BR>0xc038439c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
scp=3D0xc038439c rlv=3D0xc0377bd0=20
(0xc0377bd0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rsp=3D0xc01d9f70=20
rfp=3D0xc01d9f84<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
r10=3D0x0000000a=20
r9=3D0xc04d3104<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
r8=3D0x00200024=20
r7=3D0x00000007 r6=3D0x00000001=20
r5=3D0xc04d2f60<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r4=3D0x00200128<BR>0xc0377b98<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
scp=3D0xc0377b98 rlv=3D0xc02f0554=20
(0xc02f0554)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rsp=3D0xc01d9f88=20
rfp=3D0xc01d9fec<BR>0xc02f0518<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
scp=3D0xc02f0518 rlv=3D0xc020016c=20
(0xc020016c)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rsp=3D0xc01d9ff0=20
rfp=3D0xc01d9ffc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
r10=3D0x0000000a=20
r9=3D0x00000009<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
r8=3D0x00200024=20
r7=3D0x00000007 r6=3D0x00000006=20
r5=3D0x00200000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r4=3D0x00200128<BR>0xc020016c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
scp=3D0xc020016c rlv=3D0xc03d58e8=20
(0xc03d58e8)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rsp=3D0xc01da000=20
rfp=3D0x00000000<BR>db&gt;<BR></FONT></DIV><FONT face=3DArial =
size=3D2><FONT size=3D2>
<DIV>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</DIV>
<DIV>db&gt; bt</DIV>
<DIV>netbsd:epcomintr+0x10</DIV>
<DIV>scp=3D0xc03d9ff0 rlv=3D0xc03d66d8 (0xc03d66d8)</DIV>
<DIV>rsp=3D0xc2cbfe4c rfp=3D0xc2cbfe78</DIV>
<DIV>r10=3D0xc04d7f90 r9=3D0xc2cbfe7c</DIV>
<DIV>r8=3D0x00000000 r7=3D0x00000080 r6=3D0x000000c0 r5=3D0xc110fe40 =
</DIV>
<DIV>r4=3D0x00000080</DIV>
<DIV>0xc03d64e0</DIV>
<DIV>scp=3D0xc03d64e0 rlv=3D0xc03d683c (0xc03d683c)</DIV>
<DIV>rsp=3D0xc2cbfe7c rfp=3D0xc2cbff10</DIV>
<DIV>r10=3D0xc244a2e8 r9=3D0x00000000</DIV>
<DIV>r8=3D0xc04d6f08 r7=3D0xc04d4af4 r6=3D0x00000000 r5=3D0xc04c9e6c =
</DIV>
<DIV>r4=3D0x0000000c</DIV>
<DIV>0xc03124e0</DIV>
<DIV>scp=3D0xc03124e0 rlv=3D0xc0311e80 (0xc0311e80)</DIV>
<DIV>rsp=3D0xc2cbff14 rfp=3D0xc2cbff48</DIV>
<DIV>r10=3D0xc0407e2c r9=3D0x00000000</DIV>
<DIV>r8=3D0x00000000 r7=3D0xc04c81f0 r6=3D0xc2442990 r5=3D0x00000000 =
</DIV>
<DIV>r4=3D0xc244a2e8</DIV>
<DIV>0xc0311ac8</DIV>
<DIV>scp=3D0xc0311ac8 rlv=3D0xc03586e4 (netbsd:sched_sync+0x138)</DIV>
<DIV>rsp=3D0xc2cbff4c rfp=3D0xc2cbffb0</DIV>
<DIV>r10=3D0xc041b174 r9=3D0x00000000</DIV>
<DIV>r8=3D0xc048b6ec r7=3D0xc2cbff54 r6=3D0xc110ec00 r5=3D0x00000000 =
</DIV>
<DIV>r4=3D0xc0419c74</DIV>
<DIV>netbsd:sched_sync+0x10</DIV>
<DIV>scp=3D0xc03585bc rlv=3D0xc0392dfc =
(netbsd:proc_trampoline+0x18)</DIV>
<DIV>rsp=3D0xc2cbffb4 rfp=3D0xc01d9e1c</DIV>
<DIV>r10=3D0xc04d3104 r9=3D0x00000000</DIV>
<DIV>r8=3D0xc04d6f08 r7=3D0x00000000 r6=3D0x00000000 r5=3D0xc244a2e8 =
</DIV>
<DIV>r4=3D0xc03585ac</DIV>
<DIV>Bad frame pointer: 0xc01d9e1c</DIV>
<DIV>db&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D</DIV>
<DIV>db&gt; bt</DIV>
<DIV>0xc03207b0</DIV>
<DIV>scp=3D0xc03207b0 rlv=3D0xc03e8948 (netbsd:__assert+0x34)</DIV>
<DIV>rsp=3D0xc01d9ef0 rfp=3D0xc01d9f04</DIV>
<DIV>r7=3D0xc04d68b0 r6=3D0x00017234</DIV>
<DIV>r5=3D0x00000000 r4=3D0x0000053e</DIV>
<DIV>netbsd:__assert+0x10 </DIV>
<DIV>scp=3D0xc03e8924 rlv=3D0xc03861a0 (netbsd:uvm_pagefree+0x23c)</DIV>
<DIV>rsp=3D0xc01d9f08 rfp=3D0xc01d9f2c</DIV>
<DIV>r4=3D0xc106c0e8</DIV>
<DIV>netbsd:uvm_pagefree+0x10</DIV>
<DIV>scp=3D0xc0385f74 rlv=3D0xc0384fa4 (0xc0384fa4)</DIV>
<DIV>rsp=3D0xc01d9f30 rfp=3D0xc01d9f6c</DIV>
<DIV>r8=3D0x000004e0 r7=3D0xc04d68b0</DIV>
<DIV>r6=3D0x00017234 r5=3D0x00000000 r4=3D0x014e0000</DIV>
<DIV>0xc0384ca0</DIV>
<DIV>scp=3D0xc0384ca0 rlv=3D0xc03784a8 (0xc03784a8)</DIV>
<DIV>rsp=3D0xc01d9f70 rfp=3D0xc01d9f84 </DIV>
<DIV>r10=3D0x0000000a r9=3D0xc04d30e0</DIV>
<DIV>r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000001 =
r5=3D0xc04d2f3c</DIV>
<DIV>r4=3D0x00200128</DIV>
<DIV>0xc0378470</DIV>
<DIV>scp=3D0xc0378470 rlv=3D0xc02f0720 (0xc02f0720)</DIV>
<DIV>rsp=3D0xc01d9f88 rfp=3D0xc01d9fec </DIV>
<DIV>0xc02f06e4</DIV>
<DIV>scp=3D0xc02f06e4 rlv=3D0xc020016c (0xc020016c)</DIV>
<DIV>rsp=3D0xc01d9ff0 rfp=3D0xc01d9ffc</DIV>
<DIV>r10=3D0x0000000a r9=3D0x00000009</DIV>
<DIV>r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000006 =
r5=3D0x00200000</DIV>
<DIV>r4=3D0x00200128 </DIV>
<DIV>0xc020016c</DIV>
<DIV>scp=3D0xc020016c rlv=3D0xc03d61a4 (0xc03d61a4)</DIV>
<DIV>rsp=3D0xc01da000 rfp=3D0x00000000</DIV>
<DIV>db&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</DIV>
<DIV>ts7200# reboot</DIV>
<DIV>Oct 26 23:07:29 ts7200 reboot: rebooted by root</DIV>
<DIV>Oct 26 23:07:29 ts7200 syslogd: Exiting on signal 15</DIV>
<DIV>syncing disks... done</DIV>
<DIV>unmounting file systems... done</DIV>
<DIV>rebooting...</DIV>
<DIV>&gt;&gt; NetBSD/TS7200 Gzip Boot, Revision 1.2</DIV>
<DIV>&gt;&gt; (joff@construct &lt;mailto:joff@construct&gt;, Wed Oct 19 =
13:32:53=20
MST 2005)</DIV>
<DIV>&gt;&gt; Load address: 0x200000</DIV>
<DIV>Uncompressing image...done.</DIV>
<DIV>Jumping to image @ 0x200000... </DIV>
<DIV>Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, =

2005</DIV>
<DIV>The NetBSD Foundation, Inc. All rights reserved.</DIV>
<DIV>Copyright (c) 1982, 1986, 1989, 1991, 1993</DIV>
<DIV>The Regents of the University of California. All rights reserved. =
</DIV>
<DIV>panic: kernel diagnostic assertion "pg-&gt;flags &amp; PG_TABLED" =
failed:=20
file "/home/j</DIV>
<DIV>off/NetBSD-3/src/sys/uvm/uvm_page.c", line 231</DIV>
<DIV>Stopped in pid 0.1 () at 0xc038c210: mov r15, r14 </DIV>
<DIV>db&gt; </DIV>
<DIV>db&gt; bt</DIV>
<DIV>0xc03207b0</DIV>
<DIV>scp=3D0xc03207b0 rlv=3D0xc03e8948 (netbsd:__assert+0x34)</DIV>
<DIV>rsp=3D0xc01d9ed0 rfp=3D0xc01d9ee4</DIV>
<DIV>r7=3D0xc04d68b0 r6=3D0x801501ee</DIV>
<DIV>r5=3D0x00000000 r4=3D0x000000e7</DIV>
<DIV>netbsd:__assert+0x10 </DIV>
<DIV>scp=3D0xc03e8924 rlv=3D0xc0386810 =
(netbsd:uvm_pageremove+0x144)</DIV>
<DIV>rsp=3D0xc01d9ee8 rfp=3D0xc01d9f04</DIV>
<DIV>r4=3D0xc1064ee8</DIV>
<DIV>netbsd:uvm_pageremove+0x10</DIV>
<DIV>scp=3D0xc03866dc rlv=3D0xc038614c (netbsd:uvm_pagefree+0x1e8) =
</DIV>
<DIV>rsp=3D0xc01d9f08 rfp=3D0xc01d9f2c</DIV>
<DIV>r6=3D0x00010034 r5=3D0x00000000</DIV>
<DIV>r4=3D0xc1064ee8</DIV>
<DIV>netbsd:uvm_pagefree+0x10</DIV>
<DIV>scp=3D0xc0385f74 rlv=3D0xc0384fa4 (0xc0384fa4)</DIV>
<DIV>rsp=3D0xc01d9f30 rfp=3D0xc01d9f6c </DIV>
<DIV>r8=3D0x00000360 r7=3D0xc04d68b0</DIV>
<DIV>r6=3D0x00010034 r5=3D0x00000000 r4=3D0x01360000</DIV>
<DIV>0xc0384ca0</DIV>
<DIV>scp=3D0xc0384ca0 rlv=3D0xc03784a8 (0xc03784a8)</DIV>
<DIV>rsp=3D0xc01d9f70 rfp=3D0xc01d9f84</DIV>
<DIV>r10=3D0x0000000a r9=3D0xc04d30e0 </DIV>
<DIV>r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000001 =
r5=3D0xc04d2f3c</DIV>
<DIV>r4=3D0x00200128</DIV>
<DIV>0xc0378470</DIV>
<DIV>scp=3D0xc0378470 rlv=3D0xc02f0720 (0xc02f0720)</DIV>
<DIV>rsp=3D0xc01d9f88 rfp=3D0xc01d9fec</DIV>
<DIV>0xc02f06e4</DIV>
<DIV>scp=3D0xc02f06e4 rlv=3D0xc020016c (0xc020016c) </DIV>
<DIV>rsp=3D0xc01d9ff0 rfp=3D0xc01d9ffc</DIV>
<DIV>r10=3D0x0000000a r9=3D0x00000009</DIV>
<DIV>r8=3D0x00200024 r7=3D0x00000007 r6=3D0x00000006 =
r5=3D0x00200000</DIV>
<DIV>r4=3D0x00200128</DIV>
<DIV>0xc020016c</DIV>
<DIV>scp=3D0xc020016c rlv=3D0xc03d61a4 (0xc03d61a4) </DIV>
<DIV>rsp=3D0xc01da000 rfp=3D0x00000000</DIV>
<DIV>db&gt;</DIV></FONT></FONT>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><STRONG>Subject:</STRONG> Re: =
debug mode=20
question<BR><B>To:</B> None =
<I>&lt;jack123@tammylam.com&gt;</I><BR><B>From:</B>=20
Allen Briggs <I>&lt;briggs@netbsd.org&gt;</I><BR><B>List:</B>=20
port-arm<BR><B>Date:</B> 12/17/2005 15:17:19 </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>On Thu, Dec 15, 2005 at 12:17:53PM =
-0500,=20
jack123@tammylam.com wrote:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&gt;    I am running netbsd with =
an ARM cpu.
Which version of NetBSD on what kind of system with what kind of network
interface?</DIV>
<DIV>&gt;    It  seems  to  go  into  debug  mode when there is a =
prolonged=20
network</DIV>
<DIV>&gt;    outage.You mean when the local ethernet link goes down for =
a while?=20
 What isthe system doing when it fails?</DIV>
<DIV>&gt;    I have attached the debug info below.It would help to have =
some=20
more information.  It looks like you'remissing some symbols in the=20
backtrace--not sure what you can do tohelp that, but it would be useful =
to know=20
what messages appear beforethe db&gt; prompt.  Specifically, it looks =
like a=20
diagnostic assertionfailed.  It would probably be useful to know what =
message=20
was printedwhen that failed.  A 'ps' listing from within ddb would also =
be=20
useful.-allen--                   Use NetBSD!  <A=20
href=3D"http://www.NetBSD.org/">http://www.NetBSD.org/
</A>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000E_01C60626.E8DBA330--