Port-amd64 archive

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

RE: Kernel panic on amd64Netbsd 4.0



Thanks Manuel

I can't change to 3 GB as I have 4 x 2Gb ram on this server. I can try with
lesser memory to see if the problem goes away. However is this a memory erro
or the SCSI controller failing..

-----Original Message-----
From: Manuel Bouyer [mailto:bouyer%antioche.eu.org@localhost] 
Sent: Thursday, September 25, 2008 2:59 PM
To: Derrick Lobo
Cc: Port-Amd64@Netbsd. Org; netbsd-users%NetBSD.org@localhost; 
netbsd-help%NetBSD.org@localhost
Subject: 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