safe0 and kernel panic - solved??

Rajkumar S rajkumars at
Thu Mar 22 07:13:45 UTC 2007

On 3/16/07, Rajkumar S <rajkumars at> wrote:
> safe0 mem 0xf6120000-0xf6121fff irq 5 at device 10.0 on pci0
> safe0: cannot allocate DMA tag


I have managed to track down this issue. The problem was that one
bus_dma_tag_create (at line 300) was failing to create dma tag, and
was returning So I changed the flag from BUS_DMA_ALLOCNOW to
BUS_DMA_COHERENT and the driver was loading and was working.

Now, I have no idea what these two flags mean or the changed I made
are appropriate. Any way I am off to file a PR against safe.c


More information about the freebsd-questions mailing list