Subject: Re: BUS-DMA functions
To: None <port-arm32@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-arm32
Date: 02/22/1999 20:03:09
In <199902211832.KAA15801@lestat.nas.nasa.gov>
thorpej@nas.nasa.gov wrote:

> This is due to a bug in the arm32 bus_dma routines.  The Alpha had the
> same problem at one point when I did the original bus_dma work.  Basically,
> if you have KVAs which don't appear in the kernel pmap (such that
> pmap_extract() will return an error), this can happen.  In this case,
> it's probably the kernel text/data segments aren't mapped in the kernel
> pmap.  (The inquiry buffer used by the SCSI code is a static buffer,
> not on the stack or malloc'd.)

> Please try the following patch:

Unfortunately, the patch does not help. The inquiry outputs are
still wrong. I put printf after pmap_extract(), and it seems to
return proper address.

Is this pcscp specific problem? How about isp?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp