Subject: port-macppc/18167: HPT UDMA Controllers cause hang on macppc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <riz@boogers.sf.ca.us>
List: netbsd-bugs
Date: 09/04/2002 09:15:09
>Number:         18167
>Category:       port-macppc
>Synopsis:       first disk access on HPT controller (macppc) causes hang
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 04 09:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Rizzo
>Release:        NetBSD 1.6_RC2
>Organization:
	
>Environment:
	
	
System: NetBSD mac.tastylime.net 1.6_RC2 NetBSD 1.6_RC2 (MAC) #0: Fri Aug 30 22:16:21 PDT 2002 riz@mac.tastylime.net:/usr/src/sys/arch/macppc/compile/MAC macppc
Architecture: powerpc
Machine: macppc
>Description:

I'm trying to use a SIIG  UDMA/66 board I pulled from a netbsd/i386             
box in my macppc box running 1.6_RC2:                                           
                                                                                
pciide0 at pci0 dev 15 function 0: Triones/Highpoint HPT366 IDE Controller      
pciide0: bus-master DMA support present                                         
pciide0: primary channel wired to native-PCI mode                               
pciide0: using irq 25 for native-PCI interrupt                                  
wd0 at pciide0 channel 0 drive 0: <IC35L120AVVA07-0>                            
wd0: drive supports 16-sector PIO transfers, LBA addressing                     
wd0: 115 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 241254720 sectors     
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)        
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data 
transfers)                                                             
pciide1 at pci0 dev 15 function 1: Triones/Highpoint HPT366 IDE Controller      
pciide1: bus-master DMA support present                                         
pciide1: primary channel wired to native-PCI mode                               
pciide1: using irq 25 for native-PCI interrupt                                  
                                                                                
When I try to access it, though, the whole system hangs:

mac# disklabel wd0                                                              
pciide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21               
                                                                                
[dead from here out... network doesn't work, have to crash the                  
machine ]                                                                       

>How-To-Repeat:
	try to use a drive connected to a HPT controller on a macppc
machine.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 	
 	
 	source date:  30 August 2002