Subject: Re: uvm_fault panic on 4.0_BETA2/amd64
To: None <tech-kern@NetBSD.org>
From: Pavel Cahyna <pavel@NetBSD.org>
List: tech-kern
Date: 06/21/2007 11:03:11
On Thu, Jun 21, 2007 at 11:02:16AM +0200, Edgar Fuß wrote:
> EF> uvm_fault(0xffff80004e263b10, 0x10, 2)-> e
> EF> kernel: page fault trap, code=0
> EF> Stopped in pid 8186.1 (tar) at netbsd:dqget+0x118 movq %rdx,0(%rax)
> 
> PC> What is the corresponding source line in the kernel sources?
> Well, that's the MD code (sys/arch/amd64/amd64/trap.c) dropping into DDB
> after the MI code (sys/uvm/uvm_fault.c) returned an error.

I mean, what line corresponds to dqget+0x118.

> PC> Do you have netbsd.gdb from this kernel?
> Yes (or I can build it easily).
> The problem is I don't get a backtrace. Neither from DDB nor gdb.
> The second problem is I don't know anything about UVM.

You'll get the line information by

gdb netbsd.gdb
info line *(dqget+0x118)

> PC> What type of filesystem was this on?
> FFSv2.

Can you try with FFSv1 ?

Pavel