Subject: Re: noncontingous DMA segments with mc0 at obio
To: Martin Husemann <martin@duskware.de>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 12/10/2006 20:05:20
At 22:59 Uhr +0100 9.12.2006, Martin Husemann wrote:
>after some hardware troubles I got my "brand new" Quadra 660AV booting
>NetBSD for the first time.

Congrats!

>The 4.0 install kernel fails to attach mc0 at obio, due to physically non
>contingous memory returned by malloc. See the comment in obio/if_mc_obio.c
>around line 140.
>
>I can rebuild my own install kernel, as suggest with only two rx DMA buffers.
>I could even try to convert this driver to bus_dma ;-)

The last offer is probably a very good idea.  ;)

>But I primarily wonder if this is a common effect, and wether the install
>kernels should be build with options MC_RXDMABUFS=2 to work around it.

I see the same on my Quadra 840AV - plus it doesn't recognize any Nubus
cards, maybe a problem with memory-mapping Nubus space.

Since there are probably not too many AV machines out there running NetBSD,
the issues look like bit rot. The AV Macs are supported since 1.5 or
earlier.

	hauke


--
"It's never straight up and down"     (DEVO)