Subject: port-sparc64/15489: ultra5 + siop scsi -- panic in psycho dma
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ww@irl.styx.org>
List: netbsd-bugs
Date: 02/04/2002 23:44:13
>Number:         15489
>Category:       port-sparc64
>Synopsis:       ultra5 + siop scsi -- panic in psycho dma
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 20:47:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     ww@styx.org
>Release:        NetBSD-current 20020204
>Organization:
>Environment:
NetBSD epanaphora 1.5ZA NetBSD 1.5ZA (EPANAPHORA) #6: Mon Feb  4 17:47:25 EST 2002     ww@epanaphora:/src/NetBSD/src/sys/arch/sparc64/compile/EPANAPHORA sparc64

Architecture: sparc64
Machine: ultra5 w/ Symbios Logic 53c860
>Description:
	Periodically, or during heavy scsi disc access, the
	kernel panics. This behaviour is easily repeatable.

extent `psycho0 dvma' (0xc0000000 - 0xffffffffffffe000), flags = 0x0
     0xc0000000 - 0xc007bfff
     0xc0080000 - 0xc0081fff
     0xc0084000 - 0xc0085fff
     0xc0082000 - 0xc008bfff
extent_free: start 0xc0080000, end 0xc0085fff
panic: extent_free: region not found
Begin traceback...
iommu_dvmamap_unload(1f9dc00, 1f9db80, 201d600, 1f8bb00, 2, 1220790) at iommu_
mamap_unload+0x80
psycho_dmamap_unload(1f9dc00, 201d600, 11f1814, 1f9dc00, 2, 11f186c) at psycho
_dmamap_unload+0x14
pciide_dma_finish(2025800, 0, 0, 4, 11e7af8, 11f186c) at pciide_dma_finish+0x1
f0
wdcintr(2025968, 2, 54, 0, fffffc00, 80) at wdcintr+0xc0
cmd_pci_intr(2025800, 1, 0, 1, 11ea544, 1) at cmd_pci_intr+0x90
sparc_intr_retry(21ff38, e297f38, c0, eb26000, 100aef0, 0) at sparc_intr_retry
+0x48
uiomove(0, 2000, eb29b70, 1275780, 1275790, 12757e0) at uiomove+0x140
ffs_write(0, eb29928, 22e900000, ea98a28, 0, eb29a60) at ffs_write+0x3e4
vn_write(ea308d0, ea30908, eb29b70, 2102b80, 1, 10b3f64) at vn_write+0x114
dofilewrite(e6b5c30, 4, ea308d0, 8000, 8000, ea30908) at dofilewrite+0x8c
sys_write(e6b5c30, eb29dd0, eb29dc0, 108f98c, 219ef8, 0) at sys_write+0x58
syscall(eb29ed0, 4, 1115ac, 0, 1817c00, 154) at syscall+0x844
syscall_setup(4, 21e000, 8000, badcafe, badcafe, badcafe) at syscall_setup+0x1
40

>How-To-Repeat:
	dd if=/dev/zero of=/some/where/on/scsi/disk

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