Subject: port-shark/21733: shark crashes very consistently after a couple of hours work
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 05/31/2003 14:56:29
>Number:         21733
>Category:       port-shark
>Synopsis:       shark crashes very consistently after a couple of hours work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-shark-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 31 04:57:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     matthew green
>Release:        NetBSD 1.6T
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
	
	
System: NetBSD 1.6T (_3am-out_) #80: Thu May 29 23:59:52 EST 2003 mrg@what-time-is-love.eterna.com.au:/var/sys/_3am-out_
Architecture: arm
Machine: arm32
>Description:

	after upgrading my shark to -current a couple of days ago i get repeatable
	panics in he cs driver.  this happens when building software.  it happened
	about 8 times while i built XF4.  this one has a longer stack trace than
	most - most only have 4 frames but still in cs_copy_tx_frame() when losing.

login: Non-emulated page fault with intr_depth > 0
Data abort: 'Translation fault (page)' status=0f7 address=f1797000 PC=f01139dc
Stopped at      netbsd:isa_bs_wr_2+0x14:        ldrh    r3, [r1], #0x02
db> t
netbsd:cs_copy_tx_frame+0xc
        scp=0xf0022bb4 rlv=0xf0022adc (netbsd:cs_start_output+0x414)
        rsp=0xf4726c08 rfp=0xf4726c3c
        r10=0x000005ea r9=0xf013ef74
        r8=0xf10b4c34 r7=0xf1363900 r6=0xf10b4c00 r5=0x00000000
        r4=0x00000100
netbsd:cs_start_output+0xc
        scp=0xf00226d4 rlv=0xf00200ac (netbsd:cs_transmit_event+0x170)
        rsp=0xf4726c40 rfp=0xf4726c64
        r10=0xf10b4c34 r9=0x00000020
        r8=0xf10b4c00 r7=0x00000108 r6=0x00000000 r5=0x00001f8d
        r4=0x00000000
netbsd:cs_transmit_event+0xc
        scp=0xf001ff48 rlv=0xf001faa4 (netbsd:cs_intr+0x170)
        rsp=0xf4726c68 rfp=0xf4726c84
        r10=0xf019e070 r8=0x00000020
        r7=0xf019eb14 r6=0xf10b4e8c r5=0x00000108 r4=0xf10b4c00
netbsd:cs_intr+0xc
        scp=0xf001f940 rlv=0xf011326c (netbsd:irq_entry+0x150)
        rsp=0xf4726c88 rfp=0xf4726d28
        r6=0xf10aec00 r5=0xf4720168
        r4=0xf4720168
netbsd:mi_switch+0xc
        scp=0xf008747c rlv=0xf0086e6c (netbsd:ltsleep+0x200)
        rsp=0xf4726d2c rfp=0xf4726d58
        r10=0x00000001 r9=0x00000000
        r8=0x00000000 r7=0xf47184ec r6=0x00000000 r5=0x00000000
        r4=0xf4720168
netbsd:ltsleep+0xc
        scp=0xf0086c78 rlv=0xf002e83c (netbsd:nfs_rcvlock+0xb4)
        rsp=0xf4726d5c rfp=0xf4726d88
        r10=0x00000000 r9=0xf0198100
        r8=0x00000000 r7=0x00000000 r6=0xf114f700 r5=0xf11369ec
        r4=0xf1136800
netbsd:nfs_rcvlock+0xc
        scp=0xf002e794 rlv=0xf002cacc (netbsd:nfs_reply+0x24)
        rsp=0xf4726d8c rfp=0xf4726dd0
        r10=0x00000000 r8=0xf114f700
        r7=0xf114f700 r6=0xf1136800 r5=0x3dc5acee r4=0x00000000
netbsd:nfs_reply+0xc
        scp=0xf002cab4 rlv=0xf002d3b8 (netbsd:nfs_request+0x464)
        rsp=0xf4726dd4 rfp=0xf4726e78
        r10=0x00000000 r9=0x00000000
        r8=0xf1136800 r7=0xf114f700 r6=0xf135f200 r5=0x3dc5acee
        r4=0x00000000
netbsd:nfs_request+0xc
        scp=0xf002cf60 rlv=0xf003ae2c (netbsd:nfs_readrpc+0x564)
        rsp=0xf4726e7c rfp=0xf4726ef0
        r10=0x0000097d r9=0xf47e3be0
        r8=0x0000097d r7=0x00000000 r6=0xf1165200 r5=0xf4726eb8
        r4=0xf4726eb4
netbsd:nfs_readrpc+0xc
        scp=0xf003a8d4 rlv=0xf00265fc (netbsd:nfs_doio_read+0x70)
        rsp=0xf4726ef4 rfp=0xf4726f18
        r10=0x00000000 r9=0xf47184ec
        r8=0xf1136800 r7=0xf10fa348 r6=0xf4726f28 r5=0xf47e2974
        r4=0xf47e3be0
netbsd:nfs_doio_read+0xc
        scp=0xf0026598 rlv=0xf0027064 (netbsd:nfs_doio+0x90)
        rsp=0xf4726f1c rfp=0xf4726f68
        r10=0xf01982a8 r8=0xf4726f28
        r7=0xf10fa348 r6=0x00000000 r5=0x00000028 r4=0x00000000
netbsd:nfs_doio+0xc
        scp=0xf0026fe0 rlv=0xf0033f94 (netbsd:nfssvc_iod+0x184)
        rsp=0xf4726f6c rfp=0xf4726fa0
        r8=0x00000000 r7=0xf4720168
        r6=0xf01982a0 r5=0xf1136800 r4=0xf10fa348
netbsd:nfssvc_iod+0xc
        scp=0xf0033e1c rlv=0xf0034078 (netbsd:start_nfsio+0x18)
        rsp=0xf4726fa4 rfp=0xf4726fb0
        r10=0xf019e070 r9=0x00000000
        r8=0xf01997a0 r7=0x00000000 r6=0x00000000 r5=0xf4720168
        r4=0xf0034060
netbsd:start_nfsio+0xc
        scp=0xf003406c rlv=0xf00ec6d4 (netbsd:proc_trampoline+0x10)
        rsp=0xf4726fb4 rfp=0xf07d1dcc
Bad frame pointer: 0xf07d1dcc
db>

>How-To-Repeat:

	run -current on shark, use it to build X11.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: