Subject: Odd backtrace
To: NetBSD Port Sparc64 <port-sparc64@NetBSD.org>
From: Peter Eisch <peter@boku.net>
List: port-sparc64
Date: 08/03/2004 18:14:55
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3174401696_12550955
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable


I had just started =8Cgdb bgpd/bgpd=B9 and my baby flipped out.  I typed in
=8Csync=B9 seeing if I could get a kernel dump and ended up here.  Does this
help anyone (-current as of 30 July).

peter


db> sync
syncing disks... data fault: pc=3D122d59c addr=3D0
kernel trap 30: data access exception
Stopped in pid 4941.1 (gdb) at  netbsd:unsleep+0x34:    ldx             [%g=
1
+ %
g0], %g1
db> bt   =20
sowakeup(22aed00, 22aedd0, 1, 832c, 0, 58a5fc0f) at netbsd:sowakeup+0xcc
tcp_input(4c0f280, 0, 18, 0, 22aed00, 4c0f304) at netbsd:tcp_input+0x2b74
ip_input(4c0f280, 2175836, 6, 1841008, 1979645, 1d) at netbsd:ip_input+0x77=
8
ipintr(2084000, e0017e0c, 2069c00, 40, ffffffffffffffff, 1) at
netbsd:ipintr+0x5
4
softnet(4, 0, e0017ed0, 0, 1343984, 11) at netbsd:softnet+0xe0
sparc64_ipi_flush_all(14bc6f8, d, 50e643c2e6ef, 6, 1fff1400000, f) at
netbsd:spa
rc64_ipi_flush_all+0x23c
vfs_shutdown(d, ffffffffffffffff, 0, 6, 0, d) at netbsd:vfs_shutdown+0x30
cpu_reboot(100, 0, 0, 122d582, 0, 89587c8) at netbsd:cpu_reboot+0x1ac
db_sync_cmd(122d59c, 0, 0, 89586b0, 0, 4) at netbsd:db_sync_cmd+0x10
db_command(1812a48, 0, 14e5d00, 0, 0, c1f83fe0) at netbsd:db_command+0x88
db_command_loop(122d5a0, 0, 1, 86b8211, 0, 0) at netbsd:db_command_loop+0x9=
0
db_trap(0, 0, 0, 0, 0, 1000000) at netbsd:db_trap+0x13c
kdb_trap(30, 8958b60, 0, 1, 8b71210, f) at netbsd:kdb_trap+0x108
data_access_fault(8958b60, 30, 122d59c, 0, 0, 0) at
netbsd:data_access_fault+0x1
94
?(84aad00, d, 3, 21f8803, 20, 0) at 0x100871c
setrunnable(84aad00, c, 0, 0, 700, 21f8808) at netbsd:setrunnable+0x48
selwakeup(84aad00, 5, 0, 3f, 0, 8959028) at netbsd:selwakeup+0xdc
logwakeup(1e, 5, 0, 0, 0, 1e) at netbsd:logwakeup+0xb0
printf(14e5a70, 122d59c, 0, 1, 40100, f) at netbsd:printf+0x58
data_access_fault(8959140, 30, 122d59c, 0, 0, 0) at
netbsd:data_access_fault+0x1
88
?(84abd00, 10002, 3, 0, 8b71210, 0) at 0x100871c
setrunnable(84abd00, c, 1, 79773e0, a, 43601c) at netbsd:setrunnable+0x48
selwakeup(84abd00, 21f8808, 5, 21f8803, 20, 0) at netbsd:selwakeup+0xdc
ptsstart(7978680, 7978708, 18, 21f8808, 29, 21f8808) at netbsd:ptsstart+0xa=
8
ttstart(7978680, 7978680, 13ca0d8, 3f, 1979644, 440) at netbsd:ttstart+0x10
ttwrite(7978680, 8959b90, 1, 8000000000000000, 2, 1) at netbsd:ttwrite+0x25=
4
ptswrite(5, 8959b90, 1, 0, 40100, 0) at netbsd:ptswrite+0x50
spec_write(89599b0, 0, 8b71210, 1493, 0, 0) at netbsd:spec_write+0x5c
ufsspec_write(89599b0, 10002, 14bcfe8, 0, 8b71210, 0) at
netbsd:ufsspec_write+0x
50
VOP_WRITE(8b71210, 8959b90, 1, 79773e0, a, 43601c) at netbsd:VOP_WRITE+0x30
vn_write(3, 890ac28, 8959b90, 1d, 1, 0) at netbsd:vn_write+0xe4
dofilewrite(16, 1, 890abf0, 436000, 1d, 890ac28) at netbsd:dofilewrite+0x78
sys_write(9, 8959dd0, 8959dc0, 0, 8959dd0, ffffffffffffa850) at
netbsd:sys_write
+0x68
syscall(8959ed0, 4, 41433218, 8959dd0, 41433218, 4143321c) at
netbsd:syscall+0xd
4
?(1, 436000, 1d, 3ec400, 1, 0) at 0x1008cb8
db>=20


