Subject: Re: HPT IDE controllers working on macppc?
To: Jeff Rizzo <riz@boogers.sf.ca.us>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-macppc
Date: 09/04/2002 17:58:14
On Sat, Aug 31, 2002 at 11:32:37PM -0700, Jeff Rizzo wrote:
> 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 ]
> 
> Has anybody else had any success with this controller on a mac?

Sorry to come back so late on this ... I had to move hardware around to test
it.
I can reproduce this on my PM4400/160. Fixing it may not be easy however,
I'll have to do experiments switching between i386 and macppc, and
unfortunably my PM doesn't work with serial console.
I won't have much time in the next 2 weeks, so don't hold your
breath.

Can you send a PR about this so it doesn't get lost in the meantime ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--