Subject: Re: umass0: no buffer memory
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 09/27/2004 22:40:02
On Mon, Sep 27, 2004 at 05:18:38PM +0100, Patrick Welche wrote:
> In that case I must be blind.. The only workaround I saw was "reboot"
> with the device plugged in so that a contiguous (64k ?) chunk of
> memory can be grabbed (for DMA bounces) immediately before the memory
> becomes fragmented.
> 
> Care to elaborate what workaround you were thinking of?

Use something that will allocate a lot of RAM and free it immediatly
(like a program doing a large malloc() and touching every page then exit, or
creating a big file with dd and immediatly rm'ing it), and then plug in your
device.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--