--B_3174401696_12550955
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>Odd backtrace</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana"><SPAN STYLE=3D'font-size:12.0px'><BR>
I had just started &#8216;gdb bgpd/bgpd&#8217; and my baby flipped out. &nb=
sp;I typed in &#8216;sync&#8217; seeing if I could get a kernel dump and end=
ed up here. &nbsp;Does this help anyone (-current as of 30 July).<BR>
<BR>
peter<BR>
<BR>
<BR>
db&gt; sync<BR>
syncing disks... data fault: pc=3D122d59c addr=3D0<BR>
kernel trap 30: data access exception<BR>
Stopped in pid 4941.1 (gdb) at &nbsp;netbsd:unsleep+0x34: &nbsp;&nbsp;&nbsp=
;ldx &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;[%g1 + %<BR>
g0], %g1<BR>
db&gt; bt &nbsp;&nbsp;&nbsp;<BR>
sowakeup(22aed00, 22aedd0, 1, 832c, 0, 58a5fc0f) at netbsd:sowakeup+0xcc<BR=
>
tcp_input(4c0f280, 0, 18, 0, 22aed00, 4c0f304) at netbsd:tcp_input+0x2b74<B=
R>
ip_input(4c0f280, 2175836, 6, 1841008, 1979645, 1d) at netbsd:ip_input+0x77=
8<BR>
ipintr(2084000, e0017e0c, 2069c00, 40, ffffffffffffffff, 1) at netbsd:ipint=
r+0x5<BR>
4<BR>
softnet(4, 0, e0017ed0, 0, 1343984, 11) at netbsd:softnet+0xe0<BR>
sparc64_ipi_flush_all(14bc6f8, d, 50e643c2e6ef, 6, 1fff1400000, f) at netbs=
d:spa<BR>
rc64_ipi_flush_all+0x23c<BR>
vfs_shutdown(d, ffffffffffffffff, 0, 6, 0, d) at netbsd:vfs_shutdown+0x30<B=
R>
cpu_reboot(100, 0, 0, 122d582, 0, 89587c8) at netbsd:cpu_reboot+0x1ac<BR>
db_sync_cmd(122d59c, 0, 0, 89586b0, 0, 4) at netbsd:db_sync_cmd+0x10<BR>
db_command(1812a48, 0, 14e5d00, 0, 0, c1f83fe0) at netbsd:db_command+0x88<B=
R>
db_command_loop(122d5a0, 0, 1, 86b8211, 0, 0) at netbsd:db_command_loop+0x9=
0<BR>
db_trap(0, 0, 0, 0, 0, 1000000) at netbsd:db_trap+0x13c<BR>
kdb_trap(30, 8958b60, 0, 1, 8b71210, f) at netbsd:kdb_trap+0x108<BR>
data_access_fault(8958b60, 30, 122d59c, 0, 0, 0) at netbsd:data_access_faul=
t+0x1<BR>
94<BR>
?(84aad00, d, 3, 21f8803, 20, 0) at 0x100871c<BR>
setrunnable(84aad00, c, 0, 0, 700, 21f8808) at netbsd:setrunnable+0x48<BR>
selwakeup(84aad00, 5, 0, 3f, 0, 8959028) at netbsd:selwakeup+0xdc<BR>
logwakeup(1e, 5, 0, 0, 0, 1e) at netbsd:logwakeup+0xb0<BR>
printf(14e5a70, 122d59c, 0, 1, 40100, f) at netbsd:printf+0x58<BR>
data_access_fault(8959140, 30, 122d59c, 0, 0, 0) at netbsd:data_access_faul=
t+0x1<BR>
88<BR>
?(84abd00, 10002, 3, 0, 8b71210, 0) at 0x100871c<BR>
setrunnable(84abd00, c, 1, 79773e0, a, 43601c) at netbsd:setrunnable+0x48<B=
R>
selwakeup(84abd00, 21f8808, 5, 21f8803, 20, 0) at netbsd:selwakeup+0xdc<BR>
ptsstart(7978680, 7978708, 18, 21f8808, 29, 21f8808) at netbsd:ptsstart+0xa=
8<BR>
ttstart(7978680, 7978680, 13ca0d8, 3f, 1979644, 440) at netbsd:ttstart+0x10=
<BR>
ttwrite(7978680, 8959b90, 1, 8000000000000000, 2, 1) at netbsd:ttwrite+0x25=
4<BR>
ptswrite(5, 8959b90, 1, 0, 40100, 0) at netbsd:ptswrite+0x50<BR>
spec_write(89599b0, 0, 8b71210, 1493, 0, 0) at netbsd:spec_write+0x5c<BR>
ufsspec_write(89599b0, 10002, 14bcfe8, 0, 8b71210, 0) at netbsd:ufsspec_wri=
te+0x<BR>
50<BR>
VOP_WRITE(8b71210, 8959b90, 1, 79773e0, a, 43601c) at netbsd:VOP_WRITE+0x30=
<BR>
vn_write(3, 890ac28, 8959b90, 1d, 1, 0) at netbsd:vn_write+0xe4<BR>
dofilewrite(16, 1, 890abf0, 436000, 1d, 890ac28) at netbsd:dofilewrite+0x78=
<BR>
sys_write(9, 8959dd0, 8959dc0, 0, 8959dd0, ffffffffffffa850) at netbsd:sys_=
write<BR>
+0x68<BR>
syscall(8959ed0, 4, 41433218, 8959dd0, 41433218, 4143321c) at netbsd:syscal=
l+0xd<BR>
4<BR>
?(1, 436000, 1d, 3ec400, 1, 0) at 0x1008cb8<BR>
db&gt; <BR>
</SPAN></FONT>
</BODY>
</HTML>


--B_3174401696_12550955--