RE: Kernel panic on amd64Netbsd 4.0
"Derrick Lobo" <[email protected]> Thu, 25 Sep 2008 15:10:41 -0400
| Newsgroups | gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.general,gmane.os.netbsd.help |
|---|---|
| Message-ID | <037d01c91f42$66fd7900$34f86b00$@com> |
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:[email protected]] Sent: Thursday, September 25, 2008 2:59 PM To: Derrick Lobo Cc: Port-Amd64@Netbsd. Org; [email protected]; [email protected] 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 <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --