Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2008 15:32:04 +0200
From:      "Marco Trillo" <marcotrillo@gmail.com>
To:        "Nathan Whitehorn" <nwhitehorn@freebsd.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Call for testers: Apple ATA DMA
Message-ID:  <b9c23c9f0809240632h77f091dawe54887d0a7f51c1d@mail.gmail.com>
In-Reply-To: <48DA4037.9000508@freebsd.org>
References:  <48D389EE.9000207@FreeBSD.org> <48D3AD50.8070505@freebsd.org> <48D69679.1080701@freebsd.org> <48D7F437.1040603@FreeBSD.org> <645CD2B8-11A0-42E8-B5F9-C04DCF21F763@mac.com> <48D84C12.7070207@freebsd.org> <0DD89065-9CF3-45E4-89A0-70D6BBB9621D@mac.com> <48D92D44.6080807@freebsd.org> <b9c23c9f0809240338g61e93beoba429ea319a9d56@mail.gmail.com> <48DA4037.9000508@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, Sep 24, 2008 at 3:27 PM, Nathan Whitehorn
<nwhitehorn@freebsd.org> wrote:
>
> Ugh. I really don't know, and am flying blind without hardware. If you
> disable ATAPI DMA or the macio controller, does ad0 at least work?
> -Nathan
>

I reverted the ata_macio.c patch and now Kauai uses DMA just fine! ad0
now works in UDMA100 mode without any errors :-)

ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0
ata0: [ITHREAD]
ata1: <Intrepid Kauai ATA Controller> mem 0xf5004000-0xf5007fff irq
39,1 at device 13.0 on pci2
ata1: [ITHREAD]
acd0: DVDR <HL-DT-ST RW/DVD GCC-4481B/2.05> at ata0-master BIOSPIO
ad0: 38166MB <Seagate ST340015A 3.01> at ata1-master UDMA100

And indeed the ad0 disk performance is much better. Thank you!

So it looks like an ata_macio specific problem.

Regards,
Marco.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b9c23c9f0809240632h77f091dawe54887d0a7f51c1d>