NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Kernel panic on amd64Netbsd 4.0



On Wed, Sep 24, 2008 at 05:41:47PM -0400, Derrick Lobo wrote:
> 
> 
> I get the following error once in a while, 
> 
> 
> ahd0:failed to create DMA map for SC data structure, error = 12
> ahd_createdmamem error (2)

12 is ENOMEM. I wonder if it's work better with only 3GB of ram, to avoid
bounce buffers ...


> ahd0:failed to create DMA map for Sense data structure, error = 12
> ahd_createdmamem error (2)
> ahd0:failed to create DMA map for hardware SCB data structure, error = 12
> ahd_createdmamem error (2)
> uvm_fault(0xffffffff80ab3580, 0xffff800058f80000, 2) -> e
> kernel: page fault trap, code=0
> Stopped in pid 9,1 (scsibus0) at   netbsd:ahd_alloc_scbs+0x1ed: repe st
> sq  %es:(%rdi)
> db>

At first look, the ahd error handling looks buggy. It doesn't even try to
cleanup/free what is has already allocated when failing ...

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


Home | Main Index | Thread Index | Old Index